Query translation for ontology-extended data sources