neosemantics icon indicating copy to clipboard operation
neosemantics copied to clipboard

n10s.rdf.import.inline doesn't work for JSON-LD

Open zero0nee opened this issue 3 years ago • 2 comments

First of all: I love the Neosemantics library, so thank you for building it and maintaining it. You are doing a great service for the entire semantic web community. <3

Now to the problem. When running n10s.rdf.import.inline to import a JSON-LD string, using Neo4j 4.4.9 and Neosemantics 4.4.0.1, I get the error message:

`Failed to invoke procedure 'n10s.rdf.import.inline': Caused by: java.lang.NoSuchMethodError: 'com.fasterxml.jackson.core.util.JacksonFeatureSet com.fasterxml.jackson.core.JsonParser.getReadCapabilities()'

How to reproduce:

  1. Install Neo4j 4.4.9
  2. Go to http://localhost:7474/browser/
  3. Run
CALL n10s.rdf.import.inline('{"@type": "Actor", "@id": "http://test.io/olcaId/0044417a-cd8e-447c-8205-d158af171f81", "@context": "http://test.github.io/olca-schema/context.jsonld"}','JSON-LD');
  1. Get the above error message.

zero0nee avatar Aug 23 '22 16:08 zero0nee

This seems to be a duplicate of #259

sebplorenz avatar Aug 29 '22 12:08 sebplorenz

Update: This seems to be solved when I use Neo4j 4.4.12 and Neosemantics 4.4.0.2. If it is indeed solved, you might want to close this issue.

zero0nee avatar Nov 01 '22 14:11 zero0nee