Giter Club home page Giter Club logo

Comments (6)

nicholascar avatar nicholascar commented on July 28, 2024 1

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.

VladimirAlexiev avatar VladimirAlexiev commented on July 28, 2024

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.

nissimsan avatar nissimsan commented on July 28, 2024

@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.

onthebreeze avatar onthebreeze commented on July 28, 2024

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.

nissimsan avatar nissimsan commented on July 28, 2024

@nicholascar, awesome! This is a great format for this NDR section. I love it - thank you!

from spec-jsonld.

nissimsan avatar nissimsan commented on July 28, 2024

@nicholascar , I added a section about this now.
#75

from spec-jsonld.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.