Convert a class URI to a select subquery
The URI of the class
The variable name for the class
The predicate to use for the class (default: rdf:type)
The subquery
Convert a class URI to a select subquery