Intersection joins over interval data are relevant in spatial and temporal data settings. A set of intervals join if their intersection is non-empty. In case of point intervals, the intersection join becomes the standard equality join. We establish the complexity of Boolean conjunctive queries with intersection joins by a many-one equivalence to disjunctions of Boolean conjunctive queries with equality joins. The complexity of any query with intersection joins is that of the hardest query with equality joins in the disjunction exhibited by our equivalence. This is captured by a new width measure called the IJ-width. We also introduce a new syntactic notion of acyclicity called iota-acyclicity to characterise the class of Boolean queries with intersection joins that admit linear time computation modulo a poly-logarithmic factor in the data size. Iota-acyclicity is for intersection joins what alpha-acyclicity is for equality joins. It strictly sits between gamma-acyclicity and Berge-acyclicity. The intersection join queries that are not iota-acyclic are at least as hard as the Boolean triangle query with equality joins, which is widely considered not computable in linear time.
翻译:在空间和时空数据设置中, 间隔数据串联着间隔数据。 如果交叉点不是空的, 一组间隔连在一起。 在点间隔中, 交叉联结会成为标准平等连结。 我们确定布尔连带查询的复杂性, 交叉连带查询以多个一等数的结合, 与布尔连带查询的分离性结合。 交叉连带查询的复杂性是, 最困难的、 平等的查询结合于我们等值所显示的脱钩中。 这是由被称为 IJ- width 的新的宽度测量所捕捉到的。 我们还引入了一种叫做 iota- 环球的新的循环组合概念, 以描述布尔连带查询的类别与交叉连接性结合的特性, 允许线性时间计算一个多对数调系数, 在数据大小中, 相交错是连接的。 Iotota- cy周期性是绝对的, 交叉连接性查询, 与不易变的线性时间, 与双环( ) 并不会被认为是硬的三角 。