New answers tagged

1

The trick is to use str inside the contains. This query gives the expected result: select ?item ?img { hint:Query hint:maxParallel 400 . hint:Query hint:chunkSize 8000 . ?item wdt:P18 ?img . filter contains(str(?img), "Montage") } Try it Another way to achieve this is to set hint:Query hint:regexMatchNonString true and then use a normal regex. ...


1

Too long for a comment, but not an answer: https://query.wikidata.org/#%23Distribution%20of%20names%20of%20human%20settlements%20ending%20in%20%22-ow%22%20or%20%22-itz%22%20in%20Germany%0A%23added%20before%202016-10%0A%20%23defaultView%3AMap%0ASELECT%20%3Fitem%20%3FitemLabel%20%3Fcoord%0AWHERE%0A%7B%0A%09%3Fitem%20wdt%3AP31%2Fwdt%3AP279%2a%20wd%3AQ486972%3B%...


Top 50 recent answers are included