{'fraction_non_alphanumeric': 0.0125, 'fraction_numerical': 0.0026785714285714286, 'mean_word_length': 5.227777777777778, '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 CUSTOMIZABLE SEMANTIC-BASED P2P SYSTEM

Important requirements are nowadays arising in systems for the retrieval of XML documents in P2P networks. Among them we face the problems of service customization and heterogeneity of document structures. Peer willingness to answer queries may be conditioned by a number of factors such as the time the request is received, the characteristics of the peer submitting the query, and the current workload of the peer receiving the query. Thus, appropriate policies should be specified for restricting peer availability to answer queries. Moreover, peers might exploit different structures for representing the same kind of information. Thus, an ontology establishing the mapping among different representations of the same concept is required. In this paper we present a system for the retrieval of XML documents distributed among peers on a hybrid P2P network. Peers are organized in groups and each group contains both a common ontology for representing the documents the group deals with and policies which specify the group and individual peer availability to answer queries.