Add some more item types to ignore in geosearch

This commit is contained in:
Edward Betts 2024-01-05 20:41:52 +00:00
parent 88d46c1dcd
commit 001468d267

View file

@ -14,7 +14,7 @@ SELECT DISTINCT ?item ?distance ?itemLabel ?isa ?isaLabel ?commonsCat ?commonsSi
} }
MINUS { ?item wdt:P582 ?endTime . } MINUS { ?item wdt:P582 ?endTime . }
MINUS { 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 . ?item wdt:P31 ?isNot .
} }
OPTIONAL { ?item wdt:P373 ?commonsCat. } OPTIONAL { ?item wdt:P373 ?commonsCat. }