- From: Arjohn Kampman <arjohn.kampman@aduna.biz>
- Date: Mon, 10 Oct 2005 10:59:04 +0200
- To: "Richard H. McCullough" <rhm@cdepot.net>
- CC: SWIG <semantic-web@w3.org>
Richard H. McCullough wrote: > > You don't need database engineers if you have a > user-friendly query language that ordinary humans > can understand. I claim that MKR is such a language. > (MKR is a general purpose knowledge representation > language. Click on link below my name for info.) Richard, What audience are you referring to when you say "ordinary humans"? I can't imagine non-programmers to produce any of the stuff below. Arjohn > MKR has "form-based" questions -- write a statement > which gives your answer, and use a question mark > for the thing you want to find. UNIX-shell-style > variables are used to record the answers. > > Here's your query in MKR. > at view = foaf; > at view = dc; > > # original query > every b isa book; { > who := $b has dc:creator = ?; > if $who has foaf:name = "J. K. Rowling"; > then do print od $b done; > fi; > }; > > # faster query > who := ? has foaf:name = "J. K. Rowling"; > book := ? has dc:creator = $who; -- arjohn.kampman@aduna.biz Aduna BV - http://aduna.biz/ Prinses Julianaplein 14-b, 3817 CS Amersfoort, The Netherlands tel. +31-(0)33-4659987
Received on Monday, 10 October 2005 08:59:52 UTC