-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtemplates.toml
More file actions
41 lines (35 loc) · 1.16 KB
/
templates.toml
File metadata and controls
41 lines (35 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
title="BioTestMine SPARQL endpoint"
[[tabGroups]]
name="Templates"
[[tabGroups.tabs]]
name="Gene -> Proteins"
query="""
PREFIX up: <http://purl.uniprot.org/core/>
PREFIX im: <http://intermine.org/vocabulary/>
SELECT ?protein ?primaryAccession ?uniprotName ?gene ?genePrimaryIdentifier ?symbol WHERE {
?protein a up:Protein .
?protein im:hasPrimaryAccession ?primaryAccession .
?protein im:hasUniprotName ?uniprotName .
?protein im:hasGene ?gene .
?gene im:hasPrimaryIdentifier ?genePrimaryIdentifier .
?gene im:hasSymbol ?symbol .
FILTER(?symbol="ABRA"^^xsd:string)
}
"""
[[tabGroups.tabs]]
name="Organism -> All proteins"
query="""
PREFIX up: <http://purl.uniprot.org/core/>
PREFIX im: <http://intermine.org/vocabulary/>
SELECT ?protein ?primaryAccession ?uniprotName ?name ?length ?md5checksum ?organismName WHERE {
?protein a up:Protein .
?protein im:hasPrimaryAccession ?primaryAccession .
?protein im:hasUniprotName ?uniprotName .
?protein im:hasName ?name .
?protein im:hasLength ?length .
?protein im:hasMd5checksum ?md5checksum .
?protein im:hasOrganism ?organism .
?organism im:hasName ?organismName .
FILTER(?organismName="Plasmodium falciparum 3D7"^^xsd:string)
}
"""