sparql-examples

A set of SPARQL examples that are used in different SIB resources

View the Project on GitHub sib-swiss/sparql-examples

neXtProt/NXQ_09281

Check there are no entries with expression profile annotations from Bgee for which the evidence code is NOT microarray RNA expression level evidence (ECO:0000104), transcript expression evidence (ECO:0000009) or RNA-sequencing evidence (ECO:0000295)

Use at

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 /:expressionProfile /:evidence ?ev1.
  ?ev1 :assignedBy source:Bgee.
  ?ev1 :evidenceCode ?eco.
  filter (?eco not in (cv:ECO_0000104, cv:ECO_0000009, cv:ECO_0000295))
}
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
  v1("?eco")
  v2("?entry"):::projected 
  v3("?ev1")
  a1((" "))
  a2((" "))
  c8([":source/Bgee"]):::iri 
  f0[["?eco != ':terminology/ECO_0000104'?eco != ':terminology/ECO_0000009'?eco != ':terminology/ECO_0000295'"]]
  f0 --> v1
  v2 --":isoform"-->  a1
  a1 --":expressionProfile"-->  a2
  a2 --":evidence"-->  v3
  v3 --":assignedBy"-->  c8
  v3 --":evidenceCode"-->  v1