Advertisement
LuciaPrieto

Untitled

Jun 22nd, 2018
2,470
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SPARQL 0.53 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 skos: <http://www.w3.org/2004/02/skos/core#>
  4. PREFIX sio: <http://semanticscience.org/resource/>
  5.            
  6. SELECT DISTINCT
  7.     STR(?geneID) AS ?ID
  8.     STR(?score) AS ?score
  9.                
  10. WHERE {
  11.     ?gda sio:SIO_000628 ?gene, <http://linkedlifedata.com/resource/umls/id/%s>;
  12.          sio:SIO_000216 ?scoreIRI .
  13.     ?gene rdf:type ncit:C16612 ;
  14.           dcterms:identifier ?geneID.
  15.     ?scoreIRI sio:SIO_000300 ?score
  16.     }
  17.  
  18. ORDER BY DESC(?score)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement