benhid / nora

Spark-based OWL reasoner
http://benhid.com/nora/
MIT License
1 stars 0 forks source link

Need help with installation/setup #1

Open k00ni opened 1 year ago

k00ni commented 1 year ago

I am conducting a survey about OWL reasoners still useable in 2023 and would like to try this reasoner out. My Java knowledge is very limited and I have a hard time even setting this reasoner up:

  1. Running make build resulted in make: ./gradlew: Command not found error (OpenJDK 11 is installed, Gradle too)
  2. I assume spark-submit is part of Apache Spark or is that something else?
  3. What configuration options are required to set? Is it possible to provide some very basic test files?

You are using a jar-file at some point, could you provide it as a download (so I can skip the building part)? A docker setup with everything in it would also be helpful.

Thanks in advance

benhid commented 1 year ago

Hello @k00ni,

Thank you for your interest. I appreciate your questions and would be happy to assist you:

  1. To resolve the make: ./gradlew: Command not found error, please make sure you have the Gradle wrapper set up properly by running gradle wrapper --gradle-version 7.5.1. This will generate the necessary Gradle wrapper files. After that, you should be able to run make build without any issues.
  2. Yes, you are correct. spark-submit is indeed part of Apache Spark. It is a command-line tool for submitting Spark applications to a cluster.
  3. The configuration options required for Spark depend on the specific use case and cluster topology. For NORA, you only need to provide the Spark driver host in the configuration.

As for the jar file, I have created a release for you to try out the reasoner without going through the building process. You can download it from the following link: v1.0.0. The jar file should be included in the release page.

If you have any further questions or need assistance, please don't hesitate to ask. Good luck with your survey!

k00ni commented 1 year ago

@benhid Thank you for your feedback. Having the jar-file helps, but there are new road blocks now.

First of all, is NORA a general OWL reasoner, which provides functionality to infer new axioms from existing ones, for instance? If so, how can I get this running with a given OWL file, for instance https://github.com/Onto-Med/GFO/blob/master/gfo-basic.owl? Can I give it an OWL file and get a list of inferred axioms back?

The part in https://github.com/benhid/nora/tree/v1.0.0#getting-started about loading ontology into database is very confusing: java -cp nora.jar loader.LoadUnivBench. Where do I put my OWL file here? Is it set in the step before in the configuration file config.properties?

It seems that I have to have knowledge in Apache Spark to utilize this reasoner. After Spark is setup, are there further things to do before NORA can work?

Btw. it would be helpful to have a short summary of NORA's features.

Thanks for your time.