-
Notifications
You must be signed in to change notification settings - Fork 9
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
osdu:bbox is not properly defined #4
Comments
Thanks for the catch on this important issue. This has been corrected in our latest commit of the ontology. osdu:bbox is renamed to osdu:hasBBox now has a range of an object named osdu:BBox. osdu:BBox may use the property osdu:hasPoint with range osdu:Point, which may use the properties osdu:hasValue for unordered value arrays, or osdu:xCoordinate and osdu:yCoordinate for specified coordinate values. |
Is this really fixed?
More to the point: isn't it best to use the GeoSPARQL standard (#5), which is supported by most semantic repositories? |
Correct, osdu:hasPoint will return the defining Points of the bbox in an arbitrary order. Each Point object, in order to correctly specify its ordered 2D coordinates, can use osdu:xCoordinate and osdu:yCoordinate. osdu:hasValue does not have to be used with a Point object, and is likely often not the correct property to use there, but if a user would like to specify a Point object with 1 dimension, osdu:hasValue could be appropriate there. We are looking into integrating the GeoSPARQL standard that you suggested, but as we were primarily focusing on directly supporting the existing OSDU schema structure, the GeoSPARQL standard may not be completely applicable. |
A bounding box is a structure of 2 points or 4 numbers.
But it is defined as a single number:
Then it is used like this:
So in instance data you may have this:
But RDF multivalued properties don't keep order between the values. So if you try to fetch it with SPARQL:
The text was updated successfully, but these errors were encountered: