This commit is contained in:
sonalyadav 2025-04-11 10:24:38 +05:30
parent f1021f7de8
commit 4aea285b7d

View file

@ -10,7 +10,7 @@ SELECT
(SAMPLE(?wikipediaArticle) AS ?wikipediaArticle)
(SAMPLE(?commonsArticle) AS ?commonsArticle)
(SAMPLE(?commonsCategory) AS ?commonsCategory)
(SAMPLE(?DateOfOfficialClosure) AS ?DateOfOfficialClosure)
(SAMPLE(?dateOfOfficialClosure) AS ?dateOfOfficialClosure)
WHERE {
SERVICE <https://query.wikidata.org/sparql> {
values ?item {
@ -46,7 +46,7 @@ WHERE {
# Get existence
OPTIONAL {?item wdt:P576 ?destroyed}
OPTIONAL {?item wdt:P582 ?endTime}
OPTIONAL {?item wdt:P3999 ?DateOfOfficialClosure}
OPTIONAL {?item wdt:P3999 ?dateOfOfficialClosure}
# Get Commons category
OPTIONAL {?item wdt:P373 ?commonsCategory}