<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.factminers.org"  xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>FactMiners.org - Cognitive Computing</title>
 <link>http://www.factminers.org/tags/cognitive-computing</link>
 <description></description>
 <language>en</language>
<item>
 <title>Inside the FactMiners&#039; Brain - Rainman Meet Sherlock</title>
 <link>http://www.factminers.org/content/inside-factminers-brain-rainman-meet-sherlock</link>
 <description>&lt;div class=&quot;field field-name-field-image field-type-image field-label-hidden view-mode-rss view-mode-rss&quot;&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;figure class=&quot;clearfix field-item even&quot;&gt;&lt;a href=&quot;http://www.factminers.org/sites/default/files/images/factminers_brain_image.png&quot;&gt;&lt;img typeof=&quot;foaf:Image&quot; class=&quot;image-style-large&quot; src=&quot;http://www.factminers.org/sites/default/files/styles/large/public/images/factminers_brain_image.png?itok=psQpUKMf&quot; width=&quot;416&quot; height=&quot;480&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;/figure&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;field field-name-field-tags field-type-taxonomy-term-reference field-label-hidden view-mode-rss view-mode-rss&quot;&gt;&lt;ul class=&quot;field-items&quot;&gt;&lt;li class=&quot;field-item even&quot;&gt;&lt;a href=&quot;/tags/cognitive-computing&quot; typeof=&quot;skos:Concept&quot; property=&quot;rdfs:label skos:prefLabel&quot; datatype=&quot;&quot;&gt;Cognitive Computing&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;field-item odd&quot;&gt;&lt;a href=&quot;/tags/metamodeling&quot; typeof=&quot;skos:Concept&quot; property=&quot;rdfs:label skos:prefLabel&quot; datatype=&quot;&quot;&gt;Metamodeling&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;field-item even&quot;&gt;&lt;a href=&quot;/tags/linked-open-data&quot; typeof=&quot;skos:Concept&quot; property=&quot;rdfs:label skos:prefLabel&quot; datatype=&quot;&quot;&gt;Linked Open Data&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;field-item odd&quot;&gt;&lt;a href=&quot;/tags/deep-learning&quot; typeof=&quot;skos:Concept&quot; property=&quot;rdfs:label skos:prefLabel&quot; datatype=&quot;&quot;&gt;Deep Learning&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;field-item even&quot;&gt;&lt;a href=&quot;/tags/ai-etc&quot; typeof=&quot;skos:Concept&quot; property=&quot;rdfs:label skos:prefLabel&quot; datatype=&quot;&quot;&gt;AI etc.&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class=&quot;field field-name-body field-type-text-with-summary field-label-hidden view-mode-rss view-mode-rss&quot;&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot; property=&quot;content:encoded&quot;&gt;&lt;p&gt;NOTE: In case you missed it, here is a link to a screencast of &lt;a href=&quot;http://watch.neo4j.org/video/105266385?mkt_tok=3RkMMJWWfF9wsRogvqXPZKXonjHpfsX86%2BktUa63lMI%2F0ER3fOvrPUfGjI4HT8NjI%2BSLDwEYGJlv6SgFTbfGMadv1LgNXRQ%3D&quot;&gt;Kenny Bastani&#039;s webinar about using the Neo4j graph database in text classification and related Deep Learning applications&lt;/a&gt;. It&#039;s a fascinating introduction to some original work Kenny is doing that leverages the strengths of a property graph, in this case Neo4j, to do some Deep Learning text-mining and document classification. &lt;/p&gt;
