Skip to content

Commit 31419c6

Browse files
committed
update namespace and packages
1 parent ada6568 commit 31419c6

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

hefquin-vocabs/build.sh

+11-11
Original file line numberDiff line numberDiff line change
@@ -34,36 +34,36 @@ function proc
3434
echo "Schemagen: $FILE"
3535

3636
# -e syntax
37-
${JENA_HOME}/bin/schemagen --rdfs -e TURTLE -i "$FILE" -n "$CLASS" -a "$NS" -o "$CLASS".java "$@"
37+
${JENA_HOME}/bin/schemagen --owl -e TURTLE -i "$FILE" -n "$CLASS" -a "$NS" -o "$CLASS".java "$@"
3838
# Add imports
3939
echo "package ${PKG};" >> "$TMP"
4040
echo >>"$TMP"
4141
cat "$CLASS".java >> "$TMP"
4242
mv "$TMP" "$CLASS".java
43-
mv "$CLASS".java ${DIR}/
43+
mv "$CLASS".java ${DIR}
4444
}
4545

4646
function procLPGtoRDF
4747
{
48-
syntaxCheck LPGtoRDFConfiguration.ttl
49-
proc LPGtoRDFConfiguration.ttl \
48+
syntaxCheck lpg2rdfconf.ttl
49+
proc lpg2rdfconf.ttl \
5050
LPGtoRDF \
51-
"http://www.example.org/se/liu/ida/hefquin/lpg2rdf#" \
52-
"se.liu.ida.hefquin.engine.wrappers.lpgwrapper.vocabulary" \
53-
../hefquin-pgconnector/src/main/java/se/liu/ida/hefquin/engine/wrappers/lpgwrapper/vocabulary/
51+
"http://w3id.org/hefquin/lpg2rdf#" \
52+
"se.liu.ida.hefquin.engine.wrappers.lpg.vocabulary" \
53+
../hefquin-pgconnector/src/main/java/se/liu/ida/hefquin/engine/wrappers/lpg/vocabulary/
5454
}
5555

5656
function procECVocab
5757
{
58-
syntaxCheck EngineConfiguration.ttl
59-
proc EngineConfiguration.ttl \
58+
syntaxCheck engineconf.ttl
59+
proc engineconf.ttl \
6060
ECVocab \
61-
"http://www.example.org/se/liu/ida/hefquin/engineconf#" \
61+
"http://w3id.org/hefquin/engineconf#" \
6262
"se.liu.ida.hefquin.engine.vocabulary" \
6363
../hefquin-engine/src/main/java/se/liu/ida/hefquin/engine/vocabulary/
6464
}
6565

6666
### Below, uncomment the line for which you want to run the script.
6767

68-
#procLPGtoRDF
68+
procLPGtoRDF
6969
procECVocab

0 commit comments

Comments
 (0)