alabarga / biohackathon-jp-2023

biohackathon-jp-2023
GNU General Public License v3.0
0 stars 0 forks source link

Integrate DISGENET #6

Open alabarga opened 1 year ago

alabarga commented 1 year ago

alabarga commented 1 year ago
SELECT DISTINCT ?gene ?icd ?uniprot
FROM <http://rdf.disgenet.org/>
WHERE {
?gda sio:SIO_000628 ?disease,?gene .
?gene  sio:SIO_010078 ?protein .
?protein skos:exactMatch ?uniprot .
?disease rdf:type ncit:C7057 .
filter regex(?disease, "umls/id") .
?gene rdf:type ncit:C16612 .
?disease skos:exactMatch ?icd
filter regex(?gene, "ncbigene") .
filter regex(?icd, "ICD9") .
} LIMIT 20