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_00040

Proteins that are enzymes and with at least one mutagenesis site that decrease or abolish activity

Use at

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

SELECT DISTINCT ?entry WHERE {
 ?nextprot:isoform ?iso.
 ?iso :enzymeClassification ?_ .
 ?iso :mutagenesis/rdfs:comment ?comment
 filter regex(?comment, '(decrease|abolish).*activity','i')
}
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
  v4("?_")
  v1("?comment")
  v3("?iso")
  v2("?nextprot")
  a1((" "))
  f0[["regex(?comment,'(decrease|abolish).*activity','i')"]]
  f0 --> v1
  v2 --":isoform"-->  v3
  v3 --":enzymeClassification"-->  v4
  v3 --":mutagenesis"-->  a1
  a1 --"rdfs:comment"-->  v1