Preferentially Annotated Regular Path Queries [chapter]

Gösta Grahne, Alex Thomo, William Wadge
2006 Lecture Notes in Computer Science  
In this paper, we introduce preferential regular path queries. These are regular path queries whose symbols are annotated with preference weights for "scaling" up or down the intrinsic importance of matching a symbol against a (semistructured) database edge label. Annotated regular path queries are expressed syntactically as annotated regular expressions. We interpret these expressions in a uniform semiring framework, which allows different semantics specializations for the same syntactic
more » ... tions. For our preference queries, we study three important aspects: (1) (progressive) query answering (2) (certain) query answering in LAV data-integration systems, and (3) query containment and equivalence. In all of these, we obtain important positive results, which encourage the use of our preference framework for enhanced querying of semistructured databases.
doi:10.1007/11965893_22 fatcat:bb5ddwdxk5ct7ivvvpu7tbsc5m