{'fraction_non_alphanumeric': 0.01683937823834197, 'fraction_numerical': 0.0, 'mean_word_length': 5.184, '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}}
Modelling the Future with Event Choice DATALOG

This paper presents a rule-based declarative database language which extends stratified DATALOG to express events and nondeterministic state transitions, by using various types of choice to model uncertainty in dynamic rules. The proposed language, called Event Choice DATALOG (DATALOG for short), is particularly suitable to formulate queries on the evolution of a knowledge base on the basis of a given sequence of events that are envisioned to occur in the future. The semantics of a DATALOG program is given by means of rule rewriting which transforms it into a DATALOG program with choice and a particular form of XY-stratification, called XYZ-stratification, that uses a pair of temporal arguments to handle evolution.