Mercurial > code > home > repos > light9
diff show/dance2015/patch-rules.n3 @ 1236:e644d8f10c04
start 2015 show data
Ignore-this: 1534a0efa18679c66781bea463b8b74e
author | Drew Perttula <drewp@bigasterisk.com> |
---|---|
date | Wed, 10 Jun 2015 05:50:04 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/show/dance2015/patch-rules.n3 Wed Jun 10 05:50:04 2015 +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 . +} .