This is a simple sample session with rdfdb. Queries are terminated with
"</>. The query returns any answers (as applicable) and an error
code. The error code 0 is returned for successful operations.
telnet 209.157.132.197 7001
Connected to govinda.guha.meer.net (209.157.132.197).
Escape character is '^]'.
create database test1 </>
0
insert into test1 (type DanB Person), (name DanB 'Dan Brickley') </>
0
insert into test1 (worksFor DanB W3C) (worksFor DanC W3C) </>
0
insert into test1 (name DanC 'Dan Connolly') </>
0
select ?x, ?y from test1 where (worksFor ?x W3C) (name ?x ?y) </>
?x = DanC ?y = 'Dan Connolly'
?x = DanB ?y = 'Dan Brickley'
0
<quit>
Here is a simple www front end browser for the dmoz hierarchy based on rdfDB DBI. Here is the code behind that.