RDF Query of Class
This allows us to query for whether a resources is in a particular class rather than specific values that may have put it in that class:
ns r=<http://www.w3.org/1999/02/22-rdf-syntax-ns#> ns p=<http://www.w3.org/TR/WD-pics2.0#> slurp ../../../../../../../WWW/2004/05/07-CS-RDF/ratingData.rdf () ask (?r p:left ?pre . ?r owl:class sv:Bang) collect (?pre ?vc)