class_docstr: This class implements basic sparql patterns.
class_docstr_tok: ["This","class","implements","basic","sparql","patterns","."]
code: def text_query(self, variable, triples, lang="en", show_query=False):
      triples += self.label_triple(variable, lang)
      triples += self.abstract_triple(variable, lang)
      data = self.execution(
          self._text_tpl % (self.q_mark(variable), triples), show_query
      )
      result = []
      for d in data:
          res = {}
          res["uri"] = d[variable]["value"]
          res["label"] = d["label"]["value"]
          res["abstract"] = d["abstract"]["value"]
          result.append(res)
      return result
  
imports: from __future__ import print_function
  from SPARQLWrapper import SPARQLWrapper, JSON
  from rdflib import RDF, RDFS, OWL
label_desc: Use image node_id 6 for calling the BaseSPARQL obj's underlying member method code with example usage: obj.text_query(variable, triples, lang, show_query) and returns: result