geo:geoJSONLiteral is the way to store GeoJSON data in RDF.
But YAML is much nicer than JSON: it's a superset of JSON, but also includes much easier to read structures based on identation not punctuation.
I googled "geojson yaml" and surely, I got https://github.com/louh/geoyaml.
YAML-LD was defined as a W3C spec maybe 2-3 years ago, and got some traction.
Then we need datatype ^^geo:geoYAMLLiteral.
But it could use the existing prop geo:asGeoJSON because it's a syntactic variant of the same serialization.
geo:geoJSONLiteralis the way to store GeoJSON data in RDF.But YAML is much nicer than JSON: it's a superset of JSON, but also includes much easier to read structures based on identation not punctuation.
I googled "geojson yaml" and surely, I got https://github.com/louh/geoyaml.
YAML-LD was defined as a W3C spec maybe 2-3 years ago, and got some traction.
Then we need datatype
^^geo:geoYAMLLiteral.But it could use the existing prop
geo:asGeoJSONbecause it's a syntactic variant of the same serialization.