Efficiency of Analysis of Transitive Relations Using Query-Driven, Ground-and-Solve, and Fact-Driven Inference

Read full text
Authors: Yanhong A. Liu, John Idogun, Scott D. Stoller, Y. L. Tong
Cited by: 0

Abstract

Abstract Logic rules allow analysis of complex relationships to be expressed easily, especially for transitive relations in critical applications. However, understanding and predicting the efficiency of different inference methods remain challenging, even for simplest rules given different kinds of input data. This paper analyzes the efficiency of all three types of well-known inference methods – query-driven, ground-and-solve, and fact-driven – along with their respective optimizations, and compares with optimal complexities for the first time, for analyzing transitive graph relations. We also experiment with rule systems widely considered to have the best performance. We analyze all well-known rule variants and widely varying input graphs. The results include precisely calculated optimal time complexities; comparative analysis across different inference methods, rule variants, and graph types; confirmation with performance experiments; as well as discovery of a performance bug.

Fields of Study & Subjects

Semantic Web and Ontologies Graph Theory and Algorithms Advanced Database Systems and Queries

Publication details

Journal / source
Theory and Practice of Logic Programming
Pages
1–18
Publication date
15 July 2026
Language
EN