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

export to TTL adds classes and labels to the ontology #168

Open
2 tasks
javadch opened this issue Apr 2, 2020 · 0 comments
Open
2 tasks

export to TTL adds classes and labels to the ontology #168

javadch opened this issue Apr 2, 2020 · 0 comments

Comments

@javadch
Copy link

javadch commented Apr 2, 2020

I upload and visualize an ontology that only contains the following:
:Observer rdf:type owl:Class;
rdfs:comment "An agent that can observe an observation"@en ;
rdfs:label "Observer"@IRI-based;
rdfs:label "Observer"@en .

:observes rdf:type owl:ObjectProperty ;
rdfs:comment "The observes property gives the observations that have been observed by an observer." ;
rdfs:label "observes"@IRI-based;
rdfs:label "observes"@en;
rdfs:domain :Observer;
rdfs:range oboe:Observation .

Then I export it to TTL without any other modification. It generates the following output:

:observes rdf:type owl:ObjectProperty ;
rdfs:comment "The observes property gives the observation that has been observed by an observer." ;
rdfs:label "observes"@IRI-based;
rdfs:label "observes"@iri-based;
rdfs:label "observes"@en;
rdfs:domain :Observer;
rdfs:range oboe:Observation .

oboe:Observation rdf:type owl:Class;
rdfs:label "Observation"@IRI-based .

:Observer rdf:type owl:Class;
rdfs:comment "An agent that can observe an observation" ;
rdfs:label "Observer"@IRI-based;
rdfs:label "Observer"@iri-based;
rdfs:label "Observer"@en .

Here:

  • the oboe:Observation class statement must not be created. It is neither defined in the original ontology nor needed to be there.
  • It generates an additional @IRI-based label for existing classes and properties. The existence of @IRI-based or @iri-based does not affect this behavior. However, it generates only @IRI-based for oboe:Observation (that was not supposed to be in the ontology at first place.)
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