From b6314768441baa3133d094aeda08cd4baaf8b965 Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Wed, 10 Jan 2024 08:53:13 +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 85f2c34..c3bc88c 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 wd:Q160742 wd:Q17485079 wd:Q44613 wd:Q98116669 wd:Q3146899 wd:Q708676 wd:Q18917976 wd:Q2750108 wd:Q6021560 wd:Q39614 wd:Q513550 } + VALUES ?isNot { wd:Q1497375 wd:Q1497364 wd:Q92086 wd:Q31028835 wd:Q160742 wd:Q17485079 wd:Q44613 wd:Q98116669 wd:Q3146899 wd:Q708676 wd:Q18917976 wd:Q2750108 wd:Q6021560 wd:Q39614 wd:Q513550 wd:Q31028695 wd:Q31028314 wd:Q839954 wd:Q744099 wd:Q28045079 wd:Q106626840 } ?item wdt:P31 ?isNot . } OPTIONAL { ?item wdt:P373 ?commonsCat. }