sparql-examples

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

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

NXQ_09659

rq turtle/ttl

Check there are no entries with GO molecular function annotations with evidence having the evidence code IBA and quality GOLD

Use at

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

select distinct ?entry where {
  ?entry :isoform /:goMolecularFunction /:evidence ?ev1.
  ?ev1 :evidenceCode cv:ECO_0000318.
  ?ev1 :quality :GOLD.
}
:isoform
:goMolecularFunction
:evidence
:evidenceCode
:quality
?entry
?ev1
:GOLD
:terminology/ECO_0000318