{'fraction_non_alphanumeric': 0.03378921962992759, 'fraction_numerical': 0.0056315366049879325, 'mean_word_length': 4.895734597156398, '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': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Programmable Web Links

WorldWideWeb links are typically rigid and simple. Activating (or clicking on) a Web link replaces the current page with a fixed destination page. The link’s effect is built into the browser, and generally not customisable by page authors or readers. We discuss a more flexible and expressive form of Web link, which we call programmable link, and propose the LogicWeb language [5] for such links. This work is motivated partly by the idea of dynamic links [1, 3, 9] whose endpoints are computed on demand. A programmable link’s source is pre-defined as a HTML anchor on a page, and its behaviour is determined by a program. This program, called a link program, is built into a page by its author, downloaded with the page to the client, and invoked when links on the page are activated. TheLogicWeb language is rule-based, essentially Prolog [11], a language based on classical logic, extended with abstractions to manipulate Web pages. Prolog is used widely in AI knowledge represention and deductive databases [4]. We aim to exploit LogicWeb features inherited from Prolog such as high-level symbolic reasoning, conceptual data modelling, dynamic database manipulation, and backtracking search, for link programming.