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_00085

Proteins with Poly-Proline stretches

Use at

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

SELECT DISTINCT ?entry WHERE {
 ?entry :isoform ?iso .
 ?iso :compositionallyBiasedRegion / rdfs:comment ?desc.
 filter (contains(?desc,'Pro residues')).
}
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
  v1("?desc")
  v2("?entry"):::projected 
  v3("?iso")
  a1((" "))
  f0[["contains(?desc,'Pro residues')"]]
  f0 --> v1
  v2 --":isoform"-->  v3
  v3 --":compositionallyBiasedRegion"-->  a1
  a1 --"rdfs:comment"-->  v1