<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>neo4j on Kai Striega</title><link>http://kaistriega.com/tags/neo4j/</link><description>Recent content in neo4j on Kai Striega</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Sun, 08 Dec 2024 08:25:52 +1100</lastBuildDate><atom:link href="http://kaistriega.com/tags/neo4j/index.xml" rel="self" type="application/rss+xml"/><item><title>Curiously Related Words Constructing Our Query</title><link>http://kaistriega.com/blog/curiously-related-words/curiously-related-words-constructing-our-query/</link><pubDate>Sun, 08 Dec 2024 08:25:52 +1100</pubDate><guid>http://kaistriega.com/blog/curiously-related-words/curiously-related-words-constructing-our-query/</guid><description>&lt;h2 id="querying-data"&gt;Querying data&lt;a class="headerlink" href="#querying-data" title="Link to this heading"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Neo4j uses a query language called &lt;a href="https://neo4j.com/docs/cypher-manual/current/introduction/"&gt;Cypher&lt;/a&gt;&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt;. Cypher
was inspired by ASCII art and lets us represent our ideas very intuitively. Nodes are represented as being in
parentheses while relationships are shown as arrows between nodes. If you have some spare time I&amp;rsquo;d suggest you play
around with Cypher before continuing to familiarize yourself.&lt;/p&gt;
&lt;h2 id="what-did-we-want"&gt;What did we want?&lt;a class="headerlink" href="#what-did-we-want" title="Link to this heading"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;If we go way back to
the &lt;a href="https://kaistriega.com/blog/curiously-related-words/what-is-a-curiously-related-word/"&gt;original post&lt;/a&gt;
we said we wanted two things:&lt;/p&gt;</description></item><item><title>Curiously Related Words in Neo4j</title><link>http://kaistriega.com/blog/curiously-related-words/curiously-related-words-in-neo4j/</link><pubDate>Sun, 08 Dec 2024 08:08:07 +1100</pubDate><guid>http://kaistriega.com/blog/curiously-related-words/curiously-related-words-in-neo4j/</guid><description>&lt;h2 id="what-we-have"&gt;What we have&lt;a class="headerlink" href="#what-we-have" title="Link to this heading"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;In the previous &lt;a href="https://kaistriega.com/blog/curiously-related-words/curiously-related-words-preprocessing-our-data/"&gt;post&lt;/a&gt;
I showed how to parse EtymDB and convert it into a format usable by the &lt;code&gt;admin-import&lt;/code&gt; tool. We should now have five
csv files:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;vertex/full.csv&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;vertex/small.csv&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;vertex/with_embedding.csv&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;vertex/with_meaning.csv&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;relationships.csv&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="getting-neo4j"&gt;Getting Neo4j&lt;a class="headerlink" href="#getting-neo4j" title="Link to this heading"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;h3 id="neo4j-in-the-cloud"&gt;Neo4j in the cloud&lt;a class="headerlink" href="#neo4j-in-the-cloud" title="Link to this heading"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Neo4j provides a cloud service with a free tier. Unfortunately, the free tier is capped at 200k nodes and 400k
relationships. We&amp;rsquo;ve 1.8M nodes and 640k relationships. Unfortunately the free tier is not going to cut it.&lt;/p&gt;</description></item></channel></rss>