sparql-examples

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

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

NXQ_09301

rq turtle/ttl

Check there are no entries with transport activity annotations from TCDB 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 /:transportActivity /:evidence ?ev1.
  ?ev1 :assignedBy source:TCDB.
  ?ev1 :evidenceCode ?eco.
  filter (?eco not in (cv:ECO_0000305))
}
:isoform
:transportActivity
:evidence
:assignedBy
:evidenceCode
?eco
?entry
?ev1
:source/TCDB
?eco != ':terminology/ECO_0000305'