class_docstr: This class implements basic sparql patterns.
class_docstr_tok: ["This","class","implements","basic","sparql","patterns","."]
code: def subclass(self, concept):
      return self.resource_query(
          *self.po_triple(RDFS.subClassOf, concept, "s")
      )
  
imports: from __future__ import print_function
  from SPARQLWrapper import SPARQLWrapper, JSON
  from rdflib import RDF, RDFS, OWL
label_desc: Use image node_id 32 for calling the BaseSPARQL obj's underlying member method code with example usage: obj.subclass(concept) and returns: self