https://github.com/jeromewu/jenaontapp
Jena Ontology Application
https://github.com/jeromewu/jenaontapp
Last synced: about 1 year ago
JSON representation
Jena Ontology Application
- Host: GitHub
- URL: https://github.com/jeromewu/jenaontapp
- Owner: jeromewu
- Created: 2015-03-04T11:14:46.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-03-08T04:10:19.000Z (over 11 years ago)
- Last Synced: 2025-02-05T06:43:15.925Z (over 1 year ago)
- Language: Java
- Homepage:
- Size: 11.1 MB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# JenaOntApp
## Introduction
JenaOntApp is a program to combine the ontology and jena generic reasoner for the application, the goal is to create a program that user only have to define the ontology, input data and the rule without modifying the program to achieve the goal.
This program is still under construction, more features on the way.
## Build
The program is build by using the [maven](http://maven.apache.org/) build tools, you only need to key in
```
$ mvn clean compile assembly:single
```
The source code will be compiled into an independent jar file, so you don't have to add lots of class path to execute :)
## Execute
For executing this program you will need 3 input files, and the command line will be like this
```
$ java -cp com.delta.JenaOntApp
```
* jarfile : the file you compiled
* rdffile : the ontology file in RDF/XML format
* rulefile : the rule file for reasoner, please check [here](http://jena.apache.org/documentation/inference/#rules) for more info
* jsonfile : the json file is the runtime data for the program, see the example below to know more, the abbr. of the namespace is defined in rule file
```
{
"args": [
{"property":"subClassOf", "propertyNS":"rdfs", "value":"Thing", "valueNS":"owl"},
...
]
}
```
You can also check makefile to see how to build and execute, and there are some sample data in the directory data
## Contact
Please feel free to contact jeromewus@gmail.com