view show/dance2011/patch-rules.n3 @ 1416:ab7b40d20af0

rewrite theaterConfig to a better data format Ignore-this: 54bc8ed67a85adb2e96334c2a917c83b
author Drew Perttula <drewp@bigasterisk.com>
date Fri, 10 Jun 2016 12:09:59 +0000
parents ef09899cd92c
children
line wrap: on
line source

@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 . 
} .