@@ -8,42 +8,42 @@ PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
88PREFIX bao: <http://www.bioassayontology.org/bao#BAO_>
99PREFIX ncit: <http://purl.obolibrary.org/obo/NCIT_>
1010PREFIX upcore: <http://purl.uniprot.org/core/>
11- PREFIX ro : <http ://purl.obolibrary. org/obo/RO_ >
11+ PREFIX blv : <https ://w3id. org/biolink/vocab/ >
1212PREFIX sio: <http://semanticscience.org/resource/SIO_>
1313PREFIX dc: <http://purl.org/dc/terms/>
1414PREFIX obo: <http://purl.obolibrary.org/obo/>
1515PREFIX edam: <http://edamontology.org/>
16-
16+
1717SELECT DISTINCT ?compoundLabel ?pubchemURI
1818WHERE {
1919 # Perturbagen
2020 ?pert rdf:type bao:0003059 ;
2121 dc:source " LINCS_P100" ;
2222 obo:has_dbxref ?pubchemURI .
23-
23+
2424 # Compound
2525 ?comp rdf:type ncit:C43366 ;
2626 dc:source " DDKG_LINCS" ;
2727 rdfs:label ?compoundLabel .
2828 optional {
29- ?comp rdfs:seeAlso ?pubchemURI .
29+ ?comp blv:exact_match ?pubchemURI .
3030 }
31-
31+
3232 # Relationship: Compound -> Gene
33- { ?comp ro:0002213 ?kgene . } # POSITIVELY_REGULATES
33+ { ?comp blv:process_positively_regulates_process ?kgene . }
3434 UNION
35- { ?comp ro:0002212 ?kgene . } # NEGATIVELY_REGULATES
36-
35+ { ?comp blv:entity_negatively_regulates_entity ?kgene . }
36+
3737 # Gene
3838 ?kgene rdf:type upcore:Gene.
39-
39+
4040 # Relationship: Gene -> Protein(IS_PROTEIN)
4141 ?kgene sio:010078 ?pr .
42-
42+
4343 # Protein
4444 ?pr rdf:type upcore:Protein ;
4545 edam:data_1011 ?ecNumber .
46-
46+
4747 FILTER regex(?ecNumber , " (^|;)2\\.7[^;]*" )
4848}
4949ORDER BY ?compoundLabel ?pubchemURI
0 commit comments