| 1 |
# http://www.w3.org/2009/sparql/docs/fed/service |
| 2 |
# Revision 1.13 2010/08/06 12:06:52 aseaborne |
| 3 |
# Section 3 |
| 4 |
|
| 5 |
PREFIX entrez: <http://entrez.example/ns#> |
| 6 |
PREFIX med: <http://med.example/testDrug#> |
| 7 |
PREFIX study: <http://study.example/affects#> |
| 8 |
|
| 9 |
SELECT ?med ?species ?iuphar |
| 10 |
WHERE { |
| 11 |
?study entrez:id ?id . |
| 12 |
?study study:species ?species . |
| 13 |
?study med:ication ?med . |
| 14 |
?study study:change ?change . |
| 15 |
FILTER (?change < -.2) |
| 16 |
} VALUES ( ?species ?iuphar ?id ) { |
| 17 |
("human" "GABBR1" "2550") |
| 18 |
("human" "GABBR2" "9568") |
| 19 |
} |