{'fraction_non_alphanumeric': 0.012552301255230125, 'fraction_numerical': 0.0, 'mean_word_length': 5.243478260869566, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Flexible structural constraints in XQuery full-text

In this paper we describe the implementation and the efficiency evaluations of an XQuery Full-Text extension that allows users to express vagueness in XML query specifications. By the extended language the user may specify two new flexible structural axes, the evaluation of which is performed by the query engine via an approximate matching on the fragment structure. The approximate evaluation of the flexible structural constraints produces a fragment score, which may be possibly combined with the score computed by the evaluation of keyword-based constraints. The implementation reported in this paper has been defined on top of the BaseX query engine system.