-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use GeoSPARQL (WKT, GML) for geometries #3
Comments
Hi There are several aspects to this.. and its a topic we should discuss further and decide how to future proof our solution. If we have CityJSON and we want to map it to a common model to make it explicit how it relates to any other information, we have several choices:
The challenge here is that the expressivity of JSON-LD as a mapping is insufficient to general complex microformats embedded in RDF - like WKT. So in general we have a "semantic uplift" to an intermediate ontology, which can then be mapped with another standard (SHACL) to a target ontology. Note that a future version of GeoSPARQL will probably define the granular entries needed, and entailment rules and functions to convert to and from other microformats - WKT, GML - and possibly the GeoJSON JSON schema - but will be unlikely to directly support CityGML's approach to vertex topology. Note this is not intended as a run-time capability - but a way to specify the actual semantic mapping in a way which can be tested. We expect to be able to test multiple approaches, and demonstrate equivalence - i.e. multiple input schemas or variations, and multiple mapping languages or software tools - and the goal of this repository is to test, demonstrate and share the resources necessary to validate appropriate profiles (subsets which we want to map to a target). The CHEK profiles will be profiles of various sources to extract information needed to process validation rules. Sources could be CityJSON, INSPIRE, IFC etc and mappings will be partial, extensible and testable. |
@rob-metalinkage I'm looking at this from a practical point of view: for geometries in semantic data to be workable, they have to be GeoSPARQL literals.
Hmm, seems to me such conversion will be difficult. |
@avillar @rob-metalinkage @peterrdf (and cc @nataschake)
I'll split this topic from #1 since it's crucial.
https://github.com/ogcincubator/chek-profiles/blob/master/cityjson/twobuildings.city.ttl shows geometries converted to triples (down to individual vertices and individual coordinates).
geo:asGML "..."^^geo:gmlLiteral
geo:asGeoJSON "..."^^geo:geoJSONLiteral
sf:Within
).Looking at https://dataset-dl.liris.cnrs.fr/rdf-owl-urban-data-ontologies/Ontologies/CityGML/3.0/core,
I think that CityGML ties up into GeoSPARQL geometries, eg
shows that
gmlowl:AbstractGeometry rdfs:subClassOf geo:Geometry
(http://www.opengis.net/ont/geosparql#Geometry)
Cheers!
The text was updated successfully, but these errors were encountered: