From 001468d267bbb2a6f52daea063171eca8ae6964f Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Fri, 5 Jan 2024 20:41:52 +0000 Subject: [PATCH] Add some more item types to ignore in geosearch --- templates/sparql/geosearch.sparql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/sparql/geosearch.sparql b/templates/sparql/geosearch.sparql index 7da5d56..9ee5549 100644 --- a/templates/sparql/geosearch.sparql +++ b/templates/sparql/geosearch.sparql @@ -14,7 +14,7 @@ SELECT DISTINCT ?item ?distance ?itemLabel ?isa ?isaLabel ?commonsCat ?commonsSi } MINUS { ?item wdt:P582 ?endTime . } MINUS { - VALUES ?isNot { wd:Q1497375 wd:Q1497364 wd:Q92086 wd:Q31028835 } + VALUES ?isNot { wd:Q1497375 wd:Q1497364 wd:Q92086 wd:Q31028835 wd:Q160742 wd:Q17485079 wd:Q44613 wd:Q98116669 } ?item wdt:P31 ?isNot . } OPTIONAL { ?item wdt:P373 ?commonsCat. }