Archive for June 2010

Drupal 6 semantic support

Drupal 6 generally is a solid version, notwithstanding the INSTALL.txt issue. It has good RDF support as well, including the ability to add and manipulate arbitrary triples using the RDF module. The Relations API module provides an easy user interface to add SeeAlso relations to nodes, but not to include nodes in arbitrary triples.

From the README.txt that comes with the Relations API: ” Currently supports bidirectional node relationships based on the rdfs:seeAlso predicate. This could in the future fairly easily be extended to include support for user-defined predicates and for unidirectional relationships.” – so this was part of the possible future plans, at least.

Since most of the RDF work appears now to be focusing on Drupal 7, I’m hoping that arbitrary relations make it in there. What I would really like to see is the use of the taxonomy terms vocabulary that the RDF module auto-generates used as the predicate set – that would essentially reach the “en:anyword” goal mentioned below, and in a widely used CMS! Perhaps this will be possible by extending the Relations API. For now, using it in standard form at a teaching tips site,

Do NOT follow the instructions in Drupal 6 INSTALL.txt …

So, I am ping-ponging around in my spare-time quest for the best way to quickly add triples to the web on a nice user-friendly content-rich website.

Latest attempt involves Drupal 6 and the Relations API module, as it seems to me that Drupal 7 doesn’t yet have this particular functionality (though I am hoping it will by code freeze!)

Anyway, thus my latest discovery: the installation instructions in the INSTALL.txt packaged with Drupal 6.17 are WRONG. They tell you to make a copy of default.settings.php to settings.php before you visit the new site the first time and choose your language. This will result in annoying error messages like so: “Warning: Table ‘mydb.access’ doesn’t exist query: SELECT 1 FROM access WHERE type = ‘host’ AND …”.

Luckily the solution is documented here:

but would it be too much to ask to correct the INSTALL.txt file for us old-fashioned text-doc-reading types?