We investigate ontology-based data access to temporal data. We consider temporal ontologies given in linear temporal logic LTL interpreted over discrete time (Z,<). Queries are given in LTL or MFO(<), monadic first-order logic with a built-in linear order. Our concern is first-order rewritability of ontology-mediated queries (OMQs) consisting of a temporal ontology and a query. By taking account of the temporal operators used in the ontology and distinguishing between ontologies given in full LTL and its core, Krom and Horn fragments, we identify a hierarchy of OMQs with atomic queries by proving rewritability into either FO(<), first-order logic with the built-in linear order, or FO(<,E), which extends FO(<) with the standard arithmetic predicates saying that "x is equivalent to 0 modulo n", for any fixed n > 1, or FO(RPR), which extends FO(<) with relational primitive recursion. In terms of circuit complexity, FO(<,E)- and FO(RPR)-rewritability guarantee OMQ answering in uniform AC0 and, respectively, NC1. We obtain similar hierarchies for more expressive types of queries: positive LTL-formulas, monotone MFO(<)- and arbitrary MFO(<)-formulas. Our results are directly applicable if the temporal data to be accessed is one-dimensional; moreover, they lay foundations for investigating ontology-based access using combinations of temporal and description logics over two-dimensional temporal data.
翻译:我们研究基于科学的数据访问时间数据。 我们考虑线性时间逻辑LTLL解释离散时间( Z, < )给出的时间论。 在LTL 或MFO( < ) 中给出了时间论, 以内置线性顺序给出了一阶逻辑。 我们的担心是, 由时间论和查询组成的本体调调查询( OMQ) 第一阶的重写性( OMQ) 。 通过考虑本体学中使用的时间运算操作员, 并区分全LTL 及其核心、 Krom 和 Horn 碎片给出的线性理论( Z, < ) 。 我们确定OMQ的等级, 其原子质询的等级是, 证明FO( < ) 线性逻辑与内置线性顺序, 或者FO( <, E) 将本体调查询( ) 与任何固定 n > 1 或FO( RPR) 的值等值值, 其FO( < 和FO( 直系) 直系 直系 直系回调 重回调), 数据在直系内, 直系内, 直立- RFO- RFO- t- t- tal- tal- tal- tal- tal- t- t解数据为1。