Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
10-11-2021 11:06 PM
Hi,
Is it possible to make n10s calls in Node.js?
Something along the lines of
session.run(call n10s.rdf.import.fetch( ... ) );
thanks
Richard Tresider
10-12-2021 02:32 AM
Hi @rtveritas ,
Absolutely 🙂
CALL
is standard cypher syntax so you can use CALL n10s.*
with all drivers.
Here's an example in python (older version of the plugin, but the idea is the same). You can use it with the javascript driver pretty much in the same way.
Also, note that when used like that, you may want to consider also the .inline
flavour instead of the .fetch
depending on how are you passing the RDF. There are examples of that in the repo.
Hope this helps.
JB
10-12-2021 11:29 PM
Hi Jesus,
Thank you for the prompt response. That was exactly what I was looking for.
Node.js, neosemantics and Neo4j all now working happily together.
thanks
Richard Tresider
All the sessions of the conference are now available online