This is a Spring Boot application that generates RDF data from a given CSV and Yaml file. The application uses the RML.io library's to generate the RDF data.
You run it using the java -jar
command.
- Clone this repository
- Make sure you are using JDK 17 and Maven 3.x
- You can build the project and run the tests by running
mvn clean package
- Once successfully built, you can run the service by one of these two methods:
java -jar target/spring-boot-0.0.1-SNAPSHOT.jar
or
mvn spring-boot:run
Once the application runs you should see something like this
2024-07-02T12:05:43.529+02:00 INFO 91552 --- [spring-boot] [ main] com.example.springboot.Application : No active profile set, falling back to 1 default profile: "default"
2024-07-02T12:05:44.967+02:00 INFO 91552 --- [spring-boot] [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 8081 (http)
$ curl -X POST -F "[email protected]" -F "[email protected]" http://localhost:8081/generateLinkedData > sample.nt
$ docker build -t rdf-generator-api .
$ docker run -p 8081:8081 -it rdf-generator-api
$ docker pull zihancr/rdfgenerator