RDFLib / pyLODE

An OWL ontology documentation tool using Python and templating, based on LODE
BSD 3-Clause "New" or "Revised" License
169 stars 70 forks source link

owl:FunctionalProperty is ignored #146

Closed GordianDziwis closed 3 years ago

GordianDziwis commented 3 years ago

With this example:

@prefix ex:    <http://base.namespace.com#> .
@prefix owl:   <http://www.w3.org/2002/07/owl#> .
@prefix rdfs:  <http://www.w3.org/2000/01/rdf-schema#> .

ex:hasHusband  a    owl:FunctionalProperty , owl:ObjectProperty ;
        rdfs:label  "has husband" .

Pylode renders ex:hasHusband as an object porperty and not as an functional property.

FPs are a subclass from OPs, so maybe pylode sees owl:ObjectProperty and stops there.