Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
08-16-2020 03:52 AM
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" │{}
Solved! Go to Solution.
09-04-2020 05:55 AM
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
08-18-2020 04:39 AM
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.
09-04-2020 04:03 AM
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?
09-04-2020 05:55 AM
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
05-01-2022 06:37 AM
Why is there no drive letter in the path? Drive C or D?
05-01-2022 06:52 AM
It's the local path from where I'm running the code.
You are probably meaning the absolute path.
All the sessions of the conference are now available online