Note that there are some explanatory texts on larger screens.

plurals
  1. POFailure importing GraphML using neo4j-shell tools
    primarykey
    data
    text
    <p>When running neo4j-shell with tools from <a href="https://github.com/jexp/neo4j-shell-tools" rel="nofollow">https://github.com/jexp/neo4j-shell-tools</a> it will not load my graphml file, validated on <a href="http://validator.w3.org/check" rel="nofollow">http://validator.w3.org/check</a>. </p> <p>Neo4j runs on Ubuntu under KDE with OpenJDK IcedTea 2.3.9</p> <p>Here is the command and message:</p> <pre><code>neo4j-sh (0)$ import-graphml -i /home/larsj/Prosjekt/neograf/bigram_graph.xml -t bigram GraphML-Import file /home/larsj/Prosjekt/neograf/bigram_graph.xml rel-type bigram batch-size 40000 use disk-cache false 0. 100%: nodes = 1 rels = 0 properties = 0 time 6 ms null </code></pre> <p>How can it be made to work? Here is a snippet of my graphml file:</p> <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;graphml xmlns="http://graphml.graphdrawing.org/xmlns" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns http://graphml.graphdrawing.org/xmlns/1.0/graphml.xsd"&gt; &lt;key id = "form0" for = "node" attr.name = "label" attr.type = "string"/&gt; &lt;key id = "freq0" for = "all" attr.name = "frequency" attr.type = "int"/&gt; &lt;key id = "mi0" for = "edge" attr.name = "mi" attr.type = "float"/&gt; &lt;key id = "label0" for = "edge" attr.name = "label" attr.type = "string"&gt; &lt;default&gt;bigram&lt;/default&gt; &lt;/key&gt;&lt;graph id="nb.no/bigrams" edgedefault="directed"&gt; &lt;node id="1512655"&gt; &lt;data key = "form0"&gt;barn&lt;/data&gt; &lt;data key = "freq0"&gt;526136&lt;/data&gt; &lt;/node&gt; &lt;node id="1781558"&gt; &lt;data key = "form0"&gt;fattige&lt;/data&gt; &lt;data key = "freq0"&gt;49089&lt;/data&gt; &lt;/node&gt; &lt;edge source = "2305969" target = "3070510"&gt; &lt;data key = "freq0"&gt;86421&lt;/data&gt; &lt;data key = "mi0"&gt;71.57629973392675&lt;/data&gt; &lt;/edge&gt; &lt;edge source = "3070510" target = "3070510"&gt; &lt;data key = "freq0"&gt;22&lt;/data&gt; &lt;data key = "mi0"&gt;-9.818479721124337&lt;/data&gt; &lt;/edge&gt; </code></pre> <p></p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload