A set of SPARQL examples that are used in different SIB resources
Phosphorylation sites from PeptideAtlas Phosphoproteome
PREFIX : <http://nextprot.org/rdf/>
PREFIX source: <http://nextprot.org/rdf/source/>
SELECT DISTINCT (sample(?iso) as ?isospl) (sample(?pos) as ?posspl) WHERE {
?entry :isoform ?iso .
?iso :ptm ?ptm.
?ptm :entryAnnotationId ?ptmid; :start ?pos .
?ptm :evidence / :assignedBy source:PeptideAtlas_human_phosphoproteome .
}
group by ?ptmid
order by ?isospl ?posspl
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?entry")
v4("?iso"):::projected
v8("?isospl")
v7("?pos"):::projected
v8("?posspl")
v5("?ptm")
v6("?ptmid")
a1((" "))
c7([":source/PeptideAtlas_human_phosphoproteome"]):::iri
v3 --":isoform"--> v4
v4 --":ptm"--> v5
v5 --":entryAnnotationId"--> v6
v5 --":start"--> v7
v5 --":evidence"--> a1
a1 --":assignedBy"--> c7
bind2[/"sample(?iso)"/]
v4 --o bind2
bind2 --as--o v8
bind3[/"sample(?pos)"/]
v7 --o bind3
bind3 --as--o v8