A set of SPARQL examples that are used in different SIB resources
Check there are no entries with expression profile annotations with evidence from IHC with an expression level other than high, medium, low or negative
PREFIX : <http://nextprot.org/rdf/>
PREFIX cv: <http://nextprot.org/rdf/terminology/>
select distinct ?entry where {
?entry :isoform ?iso.
?iso :expressionProfile /:evidence ?ev.
?ev :evidenceCode cv:ECO_0001055. # IHC
?ev :expressionLevel ?level
filter ( ?level not in (:High,:Medium,:Low,:Negative))
}
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?entry"):::projected
v4("?ev")
v3("?iso")
v1("?level")
a1((" "))
c9([":terminology/ECO_0001055"]):::iri
f0[["?level != ':High'?level != ':Medium'?level != ':Low'?level != ':Negative'"]]
f0 --> v1
v2 --":isoform"--> v3
v3 --":expressionProfile"--> a1
a1 --":evidence"--> v4
v4 --":evidenceCode"--> c9
v4 --":expressionLevel"--> v1