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_09235

Check there are no entries with mutagenesis annotations with evidence from neXtProt of quality SILVER

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