Prolog

Getting Started

Prolog is a logic programming language. Programming in Prolog is quite different from programming in imperative programming languages like C++ or Java. I personally like the SWI implementation of Prolog, which can be downloaded from: here. Ubuntu (my favorite Linux distribution) has SWI-Prolog in the Synaptic Package Manager (swi-prolog, and if you want to work with rdf, swi-prolog-sgml and swi-prolog-semweb).

Tutorials

There are many webpages on Prolog, but the best I have found so far is Adventure in Prolog. This tutorial give a good introduction to Prolog and in the end you will have a working text adventure game!

RDF

I used this guide to write a Prolog program that uses rdf files as a knowledge base.