Esc3300 added a comment.

Thanks for the suggestion. Combining it with xsd gets me the same, e.g.

SELECT ?item ?host (xsd:integer(bound(?host)) as ?p1)
{
	?item wdt:P31 wd:Q3917681
	OPTIONAL {?item wdt:P17 ?host }
}

That worked for the list of embassies.


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

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

To: Smalyshev, Esc3300
Cc: Smalyshev, Aklapper, Esc3300, mschwarzer, Avner, debt, Gehel, D3r1ck01, Jonas, FloNight, Xmlizer, Izno, jkroll, Wikidata-bugs, Jdouglas, aude, Deskana, Manybubbles, Mbch331
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to