Description
The existing methods of extracting of geographical information from schema.org documents does not meet the standards of the SOSO guidelines on describing Spatial Coverage. The beans that do this work are highlighted below. At the moment, it seems like we only support spatialCoverage
sections similar to the following:
"spatialCoverage": {
"@type": "Place",
"geo": {
"@type": "GeoShape",
"box": "-5.5000 -92.6000 1.8000 -74.5000"
}
},
dataone-indexer/src/main/resources/application-context-schema-org.xml
Lines 458 to 577 in 1ad4183
Since we claim to support all of the representations of schema.org outlined in the SOSO guidelines, we need to be able to support a broader range of spatialCoverage
information as outlined in that document. For example, the following is a valid representation from a dataset with a point location, which I think should also be fairly straightforward to support:
"spatialCoverage": {
"@type": "Place",
"name": "BioBasis Nuuk - Monitoring lakes",
"geo": {
"@type": "GeoCoordinates",
"latitude": "64.13",
"longitude": "-51.38",
"name": "BioBasis Nuuk - Monitoring lakes"
},
"additionalProperty": {
"@type": [ "PropertyValue", "http://www.wikidata.org/entity/Q4018860" ],
"name": "WKT",
"value": "POINT (-51.38 64.13)",
"valueReference": [
{
"@type": [ "PropertyValue", "http://www.wikidata.org/entity/Q31385480" ],
"name": "datatype",
"value": "http://www.opengis.net/ont/geosparql#wktLiteral"
},
{
"@type": [ "PropertyValue", "http://www.wikidata.org/entity/Q161779" ],
"name": "SRS",
"alternateName": "Spatial Reference System",
"value": "http://www.opengis.net/def/crs/EPSG/0/4326"
}
]
}
},
I have no experience with SPARQL apart from looking through the resource document referenced above so would be coming at this from square zero...if someone else has some idea of what they're doing, I would appreciate some guidance :)