How to load a owl file to neo4j using eclipse

127 views Asked by At

I have refered to this site "http://sujitpal.blogspot.in/2009/05/using-neo4j-to-load-and-query-owl.html" for loading a owl file but having trouble in doing it. It shows error at the import levl . I have updated the library and jar files still the error persist.

2

There are 2 answers

2
Stefan Armbruster On

Given that the referenced article is ~6 years old, I think it was based on Neo4j < 1.0. Don't remember completely but I think from 0.x -> 1.0 the package names changed, e.g. org.neo4j.api.core.Relationship moved to org.neo4j.graphdb.Relationship.

So either figure out on which version the article was based and use that version or upgrade the code.

1
Ignazio On

You do not have the required jars on the classpath.

Make sure you add all the jars you downloaded to your classpath.