neosemantics icon indicating copy to clipboard operation
neosemantics copied to clipboard

Issue Importing .ttl File Using Neosemantics on Neo4j 4.4.32

Open Weiweihere opened this issue 1 year ago • 0 comments

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.

Weiweihere avatar Apr 04 '24 08:04 Weiweihere