query-96d06328b5f3f32cbd495d0d560e078a
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?s ?o (LANG(?o) AS ?lc)
Where {
{
SELECT DISTINCT ?lcs WHERE {
[] wdt:P424 ?lcs . FILTER(SUBSTR(?lcs, 1, 2) = "zh")
}
}
BIND ( STRLANG("Smithsonian Institution", ?lcs) AS ?o)
?s ?p ?o .
}
LIMIT 100
Query found at
- https://www.wikidata.org/wiki/Wikidata:Request_a_query/Archive/2022/11
- https://www.wikidata.org/wiki/Wikidata:Request_a_query/en
- https://www.wikidata.org/wiki/Wikidata:Request_a_query/es
- https://www.wikidata.org/wiki/Wikidata:Request_a_query/fr
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v5("?lc")
v1("?lcs")
v2("?o"):::projected
v4("?p")
v3("?s"):::projected
a1((" "))
f0[["substring(?lcs,'1^^xsd:integer','2^^xsd:integer') = 'zh'"]]
f0 --> v1
a1 --"wdt:P424"--> v1
bind1[/"STRLANG('Smithsonian Institution',?lcs)"/]
v1 --o bind1
bind1 --as--o v2
v3 -->v4--> v2
bind2[/"?o"/]
v2 --o bind2
bind2 --as--o v5