Re: Get annotations on standard annotations
Posted by Jiba on
URL: http://owlready.306.s1.nabble.com/Get-annotations-on-standard-annotations-tp2989p3014.html
Hello,
Standard annotations, like OWL classes such as Thing, are treated specially in Owlready and they are common to all world. As a consequence, they are not associated with a quadstore and you cannot read your "visible" annotation.
The only solution is to bypass Owlready, e.g. using SPARQL as follows:
print(list(default_world.sparql("""SELECT ?x { ?? onto:visible ?x }""", [label]))[0])
Jiba