Thanks, this clarifies it. You have selected the whole query, including
the SELECT statement, which means that it tries to create a nested
SELECT for the function. However, the SELECT only returns a single
variable, and nested SELECTs cannot take arguments from the outside.
What you need to do
Absolutely. In fact, I am copying the SPARQL out of the SPIN rule window
for the rule that I created. I am also attaching the screen grab.
SELECT DISTINCT ?plabel
WHERE {
?cls (rdfs:subClassOf)* act:ASActivity .
?cls rdfs:subClassOf ?par .
?par rdfs:label ?plabel .
?cls rdfs:label