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_09406

Check there are no entries with GO cellular component annotations with the evidence code is ND (ECO:0000035)

Use at

PREFIX : <http://nextprot.org/rdf/>
PREFIX cv: <http://nextprot.org/rdf/terminology/>

select distinct ?entry where {
  ?entry :isoform ?iso.
  ?iso :goCellularComponent /:evidence /:evidenceCode cv:ECO_0000035.
}
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
  v1("?entry"):::projected 
  v2("?iso")
  a1((" "))
  a2((" "))
  c5([":terminology/ECO_0000035"]):::iri 
  v1 --":isoform"-->  v2
  v2 --":goCellularComponent"-->  a1
  a1 --":evidence"-->  a2
  a2 --":evidenceCode"-->  c5