A set of SPARQL examples that are used in different SIB resources
Check there are no entries with SRM peptide mapping annotations from SRMAtlas for which the evidence code is NOT mass spectrometry evidence
PREFIX : <http://nextprot.org/rdf/>
PREFIX cv: <http://nextprot.org/rdf/terminology/>
PREFIX source: <http://nextprot.org/rdf/source/>
select distinct ?entry ?eco where {
?entry :isoform /:srmPeptideMapping /:evidence ?ev1.
?ev1 :assignedBy source:SRMAtlas.
?ev1 :evidenceCode ?eco.
filter (?eco not in (cv:ECO_0001096))
}
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?eco"):::projected
v2("?entry"):::projected
v3("?ev1")
a1((" "))
a2((" "))
c6([":source/SRMAtlas"]):::iri
f0[["?eco != ':terminology/ECO_0001096'"]]
f0 --> v1
v2 --":isoform"--> a1
a1 --":srmPeptideMapping"--> a2
a2 --":evidence"--> v3
v3 --":assignedBy"--> c6
v3 --":evidenceCode"--> v1