What ist the correct way to query by parts of the description in wikidata?
This one works for the label and I get all popes starting with "Johannes":
SELECT ?a ?rdfLab WHERE {
?a wdt:P39 wd:Q19546.
?a rdfs:label ?rdfLab.
FILTER(LANG(?rdfLab) = "[AUTO_LANGUAGE]").
FILTER(STRSTARTS(?rdfLab, "Johannes "))
}
But how can I query for some content of the description.
I've tried rdfs:comment but this does not work.
schema:description
是正确的方法
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.