{'fraction_non_alphanumeric': 0.010466222645099905, 'fraction_numerical': 0.0, 'mean_word_length': 5.08092485549133, '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}}
A Flexible Query Answering Approach for Autonomous Web Databases

Users often have imprecise ideas when searching the autonomous Web databases and thus may not know how to precisely formulate queries that lead to satisfactory answers. This paper proposes a novel flexible query answering approach that uses query relaxation mechanism to present relevant answers to the users. Based on the user initial query and the data distribution, we first speculate how much the user cares about each attribute and assign a corresponding weight to it. Then, the initial query is relaxed by adding the most similar attribute values into the query criteria range. The relaxation order of attributes specified by the query and the relaxed degree on each specified attribute are varied with the attribute weights. The first attribute to be relaxed is the least important attribute. For the relevant result tuples, they are finally ranked according to their satisfaction to the initial query. The efficiency of our approach is also demonstrated by experimental result.