Hi!
So I'm a bit confused about this.
For instance, I have an entity that I get as follows:
onto = load_ontology(local_ontology_file)
entity = onto.search_one(iri="
http://semanticscience.org/resource/SIO_000015")
This entity has a related synonym called "information artifact", I can get this by running:
print(entity.hasRelatedSynonym)
Which returns:
['information artifact']
"information artifact" has an annotation called alternate name with the string "information artifacts". So I try to pattern off of what you indicated:
with onto:
class hasRelatedSynonym(AnnotationProperty): pass
class alternateName(AnnotationProperty): pass
print(alternateName[entity, hasRelatedSynonym, "information artifact"])
But this gives me an empty array?
Thanks so much for your help so far!