A set of SPARQL examples that are used in different SIB resources
Check there are no entries with GO molecular function annotations with evidence from FlyBase 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 /:goMolecularFunction /:evidence ?ev.
?ev :assignedBy source:FlyBase.
?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/FlyBase"]):::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 --":goMolecularFunction"--> a2
a2 --":evidence"--> v3
v3 --":assignedBy"--> c10
v3 --":quality"--> c12
v3 --":evidenceCode"--> v1