Path: news.cambrium.nl!textnews.cambrium.nl!feeder3.cambrium.nl!feed.tweaknews.nl!postnews.google.com!a26g2000prf.googlegroups.com!not-for-mail
From: vadimtro@gmail.com
Newsgroups: comp.databases.theory
Subject: Re: Onto a potential relational manipulation language
Date: Thu, 11 Dec 2008 15:22:56 -0800 (PST)
Organization: http://groups.google.com
Lines: 36
Message-ID: <934bce99-fe7d-43a0-8678-4d7934ab6fc3@a26g2000prf.googlegroups.com>
References: <c63bd0fa-3a91-40e1-9249-252c161d2aa2@t39g2000prh.googlegroups.com> 
 <ghlulp$1pdi$2@mud.stack.nl> <Uqz%k.3776$si6.1143@edtnps83> 
 <63a4d28c-948c-491a-a27e-c5a1496b85d5@z28g2000prd.googlegroups.com>
NNTP-Posting-Host: 70.137.179.95
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Trace: posting.google.com 1229037776 11631 127.0.0.1 (11 Dec 2008 23:22:56 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Thu, 11 Dec 2008 23:22:56 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: a26g2000prf.googlegroups.com; posting-host=70.137.179.95; 
 posting-account=dmGV1QoAAAD_iLea43F098rb5Yhuc0yg
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.4) 
 Gecko/2008102920 Firefox/3.0.4,gzip(gfe),gzip(gfe)
Xref:  news.cambrium.nl

On Dec 9, 11:12 am, paul c <toledobythe...@oohay.ac> wrote:
> If I were making up a syntax, I'd start by naming shortcuts
> for expressions based on some formal logic.  The one closest to my
> thinking would be D&D Algebra but there are others, don't ask me how
> many, such as Vadim's RL.

Let me hijack this thread to plug in my program. Its primary purpose
is to be able to check if an assertion is a valid theorem in RL. I
hope some day a more ambitious project would extend it to fully
featured general purpose programming environment.

I mentioned before that I extensively leverage Prover9/Mace4, so why
bother with other assertion verification tool? Prover9 main purpose is
to formally derive assertions from some assumptions. Mace4 is
complementary tool which invalidates wrong assertions by finding
counterexamples. However, the models in Mace4 are generic, while in
database world one would like to check assertions against objects that
are structured as tables (err, relations).

Meet QBQL (Quasi Boolean Query Language?):
http://code.google.com/p/qbql/wiki/GettingStarted

For those who missed Neo's entertaining DbForDummies threads, here are
few examples in QBQL that look strikingly similar to his:-)

R00 < Relationship.

(Max ^ Fed ^ Folly) v Time < TwoOclock.

%invalid: (Claire ^ Fed ^ Scruffy) v Time < TwoOclock.

Time v (Claire ^ At ^ Library) < Time v (Max ^ At ^ Home).

%invalid: Time v (Max ^ At ^ Home) < Time v (Claire ^ At ^ Library).

(((Peter ^ Parent) v Relationship) ^ (Max ^ Child)) v R00 = R01.
