A set of SPARQL examples that are used in different SIB resources
Select all hamap rules that deal with Catalytic Activity
PREFIX sh: <http://www.w3.org/ns/shacl#>
SELECT ?rule ?query
WHERE
{
?rule sh:construct ?query .
FILTER (CONTAINS(?query, 'Catalytic_Activity_Annotation'))
}
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?query"):::projected
v2("?rule"):::projected
f0[["contains(?query,'Catalytic_Activity_Annotation')"]]
f0 --> v1
v2 --"sh:construct"--> v1