Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 36759 invoked from network); 7 May 2009 20:12:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 May 2009 20:12:01 -0000 Received: (qmail 18455 invoked by uid 500); 7 May 2009 20:12:00 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 18357 invoked by uid 500); 7 May 2009 20:12:00 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 18347 invoked by uid 99); 7 May 2009 20:12:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 May 2009 20:12:00 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of demetriusnunes@gmail.com designates 74.125.44.29 as permitted sender) Received: from [74.125.44.29] (HELO yx-out-2324.google.com) (74.125.44.29) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 May 2009 20:11:47 +0000 Received: by yx-out-2324.google.com with SMTP id 8so503104yxm.5 for ; Thu, 07 May 2009 13:11:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=POp7j15v+61Dp1ziAxDXFiciFs/luxZ8WpvfEnn2G8M=; b=eiIWHBz4b6MxHSnD9T+PKJa3V45LVXwaNGrvC/wbUMNAwBLCFLIKbw4x5oNkWLvEzi Z/TnX4T49F8cEkdZzzjR8JEKkpf1n45y85Nv+EJH7eqXo628UdNUAEGU8erpPlUANpLV 6S8RB2xBQIlk8EZnoHrRP3AY0J3PAGG3DOIDs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=e4gTtmkG3gGANAYjFUdVrZQL8ekqTUsv6fHU93oesONkgZ4lqygfW26zRpFr6+ynA7 Qn8g7qCsgUt1FwZtAggrhNxLojkLTp61Rq4K/JiXKAYsnDnD1o0vf3aG2o4Q8ueOoKpv YYInAtyOfC+OpHzMlrX+fcULb2w8sQKjCjCKk= MIME-Version: 1.0 Received: by 10.151.150.13 with SMTP id c13mr5151848ybo.94.1241727085943; Thu, 07 May 2009 13:11:25 -0700 (PDT) In-Reply-To: <4A033ECC.3070206@borwankar.com> References: <4aa4f4d60905071215r577e0715wcc971199e69164a8@mail.gmail.com> <4A033ECC.3070206@borwankar.com> Date: Thu, 7 May 2009 17:11:25 -0300 Message-ID: <4aa4f4d60905071311s82a0805p7df9b201c077b840@mail.gmail.com> Subject: Re: CouchDB x RDF databases comparison From: Demetrius Nunes To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=00151750da78dd9ca40469581ddf X-Virus-Checked: Checked by ClamAV on apache.org --00151750da78dd9ca40469581ddf Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi Nitin, Great answer. Thanks a lot. One more question... I am in the Javaland here, so another viable option for my application is using JCR, such as the Apache Jackrabbit implementation. Did you happen to take a look at that as well? I think JCR has even more similarities with CouchDB than RDF. How would you compare JCR and CouchDB ? Thanks a lot, Demetrius On Thu, May 7, 2009 at 5:04 PM, Nitin Borwankar wrote: > Demetrius Nunes wrote: > >> Hi there, >> >> We are evaluating new technologies for managing semi-structured data and >> documents in one of our applications. We've got tired of wrestling >> relational databases for this. >> >> I would like to know why would I prefer to use CouchDB instead of a RDF >> database, such as Sesame ou Mulgara. >> >> I know some of the RDF advantages, such as open standards, >> interoperability, >> rules engines, semantic queries, community and tool support, maturity, >> etc. >> >> But I really like the simplicity of the CouchDB model. >> >> Can anyone enlighten me? >> >> Thanks a lot, >> Demetrius >> >> >> > Hi Demetrius, > > We ( bibkn.org) have investigated and used SQL databases, RDF store > (Virtuoso) and CouchDB for bibliographic metadata management. I am the > project manager and data architect for this project. > Relnl databases are a first choice often but have many limitations in > management of loosely typed, messy, string based data sets. So we are in > agreement on not using that technology. > > We, bibkn.org, need both the schemalessness of CouchDB at one end of our > workflow and the strongly-typedness of RDF at the other end of the workflow > when all our data has been cleaned up and "ontologized". So we don't see > this as an either/or between CouchDB and RDF stores. > However we can definitely say one thing - if you need just the flexible > schema aspect and are using RDF to give you that, then that is massive > overkill and the conceptual overhead of the RDF (ontology, schemas, > namespaces, completely normalized everything ie URI's for subject, > predictae, object) , is simply not worth it. If however you want to do > logical inference and reasoning over your data then clearly the RDF and > semantic machinery gives you a whole lot of goodness that is worth the > overhead. > > So CouchDB is not a substitute for an RDF-store, but you may be using an > RDF-store for the lesser things it gives you (flexible schema) and in that > case CouchDB can do a lot more for you at a much lower overhead and much > greater ease of use and integration into existing tools. > > Additionally SPARQL (like SQL) is not really meant for text search which > is critical for loosely typed data. So even at our RDF end we have a Solr > instance for rapid text search over the RDF store. > Additionally we have couchdb-lucene as an extension on our CouchDB instance > and this has given us everything we need at the loosely typed data end of > our workflow. > > So if semi-structured data and document management is your primary use case > and there is no semantic/ontology/inference component then forget RDF-stores > and just go with CouchDB. > > In our project we are developing a format on top of JSON to export > bibliographic metadata for integration into JSON friendly date consumers, it > also happens to have easy mapping to RDF. > So even if you go to Couch now you may be able to integrate into an > RDF-store at some later stage if the need arises. > > Hope this helps, > > Nitin Borwankar, > Project Manager, Bibliographic Knowledge Network > bibkn.org > > > > > -- ____________________________ http://www.demetriusnunes.com --00151750da78dd9ca40469581ddf--