class_docstr: This class implements basic sparql patterns.
class_docstr_tok: ["This","class","implements","basic","sparql","patterns","."]
code: def new_triple(self, v, triple):
      def function(triple_type, x, y):
          v2, triple2 = triple_type(x, y, v)
          return v2, triple + triple2
  
      return function
  
imports: from __future__ import print_function
  from SPARQLWrapper import SPARQLWrapper, JSON
  from rdflib import RDF, RDFS, OWL
label_desc: Use image node_id 18 for calling the BaseSPARQL obj's underlying member method code with example usage: obj.new_triple(v, triple) and returns: function, v2,  unknown