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_09694

Check there are no entries with GO cellular component annotations with evidence from DIBU of the GO Consortium

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 ?iso.
  ?iso :goCellularComponent /:evidence /:assignedBy source:DIBU.
}
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
  v1("?entry"):::projected 
  v2("?iso")
  a1((" "))
  a2((" "))
  c5([":source/DIBU"]):::iri 
  v1 --":isoform"-->  v2
  v2 --":goCellularComponent"-->  a1
  a1 --":evidence"-->  a2
  a2 --":assignedBy"-->  c5