stanbol-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Riccitelli <david.riccite...@interact.it>
Subject Re: EntityHub and DBpedia
Date Mon, 06 Jun 2011 12:22:51 GMT
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=http://dbpedia.org/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 { <http://dbpedia.org/resource/Valentino_Rossi> ?p ?o }
> WHERE { <http://dbpedia.org/resource/Valentino_Rossi> ?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
> <david.riccitelli@interact.it> wrote:
> > Dears,
> > Before r1131053, when querying for
> > resource http://dbpedia.org/resource/Valentino_Rossi, I was able to get:
> >
> >     <j.8:thumbnail
> > rdf:resource="
> http://upload.wikimedia.org/wikipedia/commons/thumb/8/81/Valentino_Rossi_2010_Qatar.jpg/200px-Valentino_Rossi_2010_Qatar.jpg
> "/>
> >     <j.3:depiction
> > rdf:resource="
> http://upload.wikimedia.org/wikipedia/commons/8/81/Valentino_Rossi_2010_Qatar.jpg
> "/>
> >
> > being:
> >
> >     xmlns:j.3="http://xmlns.com/foaf/0.1/"
> >     xmlns:j.8="http://dbpedia.org/ontology/"
> >
> > With r1131053 however these information are not provided anymore: see the
> > 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├če 11                             ++43-699-11108907
> | A-5500 Bischofshofen
>



-- 
David Riccitelli

Interact SpA
Via A. Bargoni 78 (scala F)
00153 Roma

T +39 06 58318 301
F +39 06 58318 303

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message