A set of SPARQL examples for tutorials at SWAT4HCLS
Check there are no entries with GO biological process annotations with evidence having the evidence code HEP and the quality GOLD
PREFIX : <http://nextprot.org/rdf/>
PREFIX cv: <http://nextprot.org/rdf/terminology/>
select distinct ?entry where {
?entry :isoform /:goBiologicalProcess /:evidence ?ev1.
?ev1 :evidenceCode cv:ECO_0007007.
?ev1 :quality :GOLD.
}
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?entry"):::projected
v2("?ev1")
a1((" "))
a2((" "))
c7([":GOLD"]):::iri
c5([":terminology/ECO_0007007"]):::iri
v1 --":isoform"--> a1
a1 --":goBiologicalProcess"--> a2
a2 --":evidence"--> v2
v2 --":evidenceCode"--> c5
v2 --":quality"--> c7