OntoEval is a tool designed to evaluate ontologies. This guide will help you set up a development server, run the project, and build the kjar file.
- Clone the repository:
git clone <repository_url> cd <repository_folder>
- Create the
application.properties
file:
- Navigate to the
src/main/resources
directory. - Copy the
application.properties.sample
file to createapplication.properties
.cp src/main/resources/application.properties.sample src/main/resources/application.properties
- Edit the application.properties file to configure your environment-specific properties as needed.
- Run the project(in dev mode): You can run project in two ways:
-
using maven from the command line
cd <repository_folder> mvn spring-boot:run
-
using maven from the command line:
- Open IntelliJ IDEA.
- Select "Open" and navigate to the project directory.
- Open the project.
- Wait for IntelliJ to index the project and download dependencies.
- Navigate to the main class (e.g., com.example.OntoEvalApplication).
- Right-click the main class and select "Run 'OntoEvalApplication'".
- Build the project (for deployment):
- build the project
mvn clean install
- Navigate to the target folder
cd target
- Run the generated jar file
java -jar ontoeval-1.0-SNAPSHOT.jar
- Endpoint Testing:
curl -X POST http://localhost:8000/normalization \ -F 'ontologyFile=@/path/to/your/ontologyFile'