The Sun BabelFish Blog
Don't panic !
Logic as the science of Garbage Collection
Everybody knows that logic does not bring anything new to the table that we did not allready know. It just reveals the consequences inherent in our thougts. By logical transformations we can never get to know what the world is like. For that we need our senses: we need to look at the world. So what is logic for?
Well it occured to me recently just how much similarity there is between garbage collection and logic. Consider that you communicate with some dude over the internet but that the only thing you know about his is that his email address is hjs@bblfish.net and that he knows you. This can be written in N3 as
_:p1 foaf:mbox ≤mailto:hjs@bblfish.net≥;
foaf:knows :me .
Let us imagine that you later get to know some dude at a conference and on his slide he puts up a url to his home page. You immediately add this information to your database like this
_:p2 foaf:homePage ≤http://bblfish.net≥ .
:me foaf:knows _:p2.
So now you have 4 statements in your database. On looking at the home page you notice that it contains a mailbox. So you add to your database
_:p2 foaf:mbox ≤mailto:hjs@bblfish.net≥ .
Now you have 5 statements in your database. And here logic kicks in. As foaf:knows is an owl:InverseFuntionalProperty (ie: for the same object there can only be one subject), you can deduce from
_:p1 foaf:mbox ≤mailto:hjs@bblfish.net≥ .
_:p2 foaf:mbox ≤mailto:hjs@bblfish.net≥ .
that
_:p1 owl:sameAs _:p2 .
Ie. you can merge (smush is the technical term) _:p1 and _:p2, and end up with the graph
:me foaf:knows [ foaf:mbox ≤mailto:hjs@bblfish.net≥;
foaf:homePage ≤http://bblfish.net≥ ;
foaf:knows :me ] .
Which says that I know someone with mailbox hjs@bblfish.net
and home page http://bblfish.net and this person knows me.
Which is 4 statements long instead of 5. Now if there had been more
duplicate content on each of those nodes, then the reduction could have
been a lot larger.
So what is an inferencing database? It's a database that can garbage collect redundant data.
[just a thought. see comments]
Posted at 03:27PM Jun 30, 2006 [permalink/trackback] by Henry Story in SemWeb | Comments[2]
Note on comments:
- I know the forms below are a little small. We have asked for years for this to be changed, but I don't think it's going to happen soon. In Apple's Safari you can resize the entry box with you mouse. For people using other browsers click on this javascript link, that should allow you to resize your form.
- Comments are moderated, so they will take a little time to appear. Currently moderation means I have to read them personally. Hopefully with OpenId deployment, this will become more automated.
- HTML markup no longer works here, due to some decision made somewhere. Sorry about that.
- If you are having trouble posting, it may be that you need javascript to be enabled. I don't think javascript should be needed for submitting a form, but that's the way it is here.
- Check your comments by using the preview button...

Posted by CaptSolo on June 30, 2006 at 10:05 PM CEST #
Posted by Henry Story on June 30, 2006 at 10:41 PM CEST #