Hello

Have you tried using VALUES instead of FILTER ?

Thomas

Le mar. 21 janv. 2020 à 19:24, Élie Roux <[email protected]> a
écrit :

> Dear all,
>
> I have a (relatively large) dataset in Fuseki (default optimization
> settings) which I attached the relevant triples. The following query
> takes around 160ms (according to Fuseki logs):
>
> construct {
>     ?res ?resp ?reso .
> }
> where {
>   {
>     bdr:G844 ?rel ?res .
>     ?res a bdo:Place .
>     ?res ?resp ?reso .
>   }
> }
>
> It's not great (at all) but I can live with it, the problem is that if
> I add this filter:
>
> FILTER (?resp = skos:altLabel || ?resp = skos:prefLabel || ?resp =
> skos:placeEvent || ?resp = bdo:placeLat || ?resp = bdo:placeLong ||
> ?resp = bdo:placeType || ?resp = bdo:placeLocatedIn || ?resp =
> owl:sameAs || ?resp = tmp:entityScore)
>
> which despite its length is quite simple, then the Fuseki logs
> indicate 1200ms!! I reproduced it at least 20 times.
>
> Attached are the complete slow and fast queries. Is there an obvious
> error in my query or it a performance issue from Fuseki? If so I can
> report it on JIRA.
>
> Best,
> --
> Elie
>
-- 

*Thomas Francart* -* SPARNA*
Web de *données* | Architecture de l'*information* | Accès aux
*connaissances*
blog : blog.sparna.fr, site : sparna.fr, linkedin :
fr.linkedin.com/in/thomasfrancart
tel :  +33 (0)6.71.11.25.97, skype : francartthomas

Reply via email to