Skip to content

geosparql:asWKT usage (was "Make Geospatial Position a subclass of geosparql:Geometry") #760

@dr-shorthair

Description

@dr-shorthair

Line 189 of the GeospatialOntology module (TTL serialization) adds geosparql:asWKT.
But there are no axioms bringing it into use in the context of any of the CCO GeospatialOntology classes.

Meanwhile, over in GeoSPARQL the axiomaization of geosparql:asWKT links it directly to the class geosparql:Geometry:

geosparql:asWKT
	a rdf:Property, owl:DatatypeProperty ;
	rdfs:subPropertyOf geosparql:hasSerialization ;
	rdfs:domain geosparql:Geometry ;
	rdfs:range geosparql:wktLiteral ;
.

The global domain constraint means that any use of geosparql:asWKT entails that the subject is a geosparql:Geometry.
For consistency, I suggest that the following subclass axiom should be introduced on cco:ont00000373 (Geospatial Position):

<http://www.ontologyrepository.com/CommonCoreOntologies/ont00000373> 
    rdfs:label "Geospatial Position"@en ;
    rdfs:subClassOf <http://www.opengis.net/ont/geosparql#Geometry> ; 
    rdfs:comment "When coordinates are provided using a Literal this *must* be a POINT" ;
    .

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