Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

primary term query is slower than necessary because un-indexed #333

Closed
dosumis opened this issue Jun 25, 2019 · 0 comments
Closed

primary term query is slower than necessary because un-indexed #333

dosumis opened this issue Jun 25, 2019 · 0 comments

Comments

@dosumis
Copy link
Member

dosumis commented Jun 25, 2019

  1. Add Entity label to all classes and Individuals: https://github.com/VirtualFlyBrain/VFB_neo4j/pull/108/files

  2. Change XMI query to restrict to Entities (step 1 is dependency)

https://github.com/VirtualFlyBrain/geppetto-vfb/blob/vfb_geppetto_application/model/vfb.xmi#L362

name="Get term core info"

MATCH (primary {short_form: '$ID'}) 
RETURN { core: { short_form: primary.short_form, 
label: primary.label, iri: primary.iri, types: labels(primary) }} AS term

=>

MATCH (primary:Entity {short_form: '$ID'}) 
RETURN { core: { short_form: primary.short_form, 
label: primary.label, iri: primary.iri, types: labels(primary) }} AS term
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant