diff show/dance2013/patch-rules.n3 @ 879:6504df2aee03

show 2013 data Ignore-this: a36a24c7a2a13ae4f4088f57a97e14a0
author Drew Perttula <drewp@bigasterisk.com>
date Sat, 08 Jun 2013 00:54:56 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/show/dance2013/patch-rules.n3	Sat Jun 08 00:54:56 2013 +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 . 
+} .