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

VFB ontology content reporting #4

Closed Clare72 closed 3 years ago

Clare72 commented 5 years ago

We need generic report generation scripts for this. These can run off pdb with a very simple wrapper

e.g.

MATCH (n:Neuron:Class)
WITH n OPTIONAL MATCH (n)-[r:has_reference]-(p:pub) 
RETURN count(distinct n), count(distinct p)

=> counts of neurons and pubs curated for them.

dosumis commented 5 years ago

@Clare72 to make subtickets & write code.

Use neo4J labels for restricting terms where possible, e.g. :Neuron. Where these don't exist use Cypher queries or OWLery queries.

e.g. owlery query for subclasses of "'overlaps' some 'nervous system'" -> MATCH (n:Class) WHERE n.iri in [...] WITH n OPTIONAL MATCH (n)-[r:has_reference]-(p:pub) return count(distinct n), count(distinct p)

dosumis commented 5 years ago

@Clare72 - Have assigned to you as should be straightforward given info on this ticket. Let me know if you need help.