view show/dance2012/patch-rules.n3 @ 738:fdc7143870bf

start 2012 show Ignore-this: 771414372a15556681d174a0b6103bd
author Drew Perttula <drewp@bigasterisk.com>
date Fri, 15 Jun 2012 07:31:16 +0000
parents
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 . 
} .