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_00296

Pathways in which SCN1A GOLD interactants are involved

Use at

PREFIX : <http://nextprot.org/rdf/>
PREFIX nextprot: <http://nextprot.org/rdf/entry/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>

SELECT DISTINCT ?pathway WHERE {
 nextprot:NX_P35498 :isoform /:binaryInteraction ?interaction.
 ?interaction :interactant ?entry; :quality :GOLD.
 ?entry a :Entry.
 ?entry :isoform /:pathway /rdfs:comment ?pathway.
}
order by asc(?pathway)
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
  v3("?entry")
  v2("?interaction")
  v1("?pathway"):::projected 
  a1((" "))
  a2((" "))
  a3((" "))
  c6([":GOLD"]):::iri 
  c8([":Entry"]):::iri 
  c1([":entry/NX_P35498"]):::iri 
  c1 --":isoform"-->  a1
  a1 --":binaryInteraction"-->  v2
  v2 --":interactant"-->  v3
  v2 --":quality"-->  c6
  v3 --"a"-->  c8
  v3 --":isoform"-->  a2
  a2 --":pathway"-->  a3
  a3 --"rdfs:comment"-->  v1