SciGraph / golr-loader

Convert SciGraph queries into json that can be loaded by Golr
Apache License 2.0
1 stars 3 forks source link

Orphanet disease-phenotype associations not loading into Golr? #7

Closed cmungall closed 5 years ago

cmungall commented 9 years ago

From: monarch-initiative/hpo-annotation-data#3

Solr has no results:

http://geoffrey.crbs.ucsd.edu:8080/solr/golr/select/?q=*:*&fq=object_category:phenotype&fq=subject:%22Orphanet:881%22&rows=10&facet=true&facet.field=object_category&facet.field=subject_category&wt=json

But the data is in SciGraph:

http://rosie.crbs.ucsd.edu:9000/scigraph/dynamic/diseases/Orphanet:881/phenotypes.json

However, I noticed the Orphanet node lacks a category (should be disease) - is this the cause?

cc @mellybelly

ccondit commented 9 years ago

@cmungall - yes. The query to load this Golr index is expecting that the subject has category 'disease' (either rdf:type or rdfs:subClassOf* of disease).

cmungall commented 9 years ago

How do we fix this? AFAICT it's a transitive subclass of disease on monarch.owl and SG

ccondit commented 9 years ago

Strange. I don't see that here: http://rosie.crbs.ucsd.edu:9000/scigraph/graph/neighbors/Orphanet:881.json?relationshipType=subClassOf

and I don't see this individual in monarch.owl.

Is http://www.orpha.net/ORDO/Orphanet_881 the expected IRI?

cmungall commented 9 years ago

You're right. The issue here is that the Orphanet class is only linked into the mondo hierarchy through a non-logical dbxref. I will propose a separate solution.

kshefchek commented 5 years ago

Seems this works now https://monarchinitiative.org/disease/ORPHA:881 we likely just forgot to close