A set of SPARQL examples that are used in different SIB resources
Check there are no entries with GO biological process annotations with evidence from Alzheimers University of Toronto of quality SILVER and evidence code not IBA, IEP, HMP, HDA or HEP
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 /:goBiologicalProcess /:evidence ?ev.
?ev :assignedBy source:Alzheimers_University_of_Toronto.
?ev :quality :SILVER.
?ev :evidenceCode ?eco.
filter ( ?eco not in ( cv:ECO_0000318,cv:ECO_0000270,cv:ECO_0007001,cv:ECO_0007005,cv:ECO_0007007 ))
}
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?eco")
v2("?entry"):::projected
v3("?ev")
a1((" "))
a2((" "))
c10([":source/Alzheimers_University_of_Toronto"]):::iri
c12([":SILVER"]):::iri
f0[["?eco != ':terminology/ECO_0000318'?eco != ':terminology/ECO_0000270'?eco != ':terminology/ECO_0007001'?eco != ':terminology/ECO_0007005'?eco != ':terminology/ECO_0007007'"]]
f0 --> v1
v2 --":isoform"--> a1
a1 --":goBiologicalProcess"--> a2
a2 --":evidence"--> v3
v3 --":assignedBy"--> c10
v3 --":quality"--> c12
v3 --":evidenceCode"--> v1