Fun with RDF

I had intended to spend some time playing with NLP. For this purpose, I installed the Python NLTK, mostly for the handy corpora. After a little messing with that, I decided to install Stanford Core NLP and skip to working on a basic chatbot architecture.

That bogged down in design decisions. One of which was to use RDF for knowledge representation/semantic graphs, in the form of the RDF4J library which I’ve used before.

At that point, I decided to go back to basics with the Bug Brain and reimplement to use RDF.

So instead of the brain and body communicating via Event and Action Java objects, now they exchange RDF models, and models are used for the brain’s internal state. While I was there, I simplified the sensory information to a single ‘light level’ value (instead of one for each eye) and made the algorithm more generic. It seems to work OK.

Next project is to do the same thing with the Mouse Brain. I’d like to add a mental map and pattern recognition too, but will see how it goes.

Published by Catherine Griffin

I write fantasy novels.

Leave a comment

Design a site like this with WordPress.com
Get started