Skip to content

Commit f08726d

Browse files
authored
Add Rhea prefix and constraint to SPARQL query
1 parent bf96154 commit f08726d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

fetch_rhea.rq

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
#+ endpoint: https://sparql.rhea-db.org/sparql
22
PREFIX chebi: <http://purl.obolibrary.org/obo/chebi/>
3+
PREFIX rh: <http://rdf.rhea-db.org/>
34

45
SELECT DISTINCT ?chem ?smiles ?db
56
WHERE {
7+
[] rh:chebi ?chebi .
68
?chem chebi:smiles ?smiles .
79
BIND("Rhea" AS ?db)
810
}

0 commit comments

Comments
 (0)