Research Article

Content Service Platform for Providing User-Centric Content in Smart Environments

Table 4

Situation and reasoning rules.

Rule IDRuleSituation IDContext factorValuePropertySWRL rule

R001First visit to smart streetS001DeviceIDBeaconusedDeviceMember(?x)^
hasDeviceHistory(?x,?y)
usedDevice(?y,?z)^
Beacon(?z)^
hasVisitCount(?x,?c)^
swrlb:equal(?c,1) ⟶
visitFirsttime(?x)
VisitCount= 1hasVisitCount
HistoryTypeBeaconSignalhasHistory usedDevice
.............
R004Prefer game contentS004TimeVlaue>30(min)hasTimeValueMember(?x)^
hasContentHistory(?x,?y)^
usedContent(?y,?z)^
hasTimeValue(?y,?t)^
sqwrl:makebag(?b,?t)^
sqwrl:count(?c,?b)^
swrlb:greaterThan(?c,180000)^
GameContent(?z) ^
sqwrl:makeSet(?s,?y)^
sqwrl:size(?size,?s)^ swrlb:greaterThan(?size,5)^

preferGameContent(?x)
HistoryType#(Game) > 5hasHistoryusedContent
..