annotate show/dance2007/patch2n3 @ 1361:c20dc52e5593
move to rdfdbclient.coffee
Ignore-this: 16a68c0fd3efffb27e6037570c1a48b1
author |
Drew Perttula <drewp@bigasterisk.com> |
date |
Sun, 05 Jun 2016 09:53:24 +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
|