{'fraction_non_alphanumeric': 0.016216216216216217, 'fraction_numerical': 0.0, 'mean_word_length': 5.145228215767635, '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}}
Event-condition-action rule languages over semistructured data

The increasing use of semistructured data technologies such as XML and RDF, in dynamic applications in areas such as data integration and e-commerce make it necessary to support reactivity over such data. Event-Condition-Action (ECA) rules are one of the technologies that can provide such functionality. In this thesis we investigate potential languages and supportive technologies that enable reactive functionality over both XML and RDF data using ECA rules. We first review the syntax and the execution semantics of an ECA language for XML data and conduct a study regarding its expressiveness. We also describe an implementation of this language that can be utilised to provide reactivity over XML files and we study its performance using analytical and experimental methods. We introduce a new language for supporting ECA rules over RDF data, called RDFTL, and define its semantics. We also describe the architecture and implementation of a system that provides reactive functionality over RDF data in a peer-to-peer environment using RDFTL. Issues relating to indexing and management of RDF data, indexing and management of RDFTL rules, and change detection are discussed. We develop an analytical model for analysing the behaviour of our RDFTL rule processing system using as the main performance criterion the time required to complete all rule processing after an initial top-level update. For the purposes