A set of SPARQL examples that are used in different SIB resources
Proteins with a molecular weight less than 25 kDa
PREFIX : <http://nextprot.org/rdf/>
SELECT DISTINCT ?entry ?mw WHERE {
?entry :isoform / :sequence / :molecularWeight ?mw.
filter ( ?mw < 25000)
} order by ?mw
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?entry"):::projected
v1("?mw"):::projected
a1((" "))
a2((" "))
f0[["?mw < '25000^^xsd:integer'"]]
f0 --> v1
v2 --":isoform"--> a1
a1 --":sequence"--> a2
a2 --":molecularWeight"--> v1