A set of SPARQL examples that are used in different SIB resources
Check there are no entries with peptide mapping annotations with evidence from neXtProt that is negative
PREFIX : <http://nextprot.org/rdf/>
PREFIX cv: <http://nextprot.org/rdf/terminology/>
PREFIX source: <http://nextprot.org/rdf/source/>
select distinct ?entry where {
?entry :isoform ?iso.
?iso :peptideMapping /:evidence ?ev.
?ev :assignedBy ?src.
filter ( ?src not in (source:PeptideAtlas_human_adrenal_gland,
source:PeptideAtlas_human_brain,
source:PeptideAtlas_human_breast,
source:PeptideAtlas_human_digestive_system,
source:PeptideAtlas_human_eye,
source:PeptideAtlas_human_female_reproductive_system,
source:PeptideAtlas_human_heart,
source:PeptideAtlas_human_kidney,
source:PeptideAtlas_human_liver,
source:PeptideAtlas_human_lung,
source:PeptideAtlas_human_male_reproductive_system,
source:PeptideAtlas_human_others,
source:PeptideAtlas_human_pancreas,
source:PeptideAtlas_human_plasma,
source:PeptideAtlas_human_spleen,
source:PeptideAtlas_human_urinary_bladder,
source:PeptideAtlas_human_urine,
source:PeptideAtlas_human_phosphoproteome))
?ev :negative 1.
}
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?entry"):::projected
v4("?ev")
v3("?iso")
v1("?src")
a1((" "))
c24(["1^^xsd:integer"]):::literal
f0[["?src != ':source/PeptideAtlas_human_adrenal_gland'?src != ':source/PeptideAtlas_human_brain'?src != ':source/PeptideAtlas_human_breast'?src != ':source/PeptideAtlas_human_digestive_system'?src != ':source/PeptideAtlas_human_eye'?src != ':source/PeptideAtlas_human_female_reproductive_system'?src != ':source/PeptideAtlas_human_heart'?src != ':source/PeptideAtlas_human_kidney'?src != ':source/PeptideAtlas_human_liver'?src != ':source/PeptideAtlas_human_lung'?src != ':source/PeptideAtlas_human_male_reproductive_system'?src != ':source/PeptideAtlas_human_others'?src != ':source/PeptideAtlas_human_pancreas'?src != ':source/PeptideAtlas_human_plasma'?src != ':source/PeptideAtlas_human_spleen'?src != ':source/PeptideAtlas_human_urinary_bladder'?src != ':source/PeptideAtlas_human_urine'?src != ':source/PeptideAtlas_human_phosphoproteome'"]]
f0 --> v1
v2 --":isoform"--> v3
v3 --":peptideMapping"--> a1
a1 --":evidence"--> v4
v4 --":assignedBy"--> v1
v4 --":negative"--> c24