VirtualFlyBrain / geppetto-vfb

VFB (v2) application
https://v2.VirtualFlyBrain.org
Other
3 stars 1 forks source link

Query for neurons in a tract is missing #47

Closed dosumis closed 6 years ago

dosumis commented 7 years ago

Works in VFB 1.5 . OWL query is straightforward. No fancy NEO queries needed.

dosumis commented 7 years ago

should run from Tract:Class

Robbie1977 commented 6 years ago

Tract missing form production neodb

dosumis commented 6 years ago

Name = 'Neuron_projection_bundle'. This is present in Neo4J prod. Switching query to run from these should fix this ticket.

Robbie1977 commented 6 years ago

Investigation so far:

Query is in place https://github.com/VirtualFlyBrain/VFB2/blob/alpha/html/conf/vfb.xmi#L306 with matching criteria of @libraries.3/@types.1 = Class and @libraries.3/@types.3 = Neuron_projection_bundle This matches the labels in current test production DB

{
              "iri": "http://purl.obolibrary.org/obo/FBbt_00007426",
              "annotation-id": [
                "FBbt:00007426"
              ],
              "has_children": true,
              "ontology_prefix": "VFB",
              "description": [
                "A tract of the central nervous system that does not cross the midline."
              ],
              "annotation-has_obo_namespace": [
                "fly_anatomy.ontology"
              ],
              "label": "ipsilateral tract",
              "is_defining_ontology": false,
              "is_root": false,
              "is_obsolete": false,
              "ontology_name": "vfb",
              "annotation-creation_date": [
                "2010-03-10T11:43:43Z"
              ],
              "short_form": "FBbt_00007426",
              "ontology_iri": "http://purl.obolibrary.org/obo/fbbt/vfb/vfb.owl",
              "obo_id": "FBbt:00007426",
              "obo_xref": [
                "{\"database\":\"VFB\",\"id\":\"FBbt_00007426\",\"description\":null,\"url\":null}"
              ],
              "annotation-database_cross_reference": [
                "VFB:FBbt_00007426"
              ],
              "obo_definition_citation": [
                "{\"definition\":\"A tract of the central nervous system that does not cross the midline.\",\"oboXrefs\":[{\"database\":\"FBC\",\"id\":\"DOS\",\"description\":null,\"url\":null}]}"
              ],
              "olsId": "vfb:http://purl.obolibrary.org/obo/FBbt_00007426",
              "annotation-created_by": [
                "djs93"
              ]
            }

With AberOWL returning a large result list for query

Building a debug test server to step through to figure out why the query is not associated.

Robbie1977 commented 6 years ago

Tested on examples wrong xmi being run - interrelationship simplified