Manu1400 created this task.
Manu1400 added a project: Wikidata-Query-Service.
Restricted Application added a subscriber: Aklapper.
Restricted Application added a project: Wikidata.

TASK DESCRIPTION

This query return an error :

SELECT ?item WHERE {
  ?item wdt:P1082 +0.
  ?item wdt:P17 wd:Q142.
}

The error :

Query is malformed: Encountered " <VAR1> "?item "" at line 3, column 3.

The issue is only about the string "+0" in a SPARQL query because an query with "[]" works:

SELECT ?item WHERE {
  ?item wdt:P1082 [].
  ?item wdt:P17 wd:Q142.
}
LIMIT 10

This query don't return Q3593337 as result, but don't return an error.

SELECT ?item ?label ?_image WHERE {
  ?item wdt:P1082 +0; wdt:P17 wd:Q142.
}
LIMIT 100

Maybe this case is an other bug


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

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

To: Manu1400
Cc: Aklapper, Manu1400, Nandana, Lahi, Gq86, Lucas_Werkmeister_WMDE, GoranSMilovanovic, QZanden, EBjune, merbst, LawExplorer, D3r1ck01, Jonas, Xmlizer, jkroll, Smalyshev, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to