fix(sparql): consider P706 "located in" in addition to P361 "part of"
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
s3lph 2023-06-01 04:23:45 +02:00
parent 9b97f92208
commit 6159c7c984
Signed by: s3lph
GPG key ID: 0AA29A52FB33CFB5

View file

@ -103,7 +103,7 @@ SELECT DISTINCT ?item ?map WHERE {
# ?item is instance of country or sovereign state # ?item is instance of country or sovereign state
?item wdt:P31 ?stateclass. ?item wdt:P31 ?stateclass.
# ?item is transitively part of Europe (Contintent) or EEA # ?item is transitively part of Europe (Contintent) or EEA
?item wdt:P361+ ?euroclass. ?item wdt:P361+ | (wdt:P706 / wdt:P361) ?euroclass.
# ?item has geoshape ?map (including all non-deprecated results) # ?item has geoshape ?map (including all non-deprecated results)
?item p:P3896 ?st. ?item p:P3896 ?st.
?st ps:P3896 ?map; ?st ps:P3896 ?map;