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"]
code: def features(self, entity):
      return {
          "label": self.label(entity)[0],
          "type": self.type(entity),
          "category": self.category(entity),
          "abstract": self.abstract(entity)[0],
      }
  
imports: from __future__ import print_function
  from SPARQLWrapper import SPARQLWrapper, JSON
  from rdflib import RDF, RDFS, OWL
label_desc: Use image node_id 6 for calling the EntityFeatures obj's underlying member method code with example usage: obj.features(entity) and returns: dict