| | 133 | |
| | 134 | |
| | 135 | |
| | 136 | == Rewritten query with "service" keyword: == |
| | 137 | |
| | 138 | Query 1: |
| | 139 | |
| | 140 | Query 1s: |
| | 141 | |
| | 142 | {{{ |
| | 143 | select ?s1 ?o1 ?o2 |
| | 144 | where{ |
| | 145 | service<http://omim.bio2rdf.org/sparql> |
| | 146 | { |
| | 147 | ?s1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://bio2rdf.org/omim_vocabulary:Gene>. |
| | 148 | ?s1 <http://bio2rdf.org/omim_vocabulary:refers-to> ?o1. |
| | 149 | ?o1 <http://bio2rdf.org/omim_vocabulary:x-snomed> ?o2.} |
| | 150 | |
| | 151 | service<http://pharmgkb.bio2rdf.org/sparql> |
| | 152 | {<http://bio2rdf.org/pharmgkb:PA446359> <http://bio2rdf.org/pharmgkb_vocabulary:x-snomedct> ?o2.} |
| | 153 | } |
| | 154 | |
| | 155 | }}} |
| | 156 | |
| | 157 | |
| | 158 | |
| | 159 | Query 1ss: |
| | 160 | |
| | 161 | |
| | 162 | {{{ |
| | 163 | select ?s1 ?o1 ?o2 |
| | 164 | where{ |
| | 165 | service<http://omim.bio2rdf.org/sparql> |
| | 166 | { |
| | 167 | ?s1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://bio2rdf.org/omim_vocabulary:Gene>. |
| | 168 | ?s1 <http://bio2rdf.org/omim_vocabulary:refers-to> ?o1. |
| | 169 | ?o1 <http://bio2rdf.org/omim_vocabulary:x-snomed> ?o2.} |
| | 170 | |
| | 171 | service<http://pharmgkb.bio2rdf.org/sparql> |
| | 172 | {<http://bio2rdf.org/pharmgkb:PA446359> <http://bio2rdf.org/pharmgkb_vocabulary:x-snomedct> ?o2.} |
| | 173 | |
| | 174 | } |
| | 175 | }}} |