-
Notifications
You must be signed in to change notification settings - Fork 5
Situation Reasoner Client
The Situation Reasoner Client is a GUI for the Situation Reasoner that infers higher-level semantic context based on lower-level semantic context.
As set of certain context events, that must be issued on the context bus by any component, can be defined as a Situation. When this situation occurs, a certain SPARQL-query (CONSTRUCT) is executed on the CHE. The combination of situation and query is called a Rule.
For example, when a person is in the bed (context event 1) and he has his eyes closed (context event 2) and he is snoring (context event 3), then the person is sleeping (= CONSTRUCTed new event).
Requires CHE, Situation Reasoner, and some context providers (like lighting server and client) to run. The events on the context bus coming from these providers is used as basis to fill out the dialogs.
The main GUI shows the registered situations, queries, and rules.
A situation can be added based on context events that were sent by any component on the context bus.
Similarly, a possible query is proposed based on context events on the bus. The query can be edited manually.
The rule is the combination of situation and query - the query is executed when the situation occurs.
Currently, the client only supports one situation for a rule.