mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 21:03:54 +01:00
Exclude closed locations (P3999) from Nearby query
This commit is contained in:
parent
fdfd7781e9
commit
460d4dc8f6
1 changed files with 1 additions and 0 deletions
|
|
@ -13,6 +13,7 @@ WHERE {
|
|||
MINUS {?item wdt:P582 ?endtime.}
|
||||
MINUS {?item wdt:P582 ?dissolvedOrAbolished.}
|
||||
MINUS {?item p:P31 ?instanceStatement. ?instanceStatement pq:P582 ?endtimeQualifier.}
|
||||
MINUS { ?item wdt:P3999 ?closureDate. }
|
||||
OPTIONAL {?item rdfs:label ?en_label . FILTER(LANG(?en_label) = "en")}
|
||||
OPTIONAL {?item rdfs:label ?fr_label . FILTER(LANG(?fr_label) = "fr")}
|
||||
OPTIONAL {?item rdfs:label ?vn_label . FILTER(LANG(?id_label) = "id")}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue