code: def run_sparql_on(q, ontology):
      
      logging.info("Connecting to " + ontology.value + " SPARQL endpoint...")
      sparql = SPARQLWrapper(ontology.value)
      logging.info("Made wrapper: {}".format(sparql))
      sparql.setQuery(q)
      sparql.setReturnFormat(JSON)
      logging.info("Query: {}".format(q))
      results = sparql.query().convert()
      bindings = results['results']['bindings']
      logging.info("Rows: {}".format(len(bindings)))
      for r in bindings:
          curiefy(r)
      return bindings
docs: Run a SPARQL query (q) on a given Ontology (Enum EOntology)