Skip to content
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

geo.ttl should not use the empty prefix #509

Open
VladimirAlexiev opened this issue Mar 5, 2024 · 0 comments
Open

geo.ttl should not use the empty prefix #509

VladimirAlexiev opened this issue Mar 5, 2024 · 0 comments

Comments

@VladimirAlexiev
Copy link

VladimirAlexiev commented Mar 5, 2024

geo.ttl:

PREFIX : <http://www.opengis.net/ont/geosparql#>

However, the spec and other turtle files use the prefix geo: for this.

Using an empty prefix is IMHO a bad practice (started as early as SKOS) since:

  • It sets a bad example: there's only one empty prefix, so clients cannot use empty prefix in their own data
  • Semantic repositories often use prefixes defined in ingested files as "namespaces" to be used in prefix autocompletion in SPARQL. But you would not want GeoSPARQL to be associated with :
  • It makes search in the ontology file harder. In fact this issue was mis-described as "geo:SpatialObject is not defined in geo.ttl or any of the other ontologies" because of this problem.

In addition, GeoSPARQL should declare its namespace using VANN:

<http://www.opengis.net/ont/geosparql> 
  a owl:Ontology ;
  vann:preferredNamespacePrefix  "geo" ;
  vann:preferredNamespaceUri     "http://www.opengis.net/ont/geosparql#" ;
@VladimirAlexiev VladimirAlexiev changed the title 1.1: geo:SpatialObject is not in ontology geo.ttl should not use the empty prefix Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant