Hello,
running 1. (remote) works fine, while running 2. (local) doesn't work (see results below)
-
remote CALL semantics.importRDF("https://github.com/neo4j-labs/neosemantics/raw/3.5/docs/rdf/nsmntx.ttl","Turtle",{})
-
local CALL semantics.importRDF("file://Users/bora/Documents/nsmntx.ttl","Turtle",{})
"terminationStatus"│"triplesLoaded"│"triplesParsed"│"namespaces"│"extraInfo"│"configSummary"│
╞═══════════════════╪═══════════════╪═══════════════╪════════════╪═══════════╪═══════════════╡
│"KO" │0 │0 │{} │"Users" │{}
Add one more slash in the url. Notice the file:///
:
CALL semantics.importRDF("file:///Users/bora/Documents/nsmntx.ttl","Turtle",{})
But I see that the error message is not particularly helpful :( we'll try to improve that.
Cheers,
JB.
Hi Jesus,
thanks for the answer.
I have another related question:
running the command
CALL n10s.rdf.import.fetch("file://nsmntx.ttl","Turtle")
outputs:
"terminationStatus"│"triplesLoaded"│"triplesParsed"│"namespaces"│"extraInfo" │"callParams"│
╞═══════════════════╪═══════════════╪═══════════════╪════════════╪════════════╪════════════╡
│"KO" │0 │0 │null │"nsmntx.ttl"│{} │
The file nsmntx.ttl is taken from https://github.com/neo4j-labs/neosemantics/raw/3.5/docs/rdf/nsmntx.ttl
Any thoughts why I'm not receiving any results?
Hi, is it not exactly the same problem?
What happens if you try this path instead? "file:///Users/bora/Documents/nsmntx.ttl"
You have to use an absolute path in 4.0, just like you did in 3.5
1 Like
Why is there no drive letter in the path? Drive C or D?
It's the local path from where I'm running the code.
You are probably meaning the absolute path.