A set of SPARQL examples that are used in different SIB resources
Proteins with a sequence containing "FF.+QYE" where ".+" is any peptide of any length
PREFIX : <http://nextprot.org/rdf/>
SELECT DISTINCT ?entry WHERE {
?entry :isoform / :sequence / :chain ?chain.
filter ( regex(?chain, "FF.+QYE") )
}
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?chain")
v2("?entry"):::projected
a1((" "))
a2((" "))
f0[["regex(?chain,'FF.+QYE')"]]
f0 --> v1
v2 --":isoform"--> a1
a1 --":sequence"--> a2
a2 --":chain"--> v1