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_00287

Proteins with interactions obtained from x-ray crystallography

Use at

PREFIX : <http://nextprot.org/rdf/>
PREFIX nextprot_cv: <http://nextprot.org/rdf/terminology/>

SELECT DISTINCT ?entry WHERE {
 ?entry :isoform ?iso.
 ?iso :binaryInteraction /:evidence ?ev.
 ?ev :interactionDetectionMethod nextprot_cv:MI_0114. # x-ray crystallography
}
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
  v1("?entry"):::projected 
  v3("?ev")
  v2("?iso")
  a1((" "))
  c5([":terminology/MI_0114"]):::iri 
  v1 --":isoform"-->  v2
  v2 --":binaryInteraction"-->  a1
  a1 --":evidence"-->  v3
  v3 --":interactionDetectionMethod"-->  c5