How to Approximate Ontology-Mediated Queries