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_09330

Check there are no entries with electrophysiological parameter annotations with evidence from neXtProt that is negative

Use at

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

select distinct ?entry ?src where {
  ?entry :isoform ?iso.
  ?iso :electrophysiologicalParameter /:evidence ?ev.
  ?ev :assignedBy source:NextProt.
  ?ev :negative 1.
}
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
  v1("?entry"):::projected 
  v3("?ev")
  v2("?iso")
  a1((" "))
  c7(["1^^xsd:integer"]):::literal 
  c5([":source/NextProt"]):::iri 
  v1 --":isoform"-->  v2
  v2 --":electrophysiologicalParameter"-->  a1
  a1 --":evidence"-->  v3
  v3 --":assignedBy"-->  c5
  v3 --":negative"-->  c7