Hi Joseph,

No it does not, because the
`org.apache.stanbol.entityhub.site.cacheStrategy` is most likely set
to All (FULL). In this case the remote services are only used as a
fallback if the local index is not available or throws an exception.

A ReferencedSite with the Cache Strategy "Used" would use the remote
services to retrieve Entities missing in the local cache. However if
you configure this Cache Strategy ALL queries would be executed on the
remote service - as one can not answer queries on an incomplete local
cache. So in practical terms you can not use sites configured like
that with the Stanbol Enhancer.

If you want to do both the typical solution is to have two
ReferencedSites. One with a full local index and another one
configured to access the remote service and to locally cache retrieved
items.

To get such a dbpedia-cached site you can simple install the

    org.apache.stanbol:org.apache.stanbol.data.sites.dbpedia.cached

bundle to your Stanbol environment. This bundle will configure a
Entityhub Site with the name "dbpedia-cached".

best
Rupert


On Fri, Aug 30, 2013 at 12:45 PM, Joseph M'Bimbi-Bene
<jbi...@object-ive.com> wrote:
> Hello everybody, i would like to have some information about the referenced
> site and its sparql / Cool URI feature.
>
> I am querying the dbpedia site about the entity "
> http://dbpedia.org/ontology/Organisation"; and i am answered " Entity '
> http://dbpedia.org/ontology/Organisation' not found on referenced site
> 'dbpedia' ".
>
> I thought the linking engine would then query it to the dbPedia sparql
> endpoint.
> Here is an excerpt of the config of the site:
>
> org.apache.stanbol.entityhub.site.dereferencerType="org.apache.stanbol.entityhub.dereferencer.SparqlDereferencer"
> org.apache.stanbol.entityhub.site.searcherType="org.apache.stanbol.entityhub.searcher.VirtuosoSearcher"
> org.apache.stanbol.entityhub.site.accessUri="http://dbpedia.org/sparql/";
> org.apache.stanbol.entityhub.site.queryUri="http://dbpedia.org/sparql";
>
> Best regards, Joseph



-- 
| Rupert Westenthaler             rupert.westentha...@gmail.com
| Bodenlehenstraße 11                             ++43-699-11108907
| A-5500 Bischofshofen

Reply via email to