2021-04-16 21:24:59 +01:00
|
|
|
SELECT ?item ?itemLabel ?commonsSiteLink ?commonsCat WHERE {
|
2021-04-16 21:35:11 +01:00
|
|
|
?item wdt:P836 "{{ gss }}" .
|
2021-04-16 21:24:59 +01:00
|
|
|
OPTIONAL { ?commonsSiteLink schema:about ?item ;
|
|
|
|
schema:isPartOf <https://commons.wikimedia.org/> }
|
|
|
|
OPTIONAL { ?item wdt:P373 ?commonsCat }
|
|
|
|
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
|
|
|
|
}
|
|
|
|
|