diff show/dance2014/patch-rules.n3 @ 1039:3335de84e3fe

some new data for 2014 Ignore-this: 66f91a50c21671a73963c336a830f109
author Drew Perttula <drewp@bigasterisk.com>
date Tue, 27 May 2014 07:31:56 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/show/dance2014/patch-rules.n3	Tue May 27 07:31:56 2014 +0000
@@ -0,0 +1,18 @@
+@prefix ch: <http://light9.bigasterisk.com/theater/piedmont/channel/> .
+@prefix dmx: <http://light9.bigasterisk.com/dmx/> .
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix l9: <http://light9.bigasterisk.com/> .
+@prefix log: <http://www.w3.org/2000/10/swap/log#>.
+@prefix string: <http://www.w3.org/2000/10/swap/string#>.
+
+@prefix prep: <http://light9.bigasterisk.com/prepStatements/> .
+
+{ 
+  [prep:name ?name; prep:output ?c] . 
+
+  ch: log:uri ?channelNamespace .
+  (?channelNamespace ?name) string:concatenation ?uriString . 
+  ?chanUri log:uri ?uriString . 
+} => { 
+  ?chanUri a l9:Channel; rdfs:label ?name; l9:output ?c . 
+} .