sparql-examples

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

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

NXQ_09279

rq turtle/ttl

Check there are no entries with electrophysiological parameter annotations from neXtProt for which the evidence code is NOT experimental evidence (ECO:0000006) or sequence similarity evidence used in manual assertion (ECO:0000250)

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 / :electrophysiologicalParameter /:evidence ?ev1.
  ?ev1 :assignedBy source:NextProt.
  ?ev1 :evidenceCode ?eco.
  filter (?eco not in (cv:ECO_0000006,cv:ECO_0000250))
}
:isoform
:electrophysiologicalParameter
:evidence
:assignedBy
:evidenceCode
?eco
?entry
?ev1
:source/NextProt
?eco != ':terminology/ECO_0000006'?eco != ':terminology/ECO_0000250'