annotate service/mqtt_to_rdf/config_frontdoorlock.n3 @ 767:f3607a373a00

front door support on another broker Ignore-this: 88794f304d22ed9f4f9fc92d84d3ae3c
author drewp@bigasterisk.com
date Sat, 02 May 2020 15:07:03 -0700
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
767
f3607a373a00 front door support on another broker
drewp@bigasterisk.com
parents:
diff changeset
1 @prefix : <http://projects.bigasterisk.com/room/> .
f3607a373a00 front door support on another broker
drewp@bigasterisk.com
parents:
diff changeset
2 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
f3607a373a00 front door support on another broker
drewp@bigasterisk.com
parents:
diff changeset
3 @prefix fr: <http://bigasterisk.com/foaf/> .
f3607a373a00 front door support on another broker
drewp@bigasterisk.com
parents:
diff changeset
4 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
f3607a373a00 front door support on another broker
drewp@bigasterisk.com
parents:
diff changeset
5
f3607a373a00 front door support on another broker
drewp@bigasterisk.com
parents:
diff changeset
6 :mqttConnectedStatusMap a :ValueMap;
f3607a373a00 front door support on another broker
drewp@bigasterisk.com
parents:
diff changeset
7 :map [:from "offline"; :to :Offline],
f3607a373a00 front door support on another broker
drewp@bigasterisk.com
parents:
diff changeset
8 [:from "online"; :to :Online] .
f3607a373a00 front door support on another broker
drewp@bigasterisk.com
parents:
diff changeset
9
f3607a373a00 front door support on another broker
drewp@bigasterisk.com
parents:
diff changeset
10 :frontDoorLockStatus a :MqttStatementSource;
f3607a373a00 front door support on another broker
drewp@bigasterisk.com
parents:
diff changeset
11 :mqttTopic ("frontdoorlock" "status");
f3607a373a00 front door support on another broker
drewp@bigasterisk.com
parents:
diff changeset
12
f3607a373a00 front door support on another broker
drewp@bigasterisk.com
parents:
diff changeset
13 :parser :mqttConnectedStatusMap;
f3607a373a00 front door support on another broker
drewp@bigasterisk.com
parents:
diff changeset
14
f3607a373a00 front door support on another broker
drewp@bigasterisk.com
parents:
diff changeset
15 :graphStatements [
f3607a373a00 front door support on another broker
drewp@bigasterisk.com
parents:
diff changeset
16 :outputPredicate :connectedStatus
f3607a373a00 front door support on another broker
drewp@bigasterisk.com
parents:
diff changeset
17 ]
f3607a373a00 front door support on another broker
drewp@bigasterisk.com
parents:
diff changeset
18
f3607a373a00 front door support on another broker
drewp@bigasterisk.com
parents:
diff changeset
19 .
f3607a373a00 front door support on another broker
drewp@bigasterisk.com
parents:
diff changeset
20