You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
get_instances: use Owlery for subclass closure, Neo4j for instance match
v1.12.6 swapped the direct-INSTANCEOF Cypher for a call to Owlery's
/instances endpoint, but that endpoint only returns OWL-asserted
instances. VFB stores Individual→Class membership as Neo4j INSTANCEOF
edges rather than OWL ClassAssertion axioms, so Owlery's instance
reasoning had nothing to chew on — parent classes still returned 0
even with the queried-class-IRI input.
Switch to Owlery's /subclasses endpoint (the reasoner still gives us
the OWL-correct subclass closure, including equivalence classes and
defined classes), then match Individuals INSTANCEOF any class in that
set via Neo4j. This is the legacy v2 XMI two-step pattern.
Verified live: FBbt_00100246 (MBON11, leaf) still returns its 14
images; FBbt_00007484 (mushroom body intrinsic neuron, parent) now
gets all instances of Kenyon cell, γ Kenyon cell, etc. (dozens of
images previously visible in SOLR but invisible to the API).
0 commit comments