Return-Path: Delivered-To: apmail-incubator-jackrabbit-dev-archive@www.apache.org Received: (qmail 4798 invoked from network); 28 Jul 2005 07:00:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Jul 2005 07:00:47 -0000 Received: (qmail 19276 invoked by uid 500); 28 Jul 2005 07:00:44 -0000 Mailing-List: contact jackrabbit-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jackrabbit-dev@incubator.apache.org Delivered-To: mailing list jackrabbit-dev@incubator.apache.org Received: (qmail 19258 invoked by uid 99); 28 Jul 2005 07:00:43 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Jul 2005 00:00:42 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [62.140.213.100] (HELO blossom.betaversion.org) (62.140.213.100) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Jul 2005 00:00:35 -0700 Received: by blossom.betaversion.org (Postfix, from userid 101) id 94BCC3701DA; Thu, 28 Jul 2005 07:52:53 +0100 (BST) X-AntiVirus-Version: ClamAV 0.86.2/995 X-AntiSpam-Version: SpamAssassin 3.0.4 X-AntiSpam-Status: No (score=0.0/limit=7.5) Received: from [192.168.1.100] (adsl-69-106-203-159.dsl.irvnca.pacbell.net [69.106.203.159]) by blossom.betaversion.org (Postfix) with ESMTP id C2A3636A4F2 for ; Thu, 28 Jul 2005 07:52:52 +0100 (BST) Message-ID: <42E88292.1020407@apache.org> Date: Thu, 28 Jul 2005 00:00:34 -0700 From: Stefano Mazzocchi User-Agent: Mozilla Thunderbird 1.0.6 (Macintosh/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: jackrabbit-dev@incubator.apache.org Subject: Re: associations between nodes References: <42E72D5E.7090704@wyona.com> <42E86900.9010101@wyona.com> <42E8725B.6060402@apache.org> <42E874F0.1000008@wyona.com> In-Reply-To: <42E874F0.1000008@wyona.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Michael Wechner wrote: > Stefano Mazzocchi wrote: > >> Michael Wechner wrote: >> >>> Maybe it's something for a future verision of JSR-170 ... >> >> >> >> What you want is called RDF :-) > > I guess so ;-) > > Has anyone here done anything into this direction yet, I mean RDF and JCR > interwingled somehow? I had a brief IM with David about this a few weeks ago, but no, nothing has been done or planned. AFAIK, I'm the only one in the JSR-170 working group that knows anything about RDF :-) It's fairly trivial to tranform the system view of a JCR repository into some sort of RDF, but allowing you to define that sort of graph-like structures will be hard. I don't know myself how that could work. JCR is, at the end, an API for a graph repository, but it's shaped in such a way that this graph is believed to be 'mostly a tree', in the sense that most nodes indegree will be one (read: has one parent only) and few will have an indegree higher than one (read: few symlinks between nodes). When you start making relationships between nodes, the topological complexity of the graph grows very fast. Sure, nothing prevents you from using JCR node linking capabilities to draw relationships between nodes, but the problem is that these links are not named, therefore they don't allow you to specify the 'nature' of the relationship. In a sense, links in JCR have a fixed semantic (inclusion and relation) while RDF is meant to allow you to name the relationships between your stuff. Note: just like it's possible to write an RDF model in an XML tree (see RDF/XML), it would be possible to encode an RDF model in a JCR tree (using special nodetypes and properties, just like RDF/XML does) But just like RDF/XML feels ugly to the eyes of XML people, RDF/JCR would feel ugly to the eyes of JCR people. Would JCR allow relationships between nodes to be named, encoding RDF statements in JCR would feel more natural. I still can't decide if this would be a good thing or a bad thing. -- Stefano.