egonw / biomarkers

Biomarker collection.
2 stars 4 forks source link

Are these associations ok? #8

Open josienlandman opened 5 years ago

josienlandman commented 5 years ago

Blazegraph skips my association number 88, 89 and 93. The omim number and wd are correct so I don't know why they are not in my query list.

wd:Q422488 a chebi:25367 ; rdfs:label "2'-deoxyguanosine" . 
:assoc88 a association: ; refersTo: chapter41:, wd:Q422488, omim:613179 . 

wd:Q27071895 a chebi:25367 ; rdfs:label "2'-deoxyinosine" .
:assoc89 a association: ; refersTo: chapter41:, wd:Q27071895, omim:613179 .

wd:Q105522 a chebi:25367 ; rdfs:label "uric acid" . 
:assoc90 a association: ; refersTo: chapter41:, wd:Q105522, omim:311850 . 
:assoc91 a association: ; refersTo: chapter41:, wd:Q105522, omim:300661 .
:assoc92 a association: ; refersTo: chapter41:, wd:Q105522, omim:103050 . 
:assoc93 a association: ; refersTo: chapter41:, wd:Q105522, omim:613179 .
:assoc94 a association: ; refersTo: chapter41:, wd:Q105522, omim:278300 .
egonw commented 5 years ago

What does your SPARQL query look like?

josienlandman commented 5 years ago

prefix : http://egonw.github.com/biomarkers/blau/ prefix wd: http://www.wikidata.org/entity/ prefix umls: http://bioportal.bioontology.org/ontologies/umls/ prefix rdfs: http://www.w3.org/2000/01/rdf-schema# prefix omim: http://bio2rdf.org/omim: prefix doi: http://dx.doi.org/ prefix cito: http://purl.org/spar/cito/ prefix void: http://rdfs.org/ns/void# prefix dcterms: http://purl.org/dc/terms/ prefix chebi: http://purl.obolibrary.org/obo/CHEBI_ prefix ncit: http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl# prefix association: http://semanticscience.org/resource/SIO_000993 prefix refersTo: http://semanticscience.or/resource/SIO_000628 prefix wp: http://vocabularies.wikipahtways.org/wp#

SELECT ?assoc ?disease ?name WHERE { ?assoc a association: ; refersTo: ?disease . ?disease a ncit:C7057 ; rdfs:label ?name .

}

ORDER BY ?assoc

egonw commented 5 years ago

I did not spot it the first time around either, but your SPARQL confirmed my suspicion... the three fails all referred to the same disease... so, something must be wrong with your triples for the disease, which you, as confirmed by the SPARQL, also ask for in your query... and only then did I see the typo: https://github.com/egonw/biomarkers/blob/master/josien.ttl#L281

:)

josienlandman commented 5 years ago

Thanks! I corrected it :)