lambdamusic / Ontospy

Python library and command-line interface for inspecting and visualizing RDF models aka ontologies.
http://lambdamusic.github.io/Ontospy/
MIT License
219 stars 52 forks source link

owl:ObjectProperty subclass not being found? #118

Open mcc513 opened 1 year ago

mcc513 commented 1 year ago

I am curious why when exploring the brick ontology (https://brickschema.org/schema/1.2.1/Brick.ttl) I am unable to see references to the things defined as entity properties in that ontology. brick:tilt is an example - (https://brickschema.org/ontology/1.2/entity_properties/tilt). I've not tried using the recent alpha release of Ontospy, and also, I'm pretty new to all this so apologies in advance if it is a poorly posed or ill-informed question.

Relevant snippets from the brick turtle file:

brick:EntityProperty a owl:Class ; rdfs:subClassOf owl:ObjectProperty .

brick:tilt a brick:EntityProperty ; rdfs:range brick:TiltShape ; skos:definition "The direction an entity is facing in degrees above the horizon" .

brick:TiltShape a owl:Class, sh:NodeShape ; sh:property [ a sh:PropertyShape ; sh:minCount 1 ; sh:or bsh:NumericValue ; sh:path brick:value ], [ a sh:PropertyShape ; sh:in ( unit:ARCMIN unit:ARCSEC unit:DEG unit:GON unit:GRAD unit:MIL unit:MIN_Angle unit:MicroRAD unit:MilliARCSEC unit:MilliRAD unit:RAD unit:REV ) ; sh:minCount 1 ; sh:path brick:hasUnit ] .