3store is an RDF "triple store", written in C and backed by MySQL and Berkeley DB. It is an optimisation and port of an older triple store (WebKBC). It provides access to the RDF data via RDQL or SPARQL over HTTP, on the commandline or via a C API.
This project will create a major mode for mysql in Emacs. It will allow you all the usefulness of the mysql commandline client, from within Emacs. I don't know if I'll do a full blown major mode yet, but the functions to run queries are definitely ther