Closed OR13 closed 2 years ago
There's insufficient context to base construction of such JSON-LD snippets on. "examples related to GeoSPARQL" could mean almost anything! Before examples related to GeoSPARQL (a query language; a relatively small extension of SPARQL), there should be something related to GeoData, which would give GeoSPARQL something to operate against...
A plausible scenario might be a wish to SELECT
all locations at which a given shipping container had been observed as present, including the datetime of such observation, which would not necessarily represent a complete trace of the container's path (as there almost certainly must be gaps between observations), etc. The specifics of the query would largely depend on the specifics of the data.
yep! I tried to weave all this stuff together a while ago with:
https://jsld.org/case-study-agriculture-futures
Mixing a couple different ontologies, along with some of the features that are available if you build on top of JSON-LD.
I guess a better way of framing my initial question would be:
How can we use GeoData to make SPARQL queries over traceability VCs more familiar.
@mprorock to add comments regarding this, has strong opinions.
Lets try and compare with existing terms like lat / long and PostalAddress.
The primary value of geosparql is in its concept of a Feature vs a Geometry. That allows for the creation of places without committing to a physical location (eg: The #brewHouse in #152) or having multiple physical locations over time.
I have a service that makes use of this for container tracking. As they get (un)loaded from trailers, carriers and ships, you can reuse the geometry waypoints for both container and carrier. This gives you both ontology consistency and ease of querying.
@mprorock I believe you made a verbal proposal on the last call, can you recommend a path forward?
Perhaps we can add an example to the issue?
@OR13 update the description with a hypothetical user story, and additional context.
I updated the description.
GeoSPARQL and GeoRDF or other GeoData are no different from any other sort of data or query. It's typically best to retain as much information as possible, rendering querying possible at any complexity — or simplicity! — that may arise.
(Historically, I would expect paper documents to have more information than has been stored in DBMS, because of historical difficulties in altering schema structures, as well as historical costs of electronic storage, among other things. Shifting to RDF data allows for much more flexibility, even as storage and query-compute cycles continue to get cheaper.)
I would expect to receive important provenance information (regardless of the ontologies used therein) in VCs.
I would expect to store the data that arrived in those VCs in a quad store, using named graphs to also enable storage of the provenance information — making both the provenance data from within the VCs and the data about the VCs themselves queryable.
I might also retain the VCs themselves in an object store, whether that be a filesystem or a DBMS or otherwise, for later reference and/or proofs of assertions or inferences I may make based on the data in or about those VCs.
The advantage of retaining the VC and having it use a representation that is compatible with GeoRDF is that you can answer some questions about why you believe a particular conclusion from a reasoner... even if you don't use a semantic reasoner, but instead pull that geo location geometry into geo JSON, etc...
What benefit does VCs bring to life that did not exist previously... how are other ways of expressing geo data better for more compute friendly.
expressing in 1 form, doesn't mean it can't be expressed in other forms.
sometimes we want geo datat, sometimes we want street address.
proposal is to add an example that is not a postal address.
Find all sources of resource X within radius Y of spot.
telecom use cases, tower locations, agriculture examples, would be nice to see location expressed in different ways.
discussion on call - will keep open, and will revisit as use cases drive need for new objects
qb:dimension
).
@nikolatulechki can you add a link?I suggest we switch from PostalAddress to Place, and add some tests for sparql perhapse.
No activity, and we have a good representation of handling this with schema.org place RDF+. Closing.
We want to develop a set of user stories which can help shape the argument for compatibility with GeoSparql...
On the call today, we heard that VCs might get added to RDF data sets where GEO Sparql might be useful for answering questions like:
Its possible that such information might not be stored in the VC, and instead, we might aggregate multiple VCs to make such information queryable.
We might also decide to pull that location data into other systems, that are not GEO Sparql related.