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 type(self, entity):
      return self.resource_query(*self.sp_triple(entity, RDF.type, "o"))
  
imports: from __future__ import print_function
  from SPARQLWrapper import SPARQLWrapper, JSON
  from rdflib import RDF, RDFS, OWL
label_desc: Use image node_id 3 for calling the EntityFeatures obj's underlying member method code with example usage: obj.type(entity) and returns: self