Comments (6)
Please note that GeoSPARQL 1.1 now contains a better explanation of the Simple Features geometry types classes (https://opengeospatial.github.io/ogc-geosparql/geosparql11/spec.html#_geometry_class_hierarchy) and an annex listing alignments with other ontologies (https://opengeospatial.github.io/ogc-geosparql/geosparql11/spec.html#_annex_e_alignments_informative).
For the classes listed above, I suspect these mapping might be useful:
UNCEFACT Class | Mapping | GeoSPARQL Simple Features Class |
---|---|---|
uncefact:Polygon | owl:equivalentClass | sf:Polygon |
uncefact:LinearRing | owl:equivalentClass | sf:LinearRing |
Assuming that there is nothing really different between a 'Point' and a 'GeographicalPoint' (I don't know UNCEFACT) then:
UNCEFACT Class | Mapping | GeoSPARQL Simple Features Class |
---|---|---|
uncefact:GeographicalPoint | owl:equivalentClass | sf:Point |
uncefact:GeographicalMultiPoint | owl:equivalentClass | sf:MultiPoint |
uncefact:GeographicalLine | owl:equivalentClass | sf:Line |
uncefact:GeographicalMultiCurve | owl:equivalentClass | sf:MultiCurve |
uncefact:GeographicalSurface | owl:equivalentClass | sf:Surface |
uncefact:GeographicalMultiSurface | owl:equivalentClass | sf:MultiSurface |
I can find no mappings for the following
UNCEFACT Class | Mapping | GeoSPARQL Simple Features Class |
---|---|---|
uncefact:GeographicalGrid | ||
uncefact:Circle |
NOTE:* having SF classes in GeoSPARQL doesn't do anything for you. GeoSPARQL functions operate on geometry literals, not RDF classes, so, if you want to calculate intersections with a GeoSPARQL engine, you need to make polygon, point etc literals like this:
:feature-x
geo:hasGeometry [
geo:asWKT "POLYGON ((...))"^^geo:wktLiteral ;
] ;
.
:feature-y
geo:hasGeometry [
geo:asWKT "POINT (...)"^^geo:wktLiteral ;
] ;
.
WKT, GML etc.
from spec-jsonld.
As @nissimsan says, we can only deprecate not delete, eg
uncefact:Circle a rdfs:Class; owl:deprecated true;
skos:scopeNote "Deprecated in favor of OGC GeoSPARQL geometries".
We should also map, eg
uncefact:Polygon a rdfs:Class; owl:deprecated true;
skos:scopeNote "Deprecated in favor of OGC GeoSPARQL geometries";
dct:isReplacedBy sf:Polygon.
The new draft spec is https://opengeospatial.github.io/ogc-geosparql/geosparql11/spec.html and adds serializations GeoJSON, KML, DGGS but it will be some time before implementations pick up.
@nicholascar, @dr-shorthair could you review my prev comments and help with mapping?
from spec-jsonld.
@VladimirAlexiev, we are discussing this on the call now.
It is not the role of this project to interfere with the semantics. However, the two actions we will take are:
- List equivalence vocabularies for overlapping areas.
- Pass back this recommendation to UN modelling teams suggesting removal of this part of the BSP model.
from spec-jsonld.
This is an issue for the UNCEFACT business domains / vocabulary management. I suggest
y
- we start a list of alternative vocabularies (eg schema.org) - not stating preference just listing them
- we feeedback to the business domain that we suggest they may like to deprecate the UN geospatial vocabulary in favour of another.
from spec-jsonld.
@nicholascar, awesome! This is a great format for this NDR section. I love it - thank you!
from spec-jsonld.
@nicholascar , I added a section about this now.
#75
from spec-jsonld.
Related Issues (20)
- Inconsistent Naming with Header Objects, and alignment with the UNCEFACT JSON Schema HOT 2
- Update LOCODE from 2021 to 2022
- Update from 22A to 22B HOT 2
- Missing LOCODE property
- unlocode.jsonld doesn't define prefix `unlcdf` HOT 1
- the two contexts are not used in the ontology; ensure stable URL, updatability, content type
- direct download of uncefact and unlocode jsonld
- use `uncefact` or `unece` consistently HOT 2
- `unlcdv:functions` should be spelled in singular
- update namespace of the uncefact ontology HOT 1
- add owl:Ontology to uncefact and unlocode ontologies
- codelist properties are missing from ontology and list of props
- add jsonld representation of codelists, move them to a sub-namespace HOT 1
- normalize `cefactBusinessProcess`
- overlapping CodeList vs non-codelist properties
- website and ontology are not in sync! HOT 2
- access to test.uncefact.org?
- data props wrongly declared as owl:ObjectProperty HOT 1
- Old codes not included in current release
- json ld validation errors HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spec-jsonld.