{'fraction_non_alphanumeric': 0.022264631043257, 'fraction_numerical': 0.003816793893129771, 'mean_word_length': 6.085585585585585, '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}}
Knowledge‐based reasoning and recommendation framework for intelligent decision making

A physical activity recommendation system promotes active lifestyles for users. Real‐world reasoning and recommendation systems face the issues of data and knowledge integration, knowledge acquisition, and accurate recommendation generation. The knowledge‐based reasoning and recommendation framework (KRF) proposed here, which accurately generates reliable recommendations and educational facts for users, could solve those issues. The KRF methodology focuses on integrating data with knowledge, rule‐based reasoning, and conflict resolution. The integration issue is resolved using a semi‐automatic mapping approach in which rule conditions are mapped to data schema. The rule‐based reasoning methodology uses explicit rules with a maximum‐specificity conflict resolution strategy to ensure the generation of appropriate and correct recommendations. The data used during the reasoning process are generated in real time from users' physical activities and personal profiles in order to personalize recommendations. The proposed KRF is part of a wellness and health care platform, Mining Minds, and has been tested in the Mining Minds integrated environment using a sedentary user behaviour scenario. To evaluate the KRF methodology, a stand‐alone, open‐source application (Version 1.0) was released and tested using a dataset of 10 volunteers with 40 different types of sedentary behaviours. The KRF performance was measured using average execution time and recommendation accuracy.