You can either download a prebuilt jar from the releases area or build it from the source. If you prefer to build, check the note below.
Copy the the jar(s) in the <NEO_HOME>/plugins directory of your Neo4j instance. (note: If you’re going to use the JSON-LD serialisation format for RDF, you’ll need to include also APOC)
Add the following line to your <NEO_HOME>/conf/neo4j.conf (notice that it is possible to modify where the extension is mounted by using an alternative name to
Restart the server.
Check that the installation went well by running
The list of procedures should include the ones documented below. You can check that the extension is mounted by running
The previous command assumes you’re running neo4j on your local machine, replace
localhos with the host name if that is not the case.
Note on build
When you run
mvn clean package
it will produce two jars
A neosemantics-[…].jar This jar bundles all the dependencies.
An original-neosemantics-[…].jar This jar is just the neosemantics bit. So go this way if you want to keep the third party jars separate. In this case you will have to add all third party dependencies (look at the pom.xml).
Neosemantics uses rdf4j for parsing and serialising RDF. Eclipse rdf4j is a powerful Java framework for processing and handling RDF data.