I solved in the same way, but loosing the caching capabilities. Is there any possibility to keep both all the data and the cache?
Andrea On Jul 11, 2011, at 4:08 PM, David Riccitelli wrote: > Ok, stopping the solrYard dbpedia_43k component solved for me. > > Thanks, > David > > On Mon, Jul 11, 2011 at 4:13 PM, David Riccitelli < > [email protected]> wrote: > >> Hi Rupert, >> >> I recently updated the Stanbol install, and I found that the RDF returned >> by the EntityHub is missing some props (specifically the dbprop as far as I >> can see). >> >> This is the command that I use for testing: >> curl -H "accept: application/rdf+xml" " >> http://localhost:8080/entityhub/site/dbpedia/entity?id=http://dbpedia.org/resource/Valentino_Rossi >> " >> >> which outputs the attached RDF file. >> >> I cleared all of the sling folder (rm -fr sling) and checked the with the >> SPAQL end-point at DBpedia, but I wasn't able to fix it. >> >> Does this depend on the mapping.txt file? >> >> Thanks for your help. >> >> BR >> David >> >> On Mon, Jun 6, 2011 at 3:22 PM, David Riccitelli < >> [email protected]> wrote: >> >>> 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 < >>> [email protected]> 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 >>>> <[email protected]> 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 [email protected] >>>> | 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 >>> >>> >> >> >> -- >> David Riccitelli >> >> Interact SpA >> Via A. Bargoni 78 (scala F) >> 00153 Roma >> >> T +39 06 58318 301 >> F +39 06 58318 303 >> >> > > > -- > David Riccitelli > > Interact SpA > Via A. Bargoni 78 (scala F) > 00153 Roma > > T +39 06 58318 301 > F +39 06 58318 303
