Dynamic direct access of MSO query evaluation over strings
Pierre Bourhis, Florent Capelli, Stefan Mengel, Cristian Riveros

TL;DR
This paper introduces the first efficient direct access algorithm for evaluating Monadic Second Order (MSO) queries over strings, supporting dynamic updates and flexible variable ordering, advancing query evaluation methods.
Contribution
It presents a novel algorithm combining matrix representations and dynamic data structures for MSO query evaluation over strings with efficient updates and arbitrary variable orderings.
Findings
First efficient direct access MSO query evaluation algorithm over strings.
Supports dynamic updates like substring deletion, concatenation, and cut-and-paste.
Provides lexicographic order outputs with flexible variable ordering without runtime degradation.
Abstract
We study the problem of evaluating a Monadic Second Order (MSO) query over strings under updates in the setting of direct access. We present an algorithm that, given an MSO query with first-order free variables represented by an unambiguous variable-set automaton with state set and variables and a string , computes a data structure in time and, then, given an index retrieves, using the data structure, the -th output of the evaluation of over in time where is the exponent for matrix multiplication. Ours is the first efficient direct access algorithm for MSO query evaluation over strings; such algorithms so far had only been studied for first-order queries and conjunctive queries over relational data. Our algorithm gives the…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
