twinql, sir?
Have a sample query, on the house.
I look forward to shrinking that “Things that don't work properly” section at the top. Please don't break anything. At least let me know when you do!
If you want the code, I suppose that
you'll be wanting this.
Posted at 2005-06-30 15:12:29 by Richard • Link to twinql, sir?
, trackbacks.
Bug hunting
I need a trophy wall with lots of little digital mounts — I've been a-hunting. The latest bug was a weird order-of-execution bug, where a query like
?x foaf:knows ?y .
?y foaf:name "Richard Newman" .
would return no results, while the alternate order of triples worked fine.
I finally tracked it down to Wilbur itself, which makes the reasonable assumption that everything should be compared with the
EQL function. This is fine, unless you're wanting to work with literals.
EQL doesn't work on literals or strings. Redefining
db-query to use my own
wilbur-eql method got things working again (doubtless at the cost of speed — a generic function dispatch and more complex comparisons are now needed). I'm quite relieved, actually — for the fourth time this week I thought my query algorithm was fatally flawed.
There are plenty more bugs where that came from, though….
Posted at 2005-06-30 13:34:15 by Richard • Link to Bug hunting
, trackbacks.
Working away from home
There's nothing quite like installing software on a remote machine, on a different OS, using different software, to expose little bugs. Oh, and to prompt me to add new features and optimisations.
On the plus side, it seems that
twinql works. I should put a query interface up soon to accompany its project page (which I've written but not linked yet).
Then, Ian, I promise I'll get to FRBR!
Posted at 2005-06-30 09:30:06 by Richard • Link to Working away from …
, trackbacks.