Skip to content

JWT007/owl-adapter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OML Adapter for OWL

Build Status Download

An OML adapter for OWL2-DL + SWRL Rules

Clone

    git clone https://github.com/opencaesar/owl-adapter.git
    cd owl-adapter

Build

Requirements: java 8, node 8.x

    cd owl-adapter
    ./gradlew build

Run as CLI

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"

Run from Gradle

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'
}

Release

Replace <version> by the version, e.g., 1.2

  ./setversion <version>
  git tag -a <version> -m "<version>"
  git push origin <version>

About

The OML adapter for OWL

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Xtend 100.0%