File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Find all proteins linked to arachidonate (CHEBI:32395)
2+ # Datasources: https://sparql.uniprot.org/sparql https://sparql.rhea-db.org/sparql
3+
4+ PREFIX CHEBI: <http://purl.obolibrary.org/obo/CHEBI_>
5+ PREFIX rh: <http://rdf.rhea-db.org/>
6+ PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
7+ PREFIX up: <http://purl.uniprot.org/core/>
8+
9+
10+ SELECT
11+ DISTINCT
12+ ?uniprot
13+ ?uniprotID
14+ ?recname
15+ ?gene
16+ ?chebi
17+ ?uniprotName
18+ WHERE {
19+ # SERVICE <https://sparql.rhea-db.org/sparql> {
20+ VALUES (?chebi ) { (CHEBI:32395) }
21+ ?rhea rh:side/rh:contains/rh:compound ?compound .
22+ ?compound rh:chebi ?chebi .
23+ ?chebi up:name ?uniprotName .
24+ # }
25+ ?uniprot up:annotation/up:catalyticActivity/up:catalyzedReaction ?rhea .
26+ ?uniprot up:mnemonic ?uniprotID .
27+ ?uniprot up:recommendedName/up:fullName ?recname .
28+ OPTIONAL {?uniprot up:encodedBy/skos:prefLabel ?gene .}
29+ }
Original file line number Diff line number Diff line change 1+ # Select all Rhea reactions linked to protein sequences (enzymes and transporters) in UniProtKB
2+ # Datasources: https://sparql.uniprot.org/sparql https://sparql.rhea-db.org/sparql
3+
4+ PREFIX rh: <http://rdf.rhea-db.org/>
5+ PREFIX up: <http://purl.uniprot.org/core/>
6+
7+ # Query 12
8+ # Select all Rhea reactions used to annotate enzyme sequences in UniProtKB
9+ # return the number of UniProtKB entries
10+ # Federated query using a service to UniProt SPARQL endpoint
11+ #
12+ # This query corresponds to the Rhea website query:
13+ # https://www.rhea-db.org/rhea?query=uniprot:*
14+ #
15+ SELECT ?uniprotCount ?rhea ?accession ?equation
16+ WHERE {
17+ {
18+ SELECT ?rhea (count(?uniprot ) as ?uniprotCount ) {
19+ ?uniprot up:annotation/up:catalyticActivity/up:catalyzedReaction ?rhea .
20+ }
21+ GROUP BY ?rhea
22+ }
23+ ?rhea rh:accession ?accession .
24+ ?rhea rh:equation ?equation .
25+ }
Original file line number Diff line number Diff line change 1+ # Select all Rhea reactions used in UniProtKB/Swiss-Prot for a given organism (NCBI taxonomy ID)
2+ # Datasources: https://sparql.uniprot.org/sparql https://sparql.rhea-db.org/sparql
3+
4+ PREFIX rh: <http://rdf.rhea-db.org/>
5+ PREFIX up: <http://purl.uniprot.org/core/>
6+ PREFIX taxon: <http://purl.uniprot.org/taxonomy/>
7+ PREFIX up: <http://purl.uniprot.org/core/>
8+
9+ # Query 13
10+ # Select all Rhea reactions used to annotate Escherichia coli (taxid=83333) in UniProtKB/Swiss-Prot
11+ # return the number of UniProtKB entries
12+ #
13+ # Federated query using a service to UniProt SPARQL endpoint
14+ #
15+ # This query cannot be performed using the Rhea search website
16+ SELECT ?uniprot ?mnemo ?rhea ?accession ?equation
17+ WHERE {
18+ {
19+ VALUES (?taxid ) { (taxon:83333) }
20+ GRAPH <http://sparql.uniprot.org/uniprot> {
21+ ?uniprot up:reviewed true .
22+ ?uniprot up:mnemonic ?mnemo .
23+ ?uniprot up:organism ?taxid .
24+ ?uniprot up:annotation/up:catalyticActivity/up:catalyzedReaction ?rhea .
25+ }
26+ }
27+ ?rhea rh:accession ?accession .
28+ ?rhea rh:equation ?equation .
29+ }
Original file line number Diff line number Diff line change 7272 "name" : " Wikidata" ,
7373 "url" : " https://query.wikidata.org/bigdata/ldf"
7474 },
75+ {
76+ "name" : " Wikidata SPARQL" ,
77+ "url" : " https://query.wikidata.org/sparql"
78+ },
7579 {
7680 "name" : " SNCB" ,
7781 "url" : " https://graph.irail.be/sncb/connections"
82+ },
83+ {
84+ "name" : " Uniprot" ,
85+ "url" : " https://sparql.uniprot.org/sparql"
86+ },
87+ {
88+ "name" : " Rhea" ,
89+ "url" : " https://sparql.rhea-db.org/sparql"
7890 }
7991 ],
8092 "prefixes" : {
You can’t perform that action at this time.
0 commit comments