VirtualFlyBrain / VFB_reporting

Scripts for reporting on the state of VFB content and pipeline
https://github.com/VirtualFlyBrain/VFB_reporting_results
0 stars 0 forks source link

Report number of formal assertions in ontology to summary report #40

Closed dosumis closed 3 years ago

dosumis commented 3 years ago

Without SubClassOf

MATCH (c:Class)-[r]->(d:Class) where c.short_form =~ 'FBbt.+' and (r.type = 'Related') return count (distinct r)

with SubClassOf:

MATCH (c:Class)-[r]->(d:Class) where c.short_form =~ 'FBbt.+' and ((r.type = 'Related') OR (type(r) = 'SUBCLASSOF')) return count (distinct r)