Return-Path: Delivered-To: apmail-incubator-stanbol-dev-archive@minotaur.apache.org Received: (qmail 6208 invoked from network); 7 Mar 2011 13:23:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Mar 2011 13:23:04 -0000 Received: (qmail 8406 invoked by uid 500); 7 Mar 2011 13:23:04 -0000 Delivered-To: apmail-incubator-stanbol-dev-archive@incubator.apache.org Received: (qmail 8376 invoked by uid 500); 7 Mar 2011 13:23:04 -0000 Mailing-List: contact stanbol-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stanbol-dev@incubator.apache.org Delivered-To: mailing list stanbol-dev@incubator.apache.org Received: (qmail 8368 invoked by uid 99); 7 Mar 2011 13:23:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Mar 2011 13:23:04 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of olivier.grisel@gmail.com designates 209.85.216.182 as permitted sender) Received: from [209.85.216.182] (HELO mail-qy0-f182.google.com) (209.85.216.182) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Mar 2011 13:22:58 +0000 Received: by qyk27 with SMTP id 27so3825839qyk.6 for ; Mon, 07 Mar 2011 05:22:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:from :date:x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=PAh8qq++1CU1Dn8+AA5wEFZDErZIAJ6TVXk8U7bpSrE=; b=wGHw4oVHjS1q0kysw64N+8EAuVLk3D6uHgZz3wmnbjiyBdM4Yzy72NLtzosyP7MDiI sNx+2Qye0UR0R8aQg9kUWe2wao1pWj+mfopc3UCBrDTM1UgF7iXX2bjAwEtbP4/SXK0c kPuAdWkaRFCf+xyP77jmMMoRr5qmYxhTz4Pgs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; b=fLK/5cjxg76W2z+sKNdWRMkGquN7jP6AeupRicZM0+RBHu7lhbRHnWVnkOTCqL0mU+ DlCvI/xOIgryU61nS3IZWkEV4Ruf2WErvAlYVMVdlXE/Iq2EwWYD+qcnHYeg3D2pxNbN PFltiCIKlaZ5z2RgrHs8Fk1zveSm8zyf6NJJY= Received: by 10.229.33.2 with SMTP id f2mr2809241qcd.69.1299504157394; Mon, 07 Mar 2011 05:22:37 -0800 (PST) MIME-Version: 1.0 Sender: olivier.grisel@gmail.com Received: by 10.229.88.71 with HTTP; Mon, 7 Mar 2011 05:22:17 -0800 (PST) In-Reply-To: References: From: Olivier Grisel Date: Mon, 7 Mar 2011 14:22:17 +0100 X-Google-Sender-Auth: lo8Ioy5GVlmEfaO2-b1b_WVI8s0 Message-ID: Subject: Re: Stanbol Enhancement Structure (discussion) To: stanbol-dev@incubator.apache.org Cc: Rupert Westenthaler Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org 2011/3/7 Rupert Westenthaler : > On Mon, Mar 7, 2011 at 12:17 PM, Olivier Grisel > wrote: >> 2011/3/7 Rupert Westenthaler : >>> >>> or (3) force implementors of EnhancementEngines to add both >>> sb:Annotation and sb:EntityAnnotation as rdf:type. >>> >>> All this three Solutions do not seam very promising because >>> =C2=A0- users will not want to enable reasoning >>> =C2=A0- UNIONS do make queries very complex, and what happens if we add= an >>> other Annotation type? >>> =C2=A0- adding multiple rdf:types would be nice solution for the client >>> side, but has the danger that some functionality will break if an >>> EnhancementEngines does not add the additional type. >> >> I agree we should not impose UNIONS of rdfs reasoning to the client >> side. I had solution 3 in mind: every time you add an annotation that >> is about the identification of an Entity in the text (as opposed to >> the time of annotations such as finding the topic of the content item, >> the language, a keyphrase, ...), the enhancement engine should add >> both rdf:type sb:Annotation and rdf:type sb:EntityAnnotation. If it >> does not it's considered a bug and has to be fixed. >> > If we aim in that direction, we should create a test framework as part > of the Stanbol Enhancer. EnhancementEngines would than need to pass > all the tests defined by this Framework. > I think it should not be hard to write simple unit tests that check if > Enhancements created by EnhancementEngines are in line with the > Enhancement Structure. +1 We will also update the Java helpers to generate annotations that are consistent with the model. --=20 Olivier http://twitter.com/ogrisel - http://github.com/ogrisel