Return-Path: X-Original-To: apmail-incubator-clerezza-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-clerezza-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0EB1DDEDC for ; Tue, 13 Nov 2012 13:42:01 +0000 (UTC) Received: (qmail 84432 invoked by uid 500); 13 Nov 2012 13:42:00 -0000 Delivered-To: apmail-incubator-clerezza-dev-archive@incubator.apache.org Received: (qmail 84327 invoked by uid 500); 13 Nov 2012 13:41:59 -0000 Mailing-List: contact clerezza-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: clerezza-dev@incubator.apache.org Delivered-To: mailing list clerezza-dev@incubator.apache.org Received: (qmail 84299 invoked by uid 99); 13 Nov 2012 13:41:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Nov 2012 13:41:58 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [194.109.24.33] (HELO smtp-vbr13.xs4all.nl) (194.109.24.33) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Nov 2012 13:41:50 +0000 Received: from [10.12.1.124] (static.kpn.net [31.160.153.11] (may be forged)) (authenticated bits=0) by smtp-vbr13.xs4all.nl (8.13.8/8.13.8) with ESMTP id qADDfRKF037609 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 13 Nov 2012 14:41:27 +0100 (CET) (envelope-from minto@xup.nl) Message-ID: <50A24DFF.5050604@xup.nl> Date: Tue, 13 Nov 2012 14:41:19 +0100 From: Minto van der Sluis Organization: Xup BV User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 MIME-Version: 1.0 To: clerezza-dev@incubator.apache.org Subject: Questions related to using clerezza components X-Enigmail-Version: 1.4.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by XS4ALL Virus Scanner X-Virus-Checked: Checked by ClamAV on apache.org Hi folks, Being new to Clerezza I wonder if part of Clerezza can be used to support my current situation. I need to create an RDF-store with some logic around it. So far I came up with the following: 1) A processing engine/pipeline with basically 2 operations Put and Select. 2) The pipeline contains functional units like: authorisation (A), processing (P), validation (V), storage (S) and filtering (F) 3) Put-operation takes a RDF Graph as input and pushes it into the processing pipeline (A -> P -> V -> S) 4) Every Put contains a fragment (but still a Graph) of a namespace/context. 5) These fragments need to be accumulated into a single Graph per namespace/context. 5) Select-operation takes a (named) query (probably sparql) and pushes it into the processing pipeline (A -> S -> F) 6) Select returns one or more of these accumulated graphs. 7) The functional units are pluggable with support for more than one unit of the same type. Now I had the following in mind for using Clerezza components: - Clerezza Parser (rdf.core) for creating the RDF Graph in memory to start the Put pipeline. - Maybe using Apache Stanbol OntologyManager in the Validation unit to validate Graph content against predefined ontologies. - One of the Clerezza storage components (probably Jena Tdb) to do the actual persistent storage and retrieval in the Storage unit. - Clerezza SerializingProvider (rdf.core) for serializing the results from the Select-operation. Looking at Clerezza I greatly appreciate the abstractness from the underlying storage implementation (Jena, Sesame). However I have the impression that the Parser (rdf.core) immediately stores the Graph in the persistent storage. Is that correct? If so, how can I use the parser to first create a Graph in memory. And, later (when all criteria are met) store this memory graph into a storage component like Tdb (I can't find a suitable operation on TdbTcProvider). My apologies for being abstract, but I am not allowed (NDA) to give to many details. Any advice is highly appreciated. Regards, Minto -- ir. ing. Minto van der Sluis Software innovator / renovator Xup BV