sparql-examples

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

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

NXQ_09292

rq turtle/ttl

Check there are no entries with pathway annotations from Reactome for which the evidence code is NOT curator inference used in manual assertion

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 /:pathway /:evidence ?ev1.
  ?ev1 :assignedBy source:Reactome.
  ?ev1 :evidenceCode ?eco.
  filter (?eco not in (cv:ECO_0000305))
}
:isoform
:pathway
:evidence
:assignedBy
:evidenceCode
?eco
?entry
?ev1
:source/Reactome
?eco != ':terminology/ECO_0000305'