Return-Path: X-Original-To: apmail-incubator-stanbol-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-stanbol-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 8B51A46CD for ; Mon, 6 Jun 2011 12:23:20 +0000 (UTC) Received: (qmail 5984 invoked by uid 500); 6 Jun 2011 12:23:20 -0000 Delivered-To: apmail-incubator-stanbol-dev-archive@incubator.apache.org Received: (qmail 5939 invoked by uid 500); 6 Jun 2011 12:23:20 -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 5931 invoked by uid 99); 6 Jun 2011 12:23:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Jun 2011 12:23:20 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of david.riccitelli@interact.it designates 209.85.216.47 as permitted sender) Received: from [209.85.216.47] (HELO mail-qw0-f47.google.com) (209.85.216.47) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Jun 2011 12:23:14 +0000 Received: by qwh5 with SMTP id 5so1797857qwh.6 for ; Mon, 06 Jun 2011 05:22:51 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.87.143 with SMTP id w15mr3495568qcl.170.1307362971360; Mon, 06 Jun 2011 05:22:51 -0700 (PDT) Received: by 10.229.135.134 with HTTP; Mon, 6 Jun 2011 05:22:51 -0700 (PDT) In-Reply-To: References: Date: Mon, 6 Jun 2011 15:22:51 +0300 Message-ID: Subject: Re: EntityHub and DBpedia From: David Riccitelli To: stanbol-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=0016364ef192801e8304a50a2999 X-Virus-Checked: Checked by ClamAV on apache.org --0016364ef192801e8304a50a2999 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Rupert, Clearing the cache solved the issue. Thanks for you help. BR, David On Mon, Jun 6, 2011 at 3:15 PM, Rupert Westenthaler < rupert.westenthaler@gmail.com> wrote: > Hi David > > Assuming that you are using the default distribution of Apache Stanbol. > > Requests for http://dbpedia.org/resource/Valentino_Rossi will be > - only the first time answered by retrieving the Entity form DBpedia.org > - the Information are cached in a local cache. By that values of the > documents are filtered (see (a) for details) > - the cached version is returned > > (a) The default configuration for dbpedia stores all fields however > filters values for literals so that only values with the language "en, > de, fr, it, es" or no language are stored. > > > Assuming that you have started for zero when updating to a new version > this also means that you have downloaded a new version of this Entity > from dbPedia. > > I made several tests and I was not able to reproduce the described case. > > I tried the following: > > curl -H "Accept: application/rdf+xml" > > http://localhost:8080/entityhub/site/dbpedia/entity?id=3Dhttp://dbpedia.o= rg/resource/Valentino_Rossi > > The response contained both the expected thumbnail and the depiction > value. (see the attached file). > > Also comparing the results with the one directly provided by DBpedia > indicated no problems. Try to post > > CONSTRUCT { ?p ?o } > WHERE { ?p ?o } > > onto http//dbpedia.org/sparql. > > Therefore I would suggest you to try: > - to copy the launcher jar to an other directory and init an other > Stanbol installation (use -p {port} to change the port) > - if you do not care about loosing the local cache you can also just > delete the "{stanbol_root_folder}/sling/entityhub/solrYard/indexes/cache" > folder and restart Stanbol. > > It this solves the problem, that the Error will be most likely be > cause by DBpedoa.org not returning all data. It the properties are > still missing, than it has to be something todo with the configuration > provided within the launcher jar. > In that case I would need more information about the launcher you use > and possible changes to your configuration. > > best > Rupert Westenthaler > > > On Mon, Jun 6, 2011 at 10:29 AM, David Riccitelli > wrote: > > Dears, > > Before r1131053, when querying for > > resource http://dbpedia.org/resource/Valentino_Rossi, I was able to get= : > > > > > rdf:resource=3D" > http://upload.wikimedia.org/wikipedia/commons/thumb/8/81/Valentino_Rossi_= 2010_Qatar.jpg/200px-Valentino_Rossi_2010_Qatar.jpg > "/> > > > rdf:resource=3D" > http://upload.wikimedia.org/wikipedia/commons/8/81/Valentino_Rossi_2010_Q= atar.jpg > "/> > > > > being: > > > > xmlns:j.3=3D"http://xmlns.com/foaf/0.1/" > > xmlns:j.8=3D"http://dbpedia.org/ontology/" > > > > With r1131053 however these information are not provided anymore: see t= he > > attached file for a comparison. > > I understand the configuration of EntityHub changed, how do I get those > > information back from EntityHub? > > BR, > > David > > > > -- > > David Riccitelli > > > > Interact SpA > > Via A. Bargoni 78 (scala F) > > 00153 Roma > > > > T +39 06 58318 301 > > F +39 06 58318 303 > > > > > > -- > | Rupert Westenthaler rupert.westenthaler@gmail.com > | Bodenlehenstra=DFe 11 ++43-699-11108907 > | A-5500 Bischofshofen > --=20 David Riccitelli Interact SpA Via A. Bargoni 78 (scala F) 00153 Roma T +39 06 58318 301 F +39 06 58318 303 --0016364ef192801e8304a50a2999--