我想找到与特定网站对应的 Wikidata 资源。这是我的查询
SELECT DISTINCT ?resource ?instanceOfLabel ?website
WHERE
{
?resource wdt:P856 ?website.
FILTER (REGEX(str(?website), 'http(s)?://(\\w.)?smh.com.au/$')) .
}
}
(此处链接)不返回任何结果。这不是我所期望的,因为
SELECT DISTINCT ?resource ?instanceOfLabel ?website
WHERE
{
?resource wdt:P856 ?website.
FILTER (REGEX(str(?website), 'http(s)?://www.smh.com.au/$')) .
}
(链接在这里)