Wed 15 Jun 2005
Some progress on a SPARQL engine
I figured out how to get a graph pattern to resolve to a list of bindings, so the core of what will hopefully be a SPARQL processor for Wilbur is proceeding:
* (present-results
(graph-pattern-run
(compile-graph-pattern
'(graph-pattern (triple x !foaf:knows y)
(triple x !foaf:name name)))
*db*))
Result 1:
X | !rich:Anthony
Y | !rich:John
NAME | "Anthony"
-----
Result 2:
X | !rich:Richard
Y | !rich:Anthony
NAME | "Richard"
-----
The code is much lighter-weight than I expected; less than 200 lines with heavy comments and docstrings, and planning for the future. Next up are optionals, unions, and so on, culminating in a proper s-expression SPARQL processor. All that's left after that is a parser….
Posted at 2005-06-15 16:17:12 by Richard • Link to Some progress on a…
Cool things
A Unix in Javascript. Wow.
The net-casting spider. It doesn't make a web like a normal spider, it makes a
net, then throws it on its prey. Awesome.
I'm rather frustrated about finding accommodation in the United States, and a number of other things besides. It's a remarkable amount of effort, and the US Embassy certainly don't make my life any easier! Still, it should be worth it.
Posted at 2005-06-15 12:13:43 by Richard • Link to Cool things
iPod to car stereo
VR3 FM Modulator. Looks brilliant. $35.94.
Why don't they ship to the UK? I'd buy one.
Maybe I'll send them an email. Or maybe I'll get one when I'm in the US.
Update: they're on eBay. Search for “fm modulator”. £27 not too bad (you get stung on shipping), but hey. I'll let you know if it's any good!
Posted at 2005-06-15 10:43:20 by Richard • Link to iPod to car stereo