ELFIE

JSON-LD Example Files

Summary

Example instance documents for SELFIE JSON-LD Contexts.

Note that these example documents contain URIs on experimental servers. While they resolved at the time of the SELFIE IE they may not be maintained beyond the end of the experiment.

Example Files

Example FILE Name Comment
landing-resource.jsonld Meta information resource. Linked-feature documents for difference features: [1, 2]
landing-resource.geojson GeoJSON meta information resource. An attempt (see GeoJSON-LD Notes below) at a GeoJSON-LD meta resource document. Essentially a GeoJSON feature with a JSON-LD meta resource document included as the "properties" object. Multiple documents for difference features: [1, 2, 3]
api-meta-resource.geojson OGC API - Features GeoJSON meta/data information resource. Experimental A GeoJSON-LD document massaged to be the data source for a Collection in an OGC API - Features service. These combine all the meta or data resource documents into a single GeoJSON FeatureCollection and add some API required properties (e.g. "fid").
CeRDI_Borehole_MetaResource.jsonld Name-here Description-here
CeRDI_Borehole_DataResource.jsonld Name-here Description-here
CeRDI_DataResource_GW_Well_917937.xml Name-here Description-here
Observation.jsonld Name-here Description-here
ObservationCollection.jsonld Name-here Description-here
Observation_KS.jsonld Name-here Description-here
aquifer121AS01_BRGM_JSONLD.json Name-here Description-here

GeoJSON-LD Notes

These example documents include GeoJSON docs testing the legality of GeoJSON-LD in the context of JSON-LD 1.1 - the assumption being that the nested arrays used by GeoJSON geometries could be handled by a JSON-LD 1.1 parser. The documents are the equivalent JSON-LD document wrapped in the "properties" object in the GeoJSON Feature. E.g. landing-resource.geojson contains landing-resource.jsonld.

Testing with the JSON-LD Playground suggests GeoJSON-LD still isn’t legal. Point geometries could be converted to RDF, but polygons could not.

The idea that a GeoJSON (no -LD) document is a useful transport wrapper for a JSON-LD object still stands - i.e. we can get the content into a browser using GeoJSON and then extract the JSON-LD "properties" object as work with it as RDF document.