class_docstr: This class implements basic sparql patterns.
class_docstr_tok: ["This","class","implements","basic","sparql","patterns","."]
code: def literal(self, label, lang="en"):
      return '"%s"@%s' % (label, lang)
  
imports: from __future__ import print_function
  from SPARQLWrapper import SPARQLWrapper, JSON
  from rdflib import RDF, RDFS, OWL
label_desc: Use image node_id 8 for calling the BaseSPARQL obj's underlying member method code with example usage: obj.literal(label, lang) and returns: unknown