简体   繁体   中英

Fail to extract the RDF from neo4j Browser

I am trying to extract the rdf file from my graph, using commands like:GET /rdf/neo4j/describe/12,but it failed and shows "

Could not fetch URL: "undefined". This could be due to the remote server policy. See your web browsers error console for more information."

I can successfully run http://localhost:7474/rdf/neo4j/describe/12 on my own webbrowser after log in as a admin account.And it returns an "empty" rdf file that only has a prefix. I am also log in the neo4j browser with the same account, And because I don't know how to extract a path or a portion of the graph on web browser, I really need to know how to run it on the neo4j browser.

Have you tried to run :get http://localhost:7474/rdf/neo4j/describe/12 in the Neo4j browser (the whole URL instead of just the final bit)?

In order to find out why you're getting an empty dataset as a result I'd need a few more details. Here are some ideas for you to test.

  • If it's a graph built by importing RDF, nodeid-based search won't work, you'll have to do it by URI

  • If you've not imported RDF but built a native property graph then you won't need a graph config (check there's not one or it will mislead the RDF export endpoint and things won't work)

  • Again, if it's a native property graph, obvious but worth checking, make sure a node with id 12 exist? match (n) where id(n) = 12 return n

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM