Pietro created this task.
Pietro added a project: Wikidata.
Restricted Application added a subscriber: Aklapper.

TASK DESCRIPTION

Using the following query on a small dataset (libraries in an Italian region) I got a timeout

SELECT DISTINCT ?item WHERE {

?item (wdt:P131/wdt:P131*) wd:Q1284.
?item (wdt:P31/wdt:P279*) wd:Q7075.

}

but the query works using named subquery

SELECT ?item with
{ select ?item where

{
  ?item (wdt:P131/wdt:P131*) wd:Q1284.
 }

} as %i where
{

include %i

?item (wdt:P31/wdt:P279*) wd:Q7075.
}

or a different region

SELECT DISTINCT ?item WHERE {

?item (wdt:P131/wdt:P131*) wd:Q1279.
?item (wdt:P31/wdt:P279*) wd:Q7075.

}

Is it a bug?
Thanks, Pietro


TASK DETAIL
https://phabricator.wikimedia.org/T206539

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Pietro
Cc: Aklapper, Pietro, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, Wikidata-bugs, aude, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to