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

make the module ontologies dereferencable to use in owl:imports #4

Open
pmaria opened this issue Feb 21, 2024 · 2 comments
Open

make the module ontologies dereferencable to use in owl:imports #4

pmaria opened this issue Feb 21, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@pmaria
Copy link

pmaria commented Feb 21, 2024

To be able to make concise ontology descriptions and shapes it would be very helpful to be able to import the ontologies of the modules via owl:import statements using the IRI of the module's owl:Ontology resource.

That would mean that if the modules ontology IRI is dererferenced with an rdf accept header, the whole ontology is returned in the corresponding format.

In developing the rml-lv ontology and shapes we run into this need. Currently we're making use of the github.io hosted ttl files:

<http://w3id.org/rml/lv/> a owl:Ontology ;
    # owl:imports <http://w3id.org/rml/core> ; # not dereferencable
    owl:imports <https://kg-construct.github.io/rml-core/ontology/documentation/ontology.ttl> ;
    # owl:imports <http://w3id.org/rml/io/> ; # not dereferencable
    owl:imports <https://kg-construct.github.io/rml-io/ontology/documentation/ontology.ttl> ;
.
@dachafra dachafra added the enhancement New feature or request label Feb 21, 2024
@DylanVanAssche
Copy link
Contributor

Hi!

  1. I wonder why we can't just import by the name prefix http://w3id.org/rml/?
  2. We must not allow confusing by making more 'possible' namespace prefixes, high chances that people will use these ontology ones as @prefix rml <> which will cause incomplete ontologies.

I'm not eager to add content negotiation to the 'main' IRI of each module http://w3id.org/rml/$MODULE.

@pmaria
Copy link
Author

pmaria commented Feb 21, 2024

  1. I wonder why we can't just import by the name prefix http://w3id.org/rml/?

I'm not so sure how that would work, with the module set up.
If an engine supports only specific modules it would be nice to only be able to select those module ontologies. I thought that was the whole idea.

  1. We must not allow confusing by making more 'possible' namespace prefixes, high chances that people will use these ontology ones as @Prefix rml <> which will cause incomplete ontologies.

I am not talking about namespace prefixes, just about ontology resources. These wouldn't have to be shown anywhere except in the ontologies themselves and they are already defined there. So I don't see a problem of misuse.

In any case as a consumer of a certain module I would like to be able to dereference it as a whole via it's ontology URI, instead of having to go look for a link in the specification.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants