neo4j-labs / neosemantics

Graph+Semantics: Import/Export RDF from Neo4j. SHACL Validation, Model mapping and more.... If you like it, please ★ ⇧
https://neo4j.com/labs/neosemantics/
Apache License 2.0
813 stars 141 forks source link

Failing on simple import #167

Closed andreacortis closed 4 years ago

andreacortis commented 4 years ago

I am working with Neo4j 4.0.3

Following the instructions on

https://neo4j.com/docs/labs/nsmntx/current/install/

I placed the jar file in

bash-3.2$ pwd
/Users/acortis/Library/Application Support/Neo4j Desktop/Application/neo4jDatabases/database-6e957d8c-9e48-4188-8c9c-926e4eb52a86/installation-4.0.3/plugins
bash-3.2$ ls
README.txt                      neosemantics-4.0.0.1.jar
bash-3.2$ 

When I try the command

CALL n10s.rdf.import.fetch("https://github.com/neo4j-labs/neosemantics/raw/3.5/docs/rdf/nsmntx.ttl","Turtle")

I get a termination status KO with message "A Graph Config is required for RDF importing procedures to run"

Screenshot 2020-06-30 12 52 57

Could you please advise if I am doing anything wrong here? Thanks

jbarrasa commented 4 years ago

Hi @andreacortis , yes, you need to create a graph config before you attempt your first import.

So you did chapter 1 (install) and went straight to chapter 3 (import). The answer to your question is in chapter 2 (setting up Neo4j to use RDF data) ;-) You'll have to do two things:

I hope that helps.

JB.

andreacortis commented 4 years ago

oops ... thank you :)