annotate show/dance2007/patch2n3 @ 979:c1f3cc23b51b

subcomposer wouldn't draw right if there is an odd number of channels Ignore-this: 981a0c4ef92f82f2b14505185fb9fce6
author drewp@bigasterisk.com
date Sat, 15 Jun 2013 23:05:43 +0000
parents aad18eb02fb0
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
409
aad18eb02fb0 show checkpoint
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
1 OUT=patch.n3
aad18eb02fb0 show checkpoint
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
2 echo "@prefix ch: <http://light9.bigasterisk.com/theater/skyline/channel/> ." > $OUT
aad18eb02fb0 show checkpoint
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
3 echo "@prefix dmx: <http://light9.bigasterisk.com/dmx/> ." >> $OUT
aad18eb02fb0 show checkpoint
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
4 echo "@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> ." >> $OUT
aad18eb02fb0 show checkpoint
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
5 echo "@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> ." >> $OUT
aad18eb02fb0 show checkpoint
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
6 echo "@prefix : <http://light9.bigasterisk.com/> ." >> $OUT
aad18eb02fb0 show checkpoint
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
7 echo "@prefix mus: <http://light9.bigasterisk.com/music/> ." >> $OUT
aad18eb02fb0 show checkpoint
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
8 echo "@prefix show: <http://light9.bigasterisk.com/show/> ." >> $OUT
aad18eb02fb0 show checkpoint
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
9 echo "@prefix sh: <http://light9.bigasterisk.com/show/dance2007/> ." >> $OUT
aad18eb02fb0 show checkpoint
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
10
aad18eb02fb0 show checkpoint
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
11 perl -ne 'print if /\S/ && !/^#/' patch.txt | perl -lpe 'split; $_="ch:$_[0] a :Channel; rdfs:label \"$_[0]\"; :output dmx:c$_[1] .";' >> $OUT
aad18eb02fb0 show checkpoint
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
12