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

WebProtege seems to parse some turtle files as OBO files #62

Closed
matthewhorridge opened this issue Oct 10, 2013 · 1 comment
Closed

WebProtege seems to parse some turtle files as OBO files #62

matthewhorridge opened this issue Oct 10, 2013 · 1 comment
Assignees
Labels
Type: Bug Indicates that WebProtege is not working as expected
Milestone

Comments

@matthewhorridge
Copy link
Contributor

The ontology below gets parsed as an OBO file when it's clearly a turtle file.


# baseURI: http://www.modelservers.org/public/ontologies/typical.ttl
# imports: http://www.modelservers.org/public/ontologies/cmo.ttl

@prefix :        <http://www.modelservers.org/public/ontologies/typical.ttl#> .
@prefix cmo:     <http://www.modelservers.org/public/ontologies/cmo.ttl#> .
@prefix dcterms:  <http://purl.org/dc/terms#> .
@prefix owl:     <http://www.w3.org/2002/07/owl#> .
@prefix qudt-quantity:  <http://qudt.org/vocab/quantity#> .
@prefix rdf:     <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs:    <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xml:     <http://www.w3.org/XML/1998/namespace> .
@prefix xsd:     <http://www.w3.org/2001/XMLSchema#> .

<http://www.modelservers.org/public/ontologies/typical.ttl>
      rdf:type owl:Ontology ;
      owl:imports <http://www.modelservers.org/public/ontologies/cmo.ttl> .

:Car  rdf:type owl:Class .

:NAVSIS123
      rdf:type :NavigationSystem .

:NavigationSystem
      rdf:type rdfs:Class ;
      rdfs:subClassOf owl:Thing .

:TypicalProperty_1
      rdf:type cmo:TypicalProperty ;
      cmo:forClass :Car ;
      cmo:typicalProperty :amountOfDoors .

:TypicalProperty_2
      rdf:type cmo:TypicalProperty ;
      cmo:forClass :Car ;
      cmo:typicalProperty :hasNavigationSystem .

:TypicalValue_1
      rdf:type cmo:TypicalValue ;
      cmo:forClass :Car ;
      cmo:forProperty :width ;
      cmo:typicalValue "1.84"^^xsd:float .

:TypicalValue_2
      rdf:type cmo:TypicalValue ;
      cmo:forClass :Car ;
      cmo:forProperty :hasNavigationSystem ;
      cmo:typicalValue :NAVSIS123 .

:amountOfDoors
      rdf:type owl:DatatypeProperty ;
      rdfs:range xsd:integer .

:hasNavigationSystem
      rdf:type owl:ObjectProperty ;
      rdfs:range :NavigationSystem ;
      rdfs:subPropertyOf dcterms:hasPart .

:width
      rdf:type owl:DatatypeProperty ;
      rdfs:range xsd:float .
@ghost ghost assigned matthewhorridge Oct 10, 2013
@matthewhorridge
Copy link
Contributor Author

Verified that this is indeed the problem. The OBO parser doesn't throw any exceptions when parsing this document.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Indicates that WebProtege is not working as expected
Projects
None yet
Development

No branches or pull requests

1 participant