eyeleng 1.0.5 → 1.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
1
  :test :first 1 .
2
- :test :second _:b1 .
2
+ :test :second _:b3 .
3
3
  :test :secondProperty :q .
4
4
  :test :thirdFirst 2 .
@@ -0,0 +1,3 @@
1
+ <urn:eyeleng:message-log:03ead54e#m001> :mentionsSensor :s1 .
2
+ <urn:eyeleng:message-log:03ead54e#m002> :isHeartbeat true .
3
+ <urn:eyeleng:message-log:03ead54e#m003> :mentionsSensor :s2 .
@@ -0,0 +1,15 @@
1
+ PREFIX : <http://example/messages#>
2
+ PREFIX eymsg: <https://eyereasoner.github.io/eyeling/vocab/message#>
3
+
4
+ IMPORTS <./rdf-messages.trig>
5
+
6
+ RULE { ?envelope :mentionsSensor ?sensor }
7
+ WHERE {
8
+ ?envelope eymsg:payloadGraph ?payload .
9
+ ?payload eymsg:payloadTriple <<(?reading :sensor ?sensor)>> .
10
+ }
11
+
12
+ RULE { ?envelope :isHeartbeat true }
13
+ WHERE {
14
+ ?envelope eymsg:payloadKind eymsg:empty .
15
+ }
@@ -0,0 +1,12 @@
1
+ VERSION "1.2-messages"
2
+ PREFIX : <http://example/messages#>
3
+
4
+ _:reading :sensor :s1 ; :value 21 .
5
+
6
+ MESSAGE
7
+
8
+ # Empty heartbeat message.
9
+
10
+ MESSAGE
11
+
12
+ _:reading :sensor :s2 ; :value 22 .