class_docstr: This class implements basic sparql patterns.
class_docstr_tok: ["This","class","implements","basic","sparql","patterns","."]
code: def regex_filter(self, variable, expression):
      return """\n\tFILTER regex(%s, "%s") .""" % (variable, expression)
  
imports: from __future__ import print_function
  from SPARQLWrapper import SPARQLWrapper, JSON
  from rdflib import RDF, RDFS, OWL
label_desc: Use image node_id 12 for calling the BaseSPARQL obj's underlying member method code with example usage: obj.regex_filter(variable, expression) and returns: unknown