Graph-Query Verification using Monadic Second-Order Logic

K. Inaba,S. Hidaka,Z. Hu,H. Kato,K. Nakano
2010-01-01
Abstract:This paper presents a static verification algorithm for a core subset of UnCAL, the query algebra for graph-structured databases proposed by Bunemann et al. Given a query and input/output schemas, our algorithm statically verifies that any graph satisfying the input schema is converted by the query to a graph satisfying the output schema. The basic idea is to reformulate the semantics of UnCAL using monadic second-order logic (MSO). The logic-based foundation allows to express the schema satisfaction of transformations as the validity of MSO formulas over graph structures. Furthermore, with several insights on the established properties of UnCAL, the problem turns out to be reducible to the validity of MSO over trees, which has a sound and complete decision procedure.
What problem does this paper attempt to address?