Archive for July, 2005

sparql2sql: A query engine for SPARQL over a Jena triple store

Wednesday, July 27th, 2005

Google, please pick this up: sparql2sql is a SPARQL implementation on top of a triple store in a relational database. It’s reasonably fast because it translates SPARQL queries directly into SQL. This is the result of the first half of my internship at HP Labs.

New desktop background

Tuesday, July 26th, 2005

Redland contexts

Tuesday, July 26th, 2005

How contexts work in Dave Beckett’s Redland RDF library: When a triple is created, then any RDF node (URI, blank node, literal) can be attached to the triple. This becomes the context node. A triple can be added to a graph multiple times with different contexts (Redland graphs are bags of triples, not sets). A context node can […]

RDF and semantic equality

Tuesday, July 26th, 2005

This is a braindump about an issue that came up repeatedly in recent discussions among Jena developers. In basic RDF, these two triples are semantically different, that is, they don’t mean the same thing: :richard :age “26″^^xsd:int . :richard :age “+00026″^^xsd:int . That’s because basic RDF uses syntactic equality for literals. Two literals are equal if and only if […]

Andy on JavaCC vs. AntLR

Tuesday, July 26th, 2005

For future reference … Andy Seaborne on jena-dev: JavaCC creats a self contained set of classes to compile - one reason I use it for RDQL and SPARQL - Antlr for example needs its own runtime and that creates problems with different versions (to run Jena with Groovy, just omit antlr.jar from Jena).

Wow! WordPress 1.5 rocks.

Sunday, July 24th, 2005

I just upgraded to the latest WordPress and I’m im…uh…pressed. The new default template is so much better than the old one, which as of today is still in use on my German blog. It’s true: Presentation matters. The upgrade was surprisingly painless — just delete all files except wp-config.php from the server, upload the new […]

The War on Terror, for Unix geeks

Sunday, July 24th, 2005

Via Tim Bray: The War on Terror, as viewed from the Bourne shell.

A platform conversation

Friday, July 22nd, 2005

A living room. Windows user 1 sits at a desk, wrestling with the computer. Windows user 2, Mac user and Mac user’s girlfriend lounge nearby. Windows user: (groans and makes a pained expression) Mac user (to Windows user 2): Look at him. That’s the expression I associate with Windows. Mac user’s girlfriend: That’s the attitude I associate with […]

Passing arguments from a shell script to a command

Friday, July 22nd, 2005

For future reference: In a shell script, if I have to pass an unknown number of command line arguments to another command, and some of the arguments might contain spaces, here’s how to do it: #!/bin/sh othercmd –foo –bar “$@” The magic “$@” invocation in double quotes does the trick. The more natural “$*” doesn’t work because it […]

On PHP and compatibility

Wednesday, July 20th, 2005

This is a rant about PHP. PHP is one of these languages that grew out of nothing, by accretion rather than design. It shows in many places, and among them are PHP’s OOP features. The thing is, whenever you do something with a variable – assign it to another variable, pass it into a function, return […]

Test post with RapidMetaBlog

Sunday, July 17th, 2005

And then there’s RapidMetaBlog, which has more features than DashBlog, but is not as slick. It also wastes lots of screen space, which is my main gripe with certain widgets.

Test post with DashBlog

Sunday, July 17th, 2005

I’m just playing with some Dashboard widgets. If this shows up in my blog, then posting to WordPress via the Blogger API with DashBlog works. Heh.