ncbo / bioportal-project

Serves to consolidate (in Zenhub) all public issues in BioPortal
BSD 2-Clause "Simplified" License
7 stars 5 forks source link

Discrepancies in ontology metrics max depth algorithm calculation between owlapi_wrapper and ruby/sparql #299

Open alexskr opened 5 months ago

alexskr commented 5 months ago

max depth calculated by owlapi_wrapper is off by 1 compared to the max depth calculated by ruby/sparql.

Ontology Ruby/sparql owlapi_wrapper
STY 7 8
SNOMEDCT 29 30
NCBITAXON 36 37

We need to make determination which algorithm is correct.

https://github.com/ncbo/ontologies_linked_data/issues/181#issuecomment-1912784166