Enhancing SPARQL Query Rewriting for Complex Ontology Alignments