Skip to content

Remove IRI hijack of GeoSPARQL 'asWKT' #946

Description

@jonathanvajda

The CCO Geospatial Ontology hijacks an IRI that is curated in another namespace.

###  http://www.opengis.net/ont/geosparql#asWKT
<http://www.opengis.net/ont/geosparql#asWKT> rdf:type owl:DatatypeProperty ;
                                             skos:scopeNote "ISO 19162:2015"@en ;
                                             rdfs:label "as WKT"@en ;
                                             skos:definition "A Data Property that has as its range a string formated according to the Well-known text standardization for geometric objects."@en ;
                                             skos:example "Polygon ((10 10, 10 20, 20 20, 20 15, 10 10))" ;
                                             cco:ont00001760 "https://www.commoncoreontologies.org/GeospatialOntology"^^xsd:anyURI .

This IRI is under continued maintenance and copyright by the Open Geospatial Consortium (OGC). Its official ontological specification is documented here:

https://defs.opengis.net/prez/catalogs/ogc-cat:datamodels/col/catalog:geosparql/it1/ns349:geosparql#asWKT

geo:asWKT
    a rdf:Property, owl:DatatypeProperty ;
    rdfs:subPropertyOf geo:hasSerialization ;
    rdfs:isDefinedBy geo: ;
    skos:prefLabel "as WKT"@en ;
    skos:definition "The WKT serialization of a Geometry."@en ;
    rdfs:domain geo:Geometry ;
    rdfs:range geo:wktLiteral ;
.

However, hijacking explicitly not best-practice in ontology development in our community. Morevoer, this specific use of intellectual property goes against the OGC's license. According to the license by the Open Geospatial Consortium (OGC):

If you modify the Intellectual Property, all copies of the modified Intellectual Property must include, in addition to the above copyright notice, a notice that the Intellectual Property includes modifications that have not been approved or adopted by LICENSOR.

Source: https://www.ogc.org/about/policies/document-license-agreement/


Recommended immediate fix:

  • remove http://www.opengis.net/ont/geosparql#asWKT from the Geospatial ontology.
    • see pull request to this effect.
  • create a SPARQL QA check for IRIs that are subjects of semantic statements but not in CCO's namespace. (ignoring dc, dcterms, skos, etc.)
    • see pull request to this effect.
  • add semantic design pattern documentation, recommending reuse of 'as WKT'. E.g.:
graph TD;
    x('Operational Area'<br>IRI: cco:ont00000958) --is subject of<br>IRI: cco:ont00001801 --> y
    y('Information Content Entity'<br>IRI: cco:ont00000958) --as WKT<br>IRI: geosparql:asWKT --> z
    z('POLYGON...'^^xsd:string)
Loading

Potential additional fixes:

  • consider importing GeoSPARQL ontology en toto or as a slim, with a compliant license statement that it includes an unapproved modification, etc., OR coordinate with GeoSPARQL developers about their importing CCO.
  • create new datatype property that captures the semantics, but within CCO's namespace.

This also solves the debates over CCO's third-party use of WKT:

Moreover, it resolves QA errors in CCO's assertion:

  • missing rdfs:domain: <http://www.opengis.net/ont/geosparql#asWKT>
  • missing rdfs:range: <http://www.opengis.net/ont/geosparql#asWKT>

If the above errors were solved by importing the original alongside CCO's as an overlay, then it would create a different QA error, namely:

  • more than one skos:definition: <http://www.opengis.net/ont/geosparql#asWKT>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions