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

Complex domains are not interpreted correctly #72

Closed jo-tud closed 5 years ago

jo-tud commented 7 years ago

When a domain is a union it is not interpreted correctly. Therefore, properties for owl:Thing are shown (see http://ethon.consensys.net/prop-blockdifficulty.html)

    rdfs:domain [ a owl:Class ;
            owl:unionOf ( :Block :Uncle ) ] ;
lambdamusic commented 6 years ago

Very good point, thanks for raising that (btw nice website!)

lambdamusic commented 6 years ago

The error has been fixed with v1.1.2.

Just upgrade ontospy/ontodocs:

pip install ontodocs -U
jo-tud commented 6 years ago

Thanks! However, now I get Blank node (see implementation). See http://ethon.consensys.net/prop-blockdifficulty.html But it should show :Block and :Uncle as domains.

Ontodocs is great!

ThemisB commented 6 years ago

Is there any update on this issue?