class_docstr: This class implements basic sparql patterns.
class_docstr_tok: ["This","class","implements","basic","sparql","patterns","."]
code: def execution(self, query, show_query=False):
      if show_query:
          print(query)
      self._sparql.setQuery(query)
      results = self._sparql.query().convert()
      # print results
      return results["results"]["bindings"]
  
imports: from __future__ import print_function
  from SPARQLWrapper import SPARQLWrapper, JSON
  from rdflib import RDF, RDFS, OWL
label_desc: Use image node_id 2 for calling the BaseSPARQL obj's underlying member method code with example usage: obj.execution(query, show_query) and returns: results