annotate show/dance2007/patch2n3 @ 522:e20419d637d5
initial vidref tests
Ignore-this: f3ca12ad8071d889ed71689be0716827
author |
drewp@bigasterisk.com |
date |
Tue, 08 Jun 2010 06:52:59 +0000 |
parents |
aad18eb02fb0 |
children |
|
rev |
line source |
409
|
1 OUT=patch.n3
|
|
2 echo "@prefix ch: <http://light9.bigasterisk.com/theater/skyline/channel/> ." > $OUT
|
|
3 echo "@prefix dmx: <http://light9.bigasterisk.com/dmx/> ." >> $OUT
|
|
4 echo "@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> ." >> $OUT
|
|
5 echo "@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> ." >> $OUT
|
|
6 echo "@prefix : <http://light9.bigasterisk.com/> ." >> $OUT
|
|
7 echo "@prefix mus: <http://light9.bigasterisk.com/music/> ." >> $OUT
|
|
8 echo "@prefix show: <http://light9.bigasterisk.com/show/> ." >> $OUT
|
|
9 echo "@prefix sh: <http://light9.bigasterisk.com/show/dance2007/> ." >> $OUT
|
|
10
|
|
11 perl -ne 'print if /\S/ && !/^#/' patch.txt | perl -lpe 'split; $_="ch:$_[0] a :Channel; rdfs:label \"$_[0]\"; :output dmx:c$_[1] .";' >> $OUT
|
|
12
|