class_docstr: This class implements statistics for concepts and entities using SPARQL. It can be used to
  count concept frequency, entity relation frequency from DBpedia.
class_docstr_tok: ["This","class","implements","statistics","for","concepts","and","entities","using","SPARQL",".","It","can","be","used","to","count","concept","frequency",",","entity","relation","frequency","from","DBpedia","."]
docstr: select count(?s) where ?s is concept. ?s is thing
docstr_tok: ["select","count","(","?","s",")","where","?","s","is","concept",".","?","s","is","thing"]
code: def concept_freq(self, concept):
      """select count(?s) where ?s is concept. ?s is thing"""
      return self.count_query(*self.type_of_thing(concept, "s"))
  
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 StatSPARQL obj's underlying member method code with example usage: obj.concept_freq(concept) and returns: self