Advertisement
LuciaPrieto

Untitled

Jun 22nd, 2018
2,932
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SPARQL 0.68 KB | None | 0 0
  1. PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
  2. PREFIX dcterms: <http://purl.org/dc/terms/>
  3. PREFIX sio: <http://semanticscience.org/resource/>
  4.            
  5. SELECT DISTINCT
  6.     STR(?geneName) AS ?name
  7.     STR(?geneSymbol) AS ?symbol
  8.     STR(?dsi) AS ?dsi
  9.     STR(?dpi) AS ?dpi
  10. WHERE {
  11.     <http://identifiers.org/ncbigene/%s> dcterms:title ?geneName;
  12.                                          sio:SIO_000205 ?geneSymbolIRI;
  13.                                          sio:SIO_000216 ?dsiIRI, ?dpiIRI.
  14.     ?geneSymbolIRI dcterms:title ?geneSymbol.
  15.     ?dsiIRI a sio:SIO_001351 ;
  16.               sio:SIO_000300 ?dsi .
  17.     ?dpiIRI a sio:SIO_001352 ;
  18.               sio:SIO_000300 ?dpi}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement