Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue Importing .ttl File Using Neosemantics on Neo4j 4.4.32 #321

Open
Weiweihere opened this issue Apr 4, 2024 · 0 comments
Open

Issue Importing .ttl File Using Neosemantics on Neo4j 4.4.32 #321

Weiweihere opened this issue Apr 4, 2024 · 0 comments

Comments

@Weiweihere
Copy link

Weiweihere commented Apr 4, 2024

I am experiencing an issue while attempting to import a .ttl file into Neo4j using the Neosemantics (n10s) plugin. Despite following the documented procedures for RDF import, the process does not complete successfully.

Environment
Neo4j Version: 4.4.32 Community Edition
Neosemantics Version: 5.17.0

Steps to Reproduce
Ensure Neosemantics (neosemantics-5.17.0.jar) is placed in the Neo4j plugins directory.
Add required configurations to neo4j.conf .
Restart Neo4j to apply the changes.
Attempt to import a .ttl file using the following Cypher command with cypher shell on sever:
cypher-shell
CALL n10s.rdf.import.fetch("file:///mapping=en.ttl", "Turtle");

Expected Behavior
The .ttl file should be imported successfully, with nodes and relationships created based on the RDF data.

Actual Behavior
No such file or directory
terminationSratus is KO.

then later i tried with: CALL n10s.rdf.import.fetch("https://github.com/neo4j-labs/neosemantics/raw/3.5/docs/rdf/nsmntx.ttl","Turtle");
Neo.ClientError.Procedure.ProcedureCallFailed
Failed to invoke procedure n10s.rdf.import.fetch: Caused by: java.lang.NoSuchMethodError: 'org.neo4j.graphdb.ResourceIterable org.neo4j.graphdb.Node.getRelationships(org.neo4j.graphdb.Direction, org.neo4j.graphdb.RelationshipType[])'

if i load csv file with the command line it works for the csv file which saved at the same address as the ttl file.
LOAD CSV FROM 'file:///import/small_sample.csv' AS line RETURN line LIMIT 10;
I am not sure if i missed something.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant