A set of SPARQL examples that are used in different SIB resources
Check there are no entries with peptide mapping annotations from MassIVE for which the evidence code is NOT mass spectrometry evidence
PREFIX : <http://nextprot.org/rdf/>
PREFIX cv: <http://nextprot.org/rdf/terminology/>
select distinct ?entry where {
?entry :isoform /:peptideMapping /:evidence ?ev1.
?ev1 :assignedBy ?src.
filter (regex (?src,'MassIVE'))
?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")
v3("?entry"):::projected
v4("?ev1")
v2("?src")
a1((" "))
a2((" "))
f0[["?eco != ':terminology/ECO_0001096'"]]
f0 --> v1
f1[["regex(?src,'MassIVE')"]]
f1 --> v2
v3 --":isoform"--> a1
a1 --":peptideMapping"--> a2
a2 --":evidence"--> v4
v4 --":assignedBy"--> v2
v4 --":evidenceCode"--> v1