{'fraction_non_alphanumeric': 0.018485915492957746, 'fraction_numerical': 0.0044014084507042256, 'mean_word_length': 5.767857142857143, '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}}
Semantic-Preserved Index Constructing for RDF-Based Resource in Structured P2P Network

Resource index constructing method directly influences resource retrieval efficiency in structured P2P network, a new approach to semantic-preserved index constructing for RDF-based resource is proposed. Firstly, each class in resource concept structure is assigned a class ID, RDF-based resource index is constructed by two-dimensional value consisted of class ID; secondly, the mapping from two-dimensional index to one-dimensional routing space of structured P2P network is achieved by Hilbert space filling curve; at last, resource query is realized by embedding the process of searching into the nodes of structured P2P networks and using the data search mechanism of networks. Algorithm analysis shows that this approach supports multidimensional semantic retrieval, resolves the problems that only support exact query based on single key words and the irrelevance between logical location and physical location because of ignoring semantic information, and improves RDF-based resource semantic retrieval efficiency in structured P2P network.