A Context Modeling Framework in Supporting Reasoning Automation for Interoperable Intelligent Systems and Privacy Protection.
- According to the different input formats selected (Triple-RDF or Triple-HR), DomainInitialization.java or DomainInitializationHR.java can be run to initialize the domain and the context category information. In this implementation, we manually initialize the categories for testing purposes.
- BoomWithTripleListCSSM.java or BoomWithTripleListCASMhr.java can be run to build CSSM and CASM for mocked data from config/samplefile(X).json.
- After building a CSM file, such as casmfile_domain_4.json, VariousProbabilitiesUtil.java can be run to obtain a naive decision probability.
- context.utility.randomGenerator.java is targeting a file like samplefile1.txt.
- convert from text to JSON: context.convertion.ConvertFileToClassToJson targeting a file like samplefile2.json.
PersonActivityGenerator.java targeting a file like samplefile2.json.