I want to find the Wikidata resource corresponding to a specific website. This is my query
SELECT DISTINCT ?resource ?instanceOfLabel ?website
WHERE
{
?resource wdt:P856 ?website.
FILTER (REGEX(str(?website), 'http(s)?://(\\w.)?smh.com.au/$')) .
}
}
(link here) which doesn't return any result. This is not what I would expect since
SELECT DISTINCT ?resource ?instanceOfLabel ?website
WHERE
{
?resource wdt:P856 ?website.
FILTER (REGEX(str(?website), 'http(s)?://www.smh.com.au/$')) .
}
(link here)