Ontology-Mediated Query Answering (OMQA) is a wellestablished framework to answer queries over an rdfs or owl Knowledge Base (KB). OMQA was originally designed for unions of conjunctive queries (UCQs), and based on certain answers. More recently, OMQA has been extended to sparql queries, but to our knowledge, none of the efforts made in this direction (either in the literature, or the so-called sparql entailment regimes) is able to capture both certain answers for UCQs and the standard interpretation of sparql over a plain graph. We formalize these as requirements to be met by any semantics aiming at conciliating certain answers and sparql answers, and define three additional requirements, which generalize to KBs some basic properties of sparql answers. Then we show that a semantics can be defined that satisfies all requirements for sparql queries with SELECT, UNION, and OPTIONAL, and for DLs with the canonical model property. We also investigate combined complexity for query answering under such a semantics over DL-LiteR KBs. In particular, we show for different fragments of sparql that known upper-bounds for query answering over a plain graph are matched.