Hi Rupert

Thanks for your answer.

When looking up <http://dbpedia.org/resource/People's_Republic_of_China> it
doesn't find it. When I look up the resource via SiteManager.getEntity I
get (like for other unknown) URIs, the following exception:

java.lang.IllegalStateException: This ManagedSite is no longer active
        at 
org.apache.stanbol.entityhub.site.managed.impl.YardSite.getYard(YardSite.java:264)
        at 
org.apache.stanbol.entityhub.site.managed.impl.YardSite.getEntity(YardSite.java:145)
        at 
org.apache.stanbol.entityhub.core.impl.SiteManagerImpl.getEntity(SiteManagerImpl.java:420)

Cheers,
Reto




On Wed, May 8, 2013 at 2:18 PM, Rupert Westenthaler <
[email protected]> wrote:

> Hi Reto
>
> (1) the correct URI for "South Korea" is
> "http://dbpedia.org/resource/South_Korea"; if you search for that you
> will get the expected Entity
> (2) there is a issue in the SolrYard, as it should quote parsed URIs
> when it creates Solr Queries for Entity URI. The reason why you are
> getting Japan as first result is because the Solr Yard creates a query
> such as "q=uri:http\://dbpedia.org/resource/South Korea" that actually
> searched for entities with the URI dbpedia:South OR Korea. Something
> that is not intended
>
> best
> Rupert
>
> On Wed, May 8, 2013 at 1:32 PM, Reto Bachmann-Gmür <[email protected]>
> wrote:
> > Hello
> >
> > I was wondering why
> >
> > curl -H "Accept: text/turtle" "
> >
> http://dev.iks-project.eu:8081/entityhub/site/dbpedia/entity?id=http://dbpedia.org/resource/South%20Korea
> "
> >
> >
> > returns a description of http://dbpedia.org/resource/Japan (an
> > http://dbpedia.org/resource/Japan.meta).
> >
> > Cheers,
> > Reto
>
>
>
> --
> | Rupert Westenthaler             [email protected]
> | Bodenlehenstraße 11                             ++43-699-11108907
> | A-5500 Bischofshofen
>

Reply via email to