A set of SPARQL examples that are used in different SIB resources
Proteins with at least two antibodies available from Human Protein Atlas that have associated tissue expression annotations from immunohistochemistry studies
PREFIX : <http://nextprot.org/rdf/>
PREFIX nextprot_cv: <http://nextprot.org/rdf/terminology/>
SELECT DISTINCT ?entry WHERE {
?entry :isoform ?iso.
?iso :antibodyMapping ?abmap.
?abmap :evidence / :reference / :accession ?aid .
?iso :expressionProfile / :evidence ?ev .
?ev :evidenceCode nextprot_cv:ECO_0001055.
# ?ev :quality :GOLD .
}
group by ?entry having(count(distinct ?aid) > 1)
order by ?entry
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v6("?_anon_aaf95e3c346c4c97af230d5bcfeba8ab3235")
v3("?abmap")
v4("?aid")
v1("?entry"):::projected
v5("?ev")
v2("?iso")
a2((" "))
a3((" "))
a4((" "))
a1((" "))
c9([":terminology/ECO_0001055"]):::iri
f0[[" > '1^^xsd:integer'"]]
f0 --> a1
v1 --":isoform"--> v2
v2 --":antibodyMapping"--> v3
v3 --":evidence"--> a2
a2 --":reference"--> a3
a3 --":accession"--> v4
v2 --":expressionProfile"--> a4
a4 --":evidence"--> v5
v5 --":evidenceCode"--> c9
bind2[/"count(?aid)"/]
v4 --o bind2
bind2 --as--o v6