@@ -34,36 +34,36 @@ function proc
34
34
echo " Schemagen: $FILE "
35
35
36
36
# -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 " $@ "
38
38
# Add imports
39
39
echo " package ${PKG} ;" >> " $TMP "
40
40
echo >> " $TMP "
41
41
cat " $CLASS " .java >> " $TMP "
42
42
mv " $TMP " " $CLASS " .java
43
- mv " $CLASS " .java ${DIR} /
43
+ mv " $CLASS " .java ${DIR}
44
44
}
45
45
46
46
function procLPGtoRDF
47
47
{
48
- syntaxCheck LPGtoRDFConfiguration .ttl
49
- proc LPGtoRDFConfiguration .ttl \
48
+ syntaxCheck lpg2rdfconf .ttl
49
+ proc lpg2rdfconf .ttl \
50
50
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/
54
54
}
55
55
56
56
function procECVocab
57
57
{
58
- syntaxCheck EngineConfiguration .ttl
59
- proc EngineConfiguration .ttl \
58
+ syntaxCheck engineconf .ttl
59
+ proc engineconf .ttl \
60
60
ECVocab \
61
- " http://www.example. org/se/liu/ida /hefquin/engineconf#" \
61
+ " http://w3id. org/hefquin/engineconf#" \
62
62
" se.liu.ida.hefquin.engine.vocabulary" \
63
63
../hefquin-engine/src/main/java/se/liu/ida/hefquin/engine/vocabulary/
64
64
}
65
65
66
66
# ## Below, uncomment the line for which you want to run the script.
67
67
68
- # procLPGtoRDF
68
+ procLPGtoRDF
69
69
procECVocab
0 commit comments