A set of SPARQL examples that are used in different SIB resources
Check there are no entries with expression profile annotations with evidence from RNA-seq which are NOT from HPA or Bgee
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 :expressionProfile /:evidence ?ev.
?ev :evidenceCode cv:ECO_0000295. # RNA-seq
?ev :assignedBy ?src.
filter ( ?src not in (source:Human_protein_atlas,source:Bgee))
}
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?entry"):::projected
v4("?ev")
v3("?iso")
v1("?src")
a1((" "))
c7([":terminology/ECO_0000295"]):::iri
f0[["?src != ':source/Human_protein_atlas'?src != ':source/Bgee'"]]
f0 --> v1
v2 --":isoform"--> v3
v3 --":expressionProfile"--> a1
a1 --":evidence"--> v4
v4 --":evidenceCode"--> c7
v4 --":assignedBy"--> v1