class_docstr: This class implements exact name matching for entities. It queries entity resource
  from DBpedia through entity's names
class_docstr_tok: ["This","class","implements","exact","name","matching","for","entities",".","It","queries","entity","resource","from","DBpedia","through","entity","'s","names"]
code: def check_redirect(self, dbr):
      return self.resource_query(
          *self.sp_triple(dbr, self.redirect_pages, "s")
      )
  
imports: from __future__ import print_function
  from SPARQLWrapper import SPARQLWrapper, JSON
  from rdflib import RDF, RDFS, OWL
label_desc: Use image node_id 4 for calling the NameSPARQL obj's underlying member method code with example usage: obj.check_redirect(dbr) and returns: self