class_docstr: This class implements basic sparql patterns.
class_docstr_tok: ["This","class","implements","basic","sparql","patterns","."]
code: def label_triple(self, s, lang="en"):
      return self.triple(
          self.q_mark(s), self.uri(RDFS.label), self.q_mark("label")
      ) + self.lang_filter("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 26 for calling the BaseSPARQL obj's underlying member method code with example usage: obj.label_triple(s, lang) and returns: unknown