neosemantics
neosemantics copied to clipboard
neo4jsemantics is not working anymore with neo4j browser 4.01
Is there are problem with neo4jsemantics 3..5.04 and neo4j browser 4.0.8 I'm trying to run : GET rdf/ping and :GET /rdf/onto and get now: "Could not fetch URL: "404 Not Found". This could be due to the remote server policy. See your web browsers error console for more information." I had it working before the upgrade. Thanks Tim
Hi Tim, notice that in 4.0 you have to use the full URL instead of just the relative part.
Also, because in 4.x you can have multiple databases, you'll need to include the DB name in the URL too. It's all in the manual ;-)
There are some additional changes to the RDF endpoint so we've created a guide for migrating between 3.5.x and 4.x
So to answer your question, assuming you're running Neo4j locally on the standard port, and that you're using the default DB (called neo4j), your GET request will look something like this in 4.0:
:GET HTTP://localhost:7474/rdf/neo4j/onto
Hi Jesus
Thanks.
I got it working. I created a completely new graph in 4.0. That fixed the problem. However, strange I have a problem with
:GET http://localhost:7474/rdf/n10s/ping
It gives me the following error.
Could not fetch URL: "404 Not Found". This could be due to the remote server policy. See your web browsers error console for more information.
Am I missing something regards to security in the config file?
Thanks
Tim
From: J. Barrasa [email protected] Sent: May 25, 2020 5:28 AM To: neo4j-labs/neosemantics [email protected] Cc: Tim Reimer [email protected]; Author [email protected] Subject: Re: [neo4j-labs/neosemantics] neo4jsemantics is not working anymore with neo4j browser 4.01 (#158)
Hi Tim, notice that in 4.0 you have to use the full URL instead of just the relative part. Also, because in 4.x you can have multiple databases, you'll need to include the DB name in the URL too. It's all in the manual https://neo4j.com/docs/labs/nsmntx/current/export/ ;-) There are some additional changes to the RDF endpoint so we've created a guide for migrating https://neo4j.com/docs/labs/nsmntx/current/appendix_migration/#RDF_endpoint_changes between 3.5.x and 4.x
So to answer your question, assuming you're running Neo4j locally on the standard port, and that you're using the default DB (called neo4j), your GET request will look something like this in 4.0: :GET HTTP://localhost:7474/rdf/neo4j/onto
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/neo4j-labs/neosemantics/issues/158#issuecomment-633525554 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AFZ3WER5GGMPRUWYU56OXILRTJI3BANCNFSM4NJFYZLA . https://github.com/notifications/beacon/AFZ3WETDDSCJTEHQZL242O3RTJI3BA5CNFSM4NJFYZLKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEXBNKMQ.gif
Great to hear, Tim.
The problem you're finding with the ping method is actually our fault. The URL in the documentation is wrong and it should be :GET http://localhost:7474/rdf/ping.
The correction is checked in and will be published with the next release hopefully in less than a week.
Cheers,
JB.
HI Jesus
Great that worked. Thank you very much for your help greatly appreciate it.
Take Care
Tim
From: J. Barrasa [email protected] Sent: May 25, 2020 5:28 AM To: neo4j-labs/neosemantics [email protected] Cc: Tim Reimer [email protected]; Author [email protected] Subject: Re: [neo4j-labs/neosemantics] neo4jsemantics is not working anymore with neo4j browser 4.01 (#158)
Hi Tim, notice that in 4.0 you have to use the full URL instead of just the relative part. Also, because in 4.x you can have multiple databases, you'll need to include the DB name in the URL too. It's all in the manual https://neo4j.com/docs/labs/nsmntx/current/export/ ;-) There are some additional changes to the RDF endpoint so we've created a guide for migrating https://neo4j.com/docs/labs/nsmntx/current/appendix_migration/#RDF_endpoint_changes between 3.5.x and 4.x
So to answer your question, assuming you're running Neo4j locally on the standard port, and that you're using the default DB (called neo4j), your GET request will look something like this in 4.0: :GET HTTP://localhost:7474/rdf/neo4j/onto
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/neo4j-labs/neosemantics/issues/158#issuecomment-633525554 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AFZ3WER5GGMPRUWYU56OXILRTJI3BANCNFSM4NJFYZLA . https://github.com/notifications/beacon/AFZ3WETDDSCJTEHQZL242O3RTJI3BA5CNFSM4NJFYZLKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEXBNKMQ.gif