Demo #
The demo project illustrates several features of the ProCAKE framework in two exemplary domains:
- The cars domain contains a data-set about used vehicles for sale. The casebase consists of structured, attribute-value based cases. The domain model, the casebase, and the specified similarity model for the cars domain can be found in the demo project at
src/resources/domains/cars/
. - The recipes domain contains a data-set about cooking instructions. The demo project contains two recipes casebases: In the first casebase, the recipes are represented as attribute-value pairs. The casebase, the similarity model, and the domain model can be found at
src/resources/domains/recipes/objects/
. In the second casebase, the recipes are represented as workflows. The corresponding models and the casebase can be found atsrc/resources/domains/recipes/workflows/
.
There are different exemplary demos in this project:
- Class
GettingStartedDemo
: Demonstrates the basic usage of the ProCAKE framework - Package
cars
: Provides a demo classCarsRetrievalDemo
demonstrating the attribute-value based retrieval on the cars casebase- Package
ontology
: Provides a demo classCarsOntologyRetrievalDemo
demonstrating the OWL integration using theManufacturer
taxonomy converted to an ontology which then is used as aURIClass
in conjunction with aInstanceOntologyOrderPredicate
in the model. Covers the taxonomy to ontology converter, ontology loading, linking it to aURIClass
, defining instances of theURIClass
in the casebase, adding a path based similiarity measure for theURIClass
and a retrieval showing the similarity calculation.
- Package
- Package
recipes
: Demonstrates a retrieval on the recipes casebase- Package
objects
: Provides a demo classRecipesRetrievalDemo
demonstrating an attribute-value based retrieval on the recipes casebase - Package
workflows
: Demonstrates a process-oriented retrieval on the recipes casebase- Package
info
: Provides classes to explore the underlying domain model - Package
gui
: Demonstrates graph-based retrieval with a graphical user interface - Package
cli
: Provides two demo classes (CLIDemoMetaDataQuery
andCLIDemoGraphQuery
) demonstrating the retrieval with an attribute-value query and a graph-based query
- Package
- Package
- Package
dependencies
: Demonstrates the Dependency-Guided Retrieval approach by performing such a retrieval on the process-oriented recipes casebase. - Package
timeSeries
: Demonstrates a retrieval with a casebase containing sensor data from a smart factory. The cases consist of different attributes, which contain individual IoT sensor data represented by time series. Each time series specifies the values of a sensor from the smart factory over time.
Setup for IntelliJ IDEA IDE #
Current development is done with IntelliJ IDEA on Windows 10. Make sure that you have a current Java version installed. The ProCAKE framework expects Java 11. To import the project please follow the following steps:
- Before you start IntelliJ, download and install Git for Windows from https://git-scm.com/
- Check out the ProCAKE demo project from https://gitlab.rlp.net/procake/procake-demos.git. In IntelliJ IDEA select
VCS | Checkout from Version Control | Git
. - ProCAKE demos is as well as the ProCAKE Framework a Maven project, so make sure that the project is imported as a maven project.