The Data Complexity of Ontology-Mediated Queries with Closed Predicates (Logical Methods in Computer Science, 2019)