Research Article

An IoT-Aware Architecture for Collecting and Managing Data Related to Elderly Behavior

Table 4

Example of rules used in the test.

Rule name“When” declarationDirection“Then” declaration

buildinglocation:(?subject rdf:type vocab:location), 
(?subject vocab:location indoor “t”), 
(?subject vocab:location pilot id ?object)
>(?subject schema:Place city4age:Building)

registeredstatus:(?subject vocab:executed action date ?object) 
greaterThan(?object, “2014-04 21T07:08:41”8sd:dateTime) 
lessThan(?object, “2014-08-21T07:08:41”8sd:dateTime)
>(?subject schema:actionStatus “registered”)