Optimizing SPARQL Query Answering over OWL Ontologies