&lt;p&gt;This article is about what we are going to try to do with Kenny&#039;s new Graphify extension for Neo4j. And a big &quot;Thank you!&quot; and kudos to Kenny for kickstarting activity around this important topic within the Neo4j community.&lt;/p&gt;
&lt;h2&gt;Some Thoughts About Thinking&lt;br /&gt;&lt;/h2&gt;
&lt;p&gt;You would be hard-pressed to go through any formal education where you did not learn about our &quot;two brains&quot; – left and right hemispheres, verbal/non-verbal, creative/literal, the conscious/subconscious, long-term/short-term, self/other, etc. All these various perspectives remind us that how we think, as humans, is a complex yin-yang cognitive process. Whatever works well to help us understand ourselves and the world around us in some cases, does poorly helping us in others, and vice versa. So we&#039;ve cleverly evolved the &quot;wetware&quot; to do both and, in one of our brains&#039; most truly amazing feats, to provide some kind of highly effective, real-time integration of the these multiple perspectives.&lt;/p&gt;
&lt;p&gt;One of the most intriguing distinctions to consider when attempting to model human cognitive processes (let&#039;s settle for calling it &quot;smart software&quot; to avoid going too far into pure ResearchSpeak) is to look at the role of subconscious and conscious processing. Some things are either so voluminous and detailed -- basic perception, for example -- that we would bore ourselves to death and slow our thinking processes to a crawl if they ran through our conscious, mostly verbal, cognitive processes. Some other aspects of our thinking -- e.g. things that produce an &quot;A-ha!&quot; conscious moment of discovery -- require the &quot;hands off&quot; focus of subconscious processing. Without such cloistered incubation opportunities, our overbearing conscious mental processes can too easily derail an otherwise breakthrough thought.&lt;/p&gt;
&lt;div class=&quot;image-left&quot;&gt;&lt;img src=&quot;/sites/default/files/images/2013-02-06-LeftBrainRightBrain21.jpg&quot; width=&quot;420&quot; height=&quot;310&quot; alt=&quot;2013-02-06-LeftBrainRightBrain21.jpg&quot; /&gt;&lt;/div&gt;
&lt;p&gt;So it should not surprise us that software analogs of (something akin to) our own cognitive processing will benefit from providing a similar strategy of &quot;complementary opposites.&quot; We should expect to find some real design opportunities for &quot;smart software&quot; by providing a rough approximation of this subconscious/conscious distinction as we move from an application-centric development mindset to a more appropriate agent-centric design mindset. Exploring how smart software might incorporate this &quot;two-cyclinder thinking engine&quot; is one of the &quot;serious fun&quot; R&amp;amp;D initiatives at FactMiners.org. &lt;/p&gt;
&lt;p&gt;We&#039;re active in the Neo4j community because FactMiners is exploring the unique, expressive nature of graph database technology to model both how &quot;subconscious&quot; cognitive processing (e.g. the NLP-based stuff of &lt;a href=&quot;http://info.neo4j.com/0904-register.html?_ga=1.155401086.479957737.1409240112&quot;&gt;Kenny&#039;s text classification webinar&lt;/a&gt;) can be integrated with &quot;conscious&quot; cognitive processing (e.g. our &lt;a href=&quot;/content/neo4j-graphgist-design-docs-line&quot;&gt;metamodel-subgraph GraphGists&lt;/a&gt; that are more akin to &quot;mind maps&quot;). Our belief is that such a software design strategy can lead to a synergistic result that is greater than the sum of what these simulated cognitive processes can contribute independently. To allude to popular culture, our research asks:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;How can we get both the Rainman-like, obsessive-compulsive, bureaucratic, ruthlessly-detailed part of our subconscious processing to work in concert with the Sherlock Holmes-like, logical, deductive, constructive part of our &quot;wetware&quot;? &lt;/em&gt; &lt;/p&gt;
&lt;h2&gt;The Rainman Part - Kenny Bastani&#039;s Text Classification Blog/Webinar&lt;br /&gt;&lt;/h2&gt;
&lt;div class=&quot;image-right&quot;&gt;&lt;img src=&quot;/sites/default/files/images/rainman_poster.png&quot; width=&quot;225&quot; height=&quot;337&quot; alt=&quot;rainman_poster.png&quot; /&gt;&lt;/div&gt;
&lt;p&gt;Kenny Bastani&#039;s webinar this Thursday, &lt;em&gt;&lt;a href=&quot;http://info.neo4j.com/0904-register.html?_ga=1.155401086.479957737.1409240112&quot;&gt;&quot;Using Neo4j for Document Classification&quot;&lt;/a&gt;&lt;/em&gt; will provide a great live demonstration of the kind of relentless, detail-oriented, largely subconscious aspect of our human cognitive process. Kenny&#039;s recent blog post, &lt;em&gt;&lt;a href=&quot;http://www.kennybastani.com/2014/08/using-graph-database-for-deep-learning-text-classification.html&quot;&gt;&quot;Using a Graph Database for Deep Learning Text Classification,&quot;&lt;/a&gt;&lt;/em&gt; is provided as a webinar supplement and gives a good introduction (with links) to the Deep Learning ideas and methods employed in his latest Open Source project, &lt;strong&gt;Graphify&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://github.com/kbastani/graphify&quot;&gt;Graphify is a Neo4j unmanaged extension&lt;/a&gt; adding &lt;strong&gt;NLP-based (Natural Language Processing) document and text classification features&lt;/strong&gt; to the Neo4j graph database using &lt;em&gt;graph-based hierarchical pattern recognition&lt;/em&gt;. As Kenny describes in his blog post:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&lt;em&gt;&quot;Graphify gives you a mechanism to train natural language parsing models that extract features of a text using deep learning. When training a model to recognize the meaning of a text, you can send an article of text with a provided set of labels that describe the nature of the text. Over time the natural language parsing model in Neo4j will grow to identify those features that optimally disambiguate a text to a set of classes.&quot;&lt;/em&gt; (Kenny Bastani, &lt;a href=&quot;http://www.kennybastani.com/2014/08/using-graph-database-for-deep-learning-text-classification.html&quot;&gt;full post&lt;/a&gt;)&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;When you read the rest of Kenny&#039;s blog post you will get a very quick and informative introduction to the &lt;strong&gt;Vector Space Model&lt;/strong&gt; for &lt;strong&gt;Deep Learning&lt;/strong&gt; representation and analysis of text documents. The algebraic model underlying Kenny&#039;s Graphify Neo4j extension is just the kind of Rainman-like, obsessive, detail-oriented processing that is representative of the subconscious side of our cognitive processing.&lt;/p&gt;
&lt;p&gt;If you read the above description of Graphify closely, you will see the opportunity for synergy and integration between Graphify&#039;s &quot;subconscious&quot; processing and the more &quot;conscious&quot; processing reflected in my GraphGists exploring the &quot;self-descriptive&quot; Neo4j graph database.&lt;/p&gt;
&lt;h2&gt;The Sherlock Part - FactMiners&#039; Metamodel Subgraph GraphGists&lt;br /&gt;&lt;/h2&gt;
&lt;div class=&quot;image-left&quot;&gt;&lt;img src=&quot;/sites/default/files/images/Sherlock_Holmes_Cumberbatch.png&quot; width=&quot;260&quot; height=&quot;423&quot; alt=&quot;Sherlock_Holmes_Cumberbatch.png&quot; /&gt;&lt;/div&gt;
&lt;p&gt;Imagine if you were able to sit down for tea with the fictional Sherlock Holmes. We hand him a paper and pen, and then ask for a description of the particulars of his latest case. Sherlock would surely resort to sketches in the form of a graph diagram or something easily mapable to a graph representation. Graph semantics are &quot;elementary&quot; and flexibly extensible -- properties that Sherlock would surely appreciate.&lt;/p&gt;
&lt;p&gt;I started exploring this &quot;conscious&quot; cognitive process side of graph database application design in the first two parts of my GraphGist design document series, &lt;em&gt;&quot;The &#039;Self-Descriptive&#039; Neo4j Graph Database: Metamodel Subgraphs in the FactMiners Social-Game Ecosystem.&quot;&lt;/em&gt; In the longer and more detailed &lt;a href=&quot;http://gist.neo4j.org/?7817558&quot;&gt;second part of this GraphGist&lt;/a&gt;, I explored how an embedded metamodel subgraph can be used to model a &quot;Fact Cloud&quot; of Linked Open Data to be mined from the text and image data in the complex document structure of a magazine. In our case, we&#039;ll use FactMiners social-gameplay to &quot;fact-mine&quot; a digital archive of the historic Softalk magazine which chronicled the early days of the microcomputer revolution. In this regard, our &quot;sandbox-specific&quot; application is museum informatics. However, there is nothing domain-specific about the solution design we are pursuing.&lt;/p&gt;
&lt;p&gt;With this more general application in mind and in looking for that opportunity where Sherlock can work hand-in-hand with Rainman, it is the &lt;a href=&quot;http://gist.neo4j.org/?8640853&quot;&gt;first part of this GraphGist&lt;/a&gt; series that is the more relevant to the &quot;whole brain&quot; focus of this post.&lt;/p&gt;
&lt;div class=&quot;image-right&quot;&gt;&lt;img src=&quot;/sites/default/files/images/pt2_fig1_pt1meta.png&quot; width=&quot;226&quot; height=&quot;339&quot; alt=&quot;pt2_fig1_pt1meta.png&quot; /&gt;&lt;/div&gt;
&lt;p&gt;In this &lt;a href=&quot;http://gist.neo4j.org/?8640853&quot;&gt;first part of my GraphGist&lt;/a&gt;, I provide a &quot;Hello, World!&quot; scale example of how a graph database can be &#039;self-descriptive&#039; to a layer of smart software that can take advantage of this self-descriptive nature. In this gist, I had some fun exploring the old aphorism from Journalism school, &quot;Dog bites man is nothing, but man bites dog, that&#039;s news!&quot; &lt;/p&gt;
&lt;p&gt;In brief, the assumption is that a &#039;self-descriptive&#039; database is &#039;talking&#039; to something that is listening. Under this design pattern, the listening is done by a complementary layer of &quot;smart software&quot; that can use this information to configure itself for all manner of data analysis, editing, and visualization, etc.&lt;/p&gt;
&lt;p&gt;In the case of the ultra-simple &quot;Man bites Dog&quot; example, the layer of smart software is nothing more elaborate than some generalized metamodel-aware Cypher queries. Cypher is the built-in query language for Neo4j. In my gist example, these queries are used for &quot;news item&quot; discovery and validation. By simple extrapolation you can readily imagine the level of &quot;conscious&quot; processing that could be brought to bear to &quot;think about&quot; the data in a &#039;self-descriptive&#039; graph database. &lt;/p&gt;
&lt;p&gt;With this much overview of the &quot;subconscious&quot; and &quot;conscious&quot; aspects of our FactMiners&#039; brain, we&#039;re ready to look at that opportunity for integration... that place where Rainman meets and works with Sherlock.&lt;/p&gt;
&lt;h2&gt;How Rainman and Sherlock Might Work Together&lt;br /&gt;&lt;/h2&gt;
&lt;div class=&quot;image-right&quot;&gt;&lt;img src=&quot;/sites/default/files/images/sherlock-and-rainman.png&quot; width=&quot;442&quot; height=&quot;262&quot; alt=&quot;sherlock-and-rainman.png&quot; /&gt;&lt;/div&gt;
&lt;p&gt;There is a strong hint at how the Deep Learning &quot;subconscious&quot; processing of Kenny&#039;s Graphify component might fit into the &quot;brain model&quot; of FactMiners. I&#039;ll underline the bits in this quote from Kenny&#039;s article to suggest the integration opportunity: &lt;em&gt;&quot;Graphify gives you a mechanism to &lt;ins&gt;train natural language parsing models&lt;/ins&gt; that extract features of a text using deep learning. When training a model to recognize the meaning of a text, you can send an article of text with a &lt;ins&gt;provided set of labels that describe the nature of the text&lt;/ins&gt;...&quot;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Graphify just needs to be fed a list of those &quot;text nature describing&quot; labels and a pile of text to dive into and away it goes. I believe an excellent source of this &quot;text nature knowledge&quot; -- those labels needed to seed the training and data extraction of Kenny&#039;s &quot;subconscious&quot; Rainman-like text classification process --  those labels are very explicitly represented, maintained and extended in the information encoded in, and organized by, the metamodel subgraph of a &#039;self-descriptive&#039; graph database.&lt;/p&gt;
&lt;p&gt;We should be able to establish a feedback loop where Graphify&#039;s label list is supplied by Sherlock&#039;s &quot;mental model&quot; in the metamodel subgraph, and Graphify&#039;s results are fed back to refine or extend the metamodel. How, even whether, this will all work as envisioned we will discover over the weeks ahead.  &lt;/p&gt;
&lt;p&gt;Next up? We&#039;re looking forward to Kenny&#039;s webinar and to having some serious fun digging into Graphify. &lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description>
 <pubDate>Sun, 31 Aug 2014 17:27:22 +0000</pubDate>
 <dc:creator>Jim Salmons</dc:creator>
 <guid isPermaLink="false">34 at http://www.factminers.org</guid>
 <comments>http://www.factminers.org/content/inside-factminers-brain-rainman-meet-sherlock#comments</comments>
</item>
</channel>
</rss>
<h1>Uncaught exception thrown in shutdown function.</h1><p>PDOException: SQLSTATE[42000]: Syntax error or access violation: 1142 DELETE command denied to user &amp;#039;factminersAdmin&amp;#039;@&amp;#039;localhost&amp;#039; for table &amp;#039;semaphore&amp;#039;: DELETE FROM {semaphore} 
WHERE  (value = :db_condition_placeholder_0) ; Array
(
    [:db_condition_placeholder_0] =&amp;gt; 10695043606417fe0eae1d47.00909311
)
 in lock_release_all() (line 269 of /var/www/webadmin/data/www/factminers.org/html/includes/lock.inc).</p><hr />