Search Mailing List Archives
[bioontology-support] weird query behviour
Helena Deus
helenadeus at gmail.com
Mon May 14 13:50:21 PDT 2012
Hi,
When I run this query through the bioportal sparql endpoint:
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
SELECT *
FROM <http://bioportal.bioontology.org/ontologies/CHEBI>
WHERE {
<http://purl.obolibrary.org/obo/CHEBI_26195> <
http://bioportal.bioontology.org/metadata/def/prefLabel> ?o .
}
I get a single result
o "polyphenol"
But when I run the query like this:
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
SELECT *
FROM <http://bioportal.bioontology.org/ontologies/CHEBI>
WHERE {
?uri <http://bioportal.bioontology.org/metadata/def/prefLabel> "polyphenol"
.
}
Strangely, empty results...
Any help would be greatly appreciated!
Best,
--
Helena F. Deus
Post-Doctoral Researcher at DERI/NUIG
http://lenadeus.info/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/bioontology-support/attachments/20120514/f4d751f0/attachment.html>
More information about the bioontology-support
mailing list