class_docstr: This class implements basic sparql patterns.
class_docstr_tok: ["This","class","implements","basic","sparql","patterns","."]
docstr: given the type such as movie, return a list of movien entities
docstr_tok: ["given","the","type","such","as","movie",",","return","a","list","of","movien","entities"]
code: def type_of_thing(self, concept, v):
      """given the type such as movie, return a list of movien entities"""
      return self.new_triple(*self.thing(v))(
          self.po_triple, RDF.type, concept
      )
  
imports: from __future__ import print_function
  from SPARQLWrapper import SPARQLWrapper, JSON
  from rdflib import RDF, RDFS, OWL
label_desc: Use image node_id 29 for calling the BaseSPARQL obj's underlying member method code with example usage: obj.type_of_thing(concept, v) and returns: self