cmungall / obo-shapes

Experiments using RDF shapes to constrain the structure of ontologies
0 stars 0 forks source link

fixes #1 but in an IMHO ugly way #3

Open cmungall opened 5 years ago

cmungall commented 5 years ago
# base class.
:OboEntity {
  $:OboEntityCommon (
    rdfs:label Literal ;  ## want to restrict this to xsd:string OR plain literal
    rdfs:comment Literal {0,1} ;
  )
}

:OboClass CLOSED {
  &:OboEntityCommon ;
  rdf:type [owl:Class] ;
  rdfs:subClassOf @:OboClass* ;
}

not ideal, it hides the inheritance structure, and difficulty to extend