class_docstr: This class implements entity feature extraction from DBpedia through SPARQL,
  which supports features such as entity types, labels, abstracts, categories
class_docstr_tok: ["This","class","implements","entity","feature","extraction","from","DBpedia","through","SPARQL",",","which","supports","features","such","as","entity","types",",","labels",",","abstracts",",","categories"]
docstr: query the lable of a resource
docstr_tok: ["query","the","lable","of","a","resource"]
code: def label(self, entity, lang="en"):
      """query the lable of a resource"""
      return self.resource_query(
          *self.new_triple("o", self.lang_filter("o", lang))(
              self.sp_triple, entity, RDFS.label
          )
      )
  
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 EntityFeatures obj's underlying member method code with example usage: obj.label(entity, lang) and returns: self