Return-Path: X-Original-To: apmail-stanbol-dev-archive@www.apache.org Delivered-To: apmail-stanbol-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1C266107D1 for ; Tue, 9 Apr 2013 15:06:52 +0000 (UTC) Received: (qmail 2403 invoked by uid 500); 9 Apr 2013 15:06:52 -0000 Delivered-To: apmail-stanbol-dev-archive@stanbol.apache.org Received: (qmail 2373 invoked by uid 500); 9 Apr 2013 15:06:51 -0000 Mailing-List: contact dev-help@stanbol.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stanbol.apache.org Delivered-To: mailing list dev@stanbol.apache.org Received: (qmail 2364 invoked by uid 99); 9 Apr 2013 15:06:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Apr 2013 15:06:51 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rharo@zaizi.com designates 209.85.212.169 as permitted sender) Received: from [209.85.212.169] (HELO mail-wi0-f169.google.com) (209.85.212.169) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Apr 2013 15:06:47 +0000 Received: by mail-wi0-f169.google.com with SMTP id c10so5116860wiw.2 for ; Tue, 09 Apr 2013 08:06:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zaizi.com; s=google; h=x-received:message-id:date:from:organization:user-agent :mime-version:to:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=Kx6feAZ0E+S0r09/MDTYs3cHRaF9b6yaqMc7aaWxFhc=; b=Wg9gUk5QDqUKgtMoTp/U/Bd7yT8ZlEmJeHQWbseNnaaMN/lDJ72W4+bepbodRJHUW1 nNSGx7fziWW0uJ2dfKSoRMZ9CENhMfLMxj5pltfMuLYn3/ycVQYgr/mDs/ngBGTkHCgR XSD1SP76fxm0Y8PkTIS4HYr5Rih9/5QQRtLsU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:message-id:date:from:organization:user-agent :mime-version:to:subject:references:in-reply-to:content-type :content-transfer-encoding:x-gm-message-state; bh=Kx6feAZ0E+S0r09/MDTYs3cHRaF9b6yaqMc7aaWxFhc=; b=j+8rV7y3d0jcbFGFou92b8Vjf4DFva6i2gf7DxQpmVpNIg4sivC/5HxxsectUnRTor FJcxgLsK4iLZAT/eIKh1QPlMPaw5zOcimx3SxZ0fcOwst2JckkB+NxkNdOLchHhLDxps VFFpvxsAeRfZbkyoyoFS185hOXCgppyE6FkHggmPrm5BVMe57y2kQ2pusQ8KyGtcz6Pi YRWPtnfnfSjeD6eqzMASHwr5Gsgf6FjHozfdwaPOyHpz6rZWQh34eQ6xfEU5aboK1V1j pz/t98FxAZs6ZkCZ6Z69cyI0IwwA44Q1YQ9tnmMJQM45yf+ntCK9jElcTN/GfhG1a/ji 6trg== X-Received: by 10.194.158.42 with SMTP id wr10mr27262872wjb.23.1365519985939; Tue, 09 Apr 2013 08:06:25 -0700 (PDT) Received: from MacBook-Pro-de-Rafa.local (85.136.230.249.dyn.user.ono.com. [85.136.230.249]) by mx.google.com with ESMTPS id ej8sm26293859wib.9.2013.04.09.08.06.23 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 09 Apr 2013 08:06:24 -0700 (PDT) Message-ID: <51642E6E.5050209@zaizi.com> Date: Tue, 09 Apr 2013 17:06:22 +0200 From: Rafa Haro Organization: Zaizi User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: dev@stanbol.apache.org Subject: Re: Get Properties of a Facet-Constraint / Entity References: <516419F2.8010104@zaizi.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQkFh8bFCz3yHiuW20FZ837VqeCNCORs4EDq7qrFSUk3x2rRVUAE6r+MVRJyN7IVi4wTU+ca4OXU80b8O9XA8Ms3nz3klQ== X-Virus-Checked: Checked by ClamAV on apache.org Hi Reto, El 09/04/13 16:30, Reto Bachmann-Gm=FCr escribi=F3: > Hi Rafa > > Thanks for your reply. > > So you are saying I have to look up the facets manually by name and the > hope it's the right one? > > Why does this work only for the default facets? If you upload your custom index within ContentHub through an LDPath=20 program, you could, for instance, store the URI of each extracted entity=20 in Solr. So, you can easily then retrieve the entity from the EntityHub.=20 As far as I know, in the default index, some information from the=20 Enhancement Graph is stored in the index. Regarding entities, only its=20 preferred label are stored. > > While the html version of > > http://bioputer.mimuw.edu.pl:9442/stanbol/contenthub/contenthub/search/fe= atured?queryTerm=3Dmembrane&queryTerm=3Dmembrane&ontologyURI=3D&constraints= =3D{}&_=3D1365517357163 > > contains several facets when I request json I get no facet but only the > documents. I didn't yet check how the java API behaves. I had the same problem a couple of months ago and I wrote an email to=20 the list. Then, this was fixed by Meri=E7 in [1]. Therefore, maybe you are= =20 working with a previous version. Cheers, Rafa [1] https://issues.apache.org/jira/browse/STANBOL-907 > > Cheers, > Reto > > > > > On Tue, Apr 9, 2013 at 3:38 PM, Rafa Haro wrote: > >> Hi Reto, >> >> From an user point of view, using the REST API and assuming that you ar= e >> using the default ContentHub index, only the names (labels) of Person, >> Organizations and Places are stored as fields that can be used as facets >> later. So, I suppose that you can then use EntityHub's find service to >> search entities by those names. >> >> Hope that helps. >> >> Regards, >> Rafa >> >> El 09/04/13 15:31, Reto Bachmann-Gm=FCr escribi=F3: >> >> Anybody has an idea on how to connect the facets of the contenthub wit= h >>> the >>> entities of the entityhub? >>> >>> Cheers, >>> Reto >>> >>> On Wed, Mar 27, 2013 at 11:22 AM, Reto Bachmann-Gm=FCr >>> wrote: >>> Hello, >>>> I would like to have a way to get the details of all the persons >>>> mentioned >>>> in any of the document satisfying a certain query. I think for this I >>>> should go from a specific facet constraint >>>> (org.apache.stanbol.**contenthub.servicesapi.search.**featured.Constra= int) >>>> to >>>> the entity. >>>> >>>> Is this feasible? >>>> >>>> Cheers, >>>> Reto >>>> >>>> >> -- >> >> ------------------------------ >> This message should be regarded as confidential. If you have received th= is >> email in error please notify the sender and destroy it immediately. >> Statements of intent shall only become binding when confirmed in hard co= py >> by an authorised signatory. >> >> Zaizi Ltd is registered in England and Wales with the registration numbe= r >> 6440931. The Registered Office is 222 Westbourne Studios, 242 Acklam Roa= d, >> London W10 5JJ, UK. >> --=20 ------------------------------ This message should be regarded as confidential. If you have received this= =20 email in error please notify the sender and destroy it immediately.=20 Statements of intent shall only become binding when confirmed in hard copy= =20 by an authorised signatory. Zaizi Ltd is registered in England and Wales with the registration number= =20 6440931. The Registered Office is 222 Westbourne Studios, 242 Acklam Road,= =20 London W10 5JJ, UK.