An OML adapter for OWL2-DL + SWRL Rules
git clone https://github.com/opencaesar/owl-adapter.git
cd owl-adapter
Requirements: java 8, node 8.x
cd owl-adapter
./gradlew build
MacOS/Linux:
./gradlew oml2owl:run --args="-i path/to/oml/folder -o path/to/owl/folder"
Windows:
gradlew.bat oml2owl:run --args="-i path/to/oml/folder -o path/to/owl/folder"
Optionally install it in your local maven repo (if you modified it)
./gradlew install
In a build.gradle script, add the following:
buildscript {
repositories {
mavenLocal()
maven { url 'https://dl.bintray.com/opencaesar/owl-adapter' }
maven { url 'https://dl.bintray.com/opencaesar/oml' }
jcenter()
}
dependencies {
classpath 'io.opencaesar.owl:oml2owl:+'
}
}
apply plugin: 'io.opencaesar.oml2owl'
oml2owl {
inputPath = 'path/to/oml/folder'
outputPath = 'path/to/owl/folder'
}
task build {
dependsOn generateOwl
}
task clean(type: Delete) {
delete 'path/to/owl/folder'
}
Replace <version> by the version, e.g., 1.2
./setversion <version>
git tag -a <version> -m "<version>"
git push origin <version>