Skip to content

Commit e8bfc32

Browse files
committed
drop religious administrative entities from locations
1 parent 43d0219 commit e8bfc32

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

poliloom/poliloom/models/entities.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,9 @@ class Location(
247247
"Q3257686", # locality
248248
"Q48907157", # section of populated place
249249
]
250-
_hierarchy_ignore = []
250+
_hierarchy_ignore = [
251+
"Q51041800", # religious administrative entity (dioceses, parishes, abbeys, etc.)
252+
]
251253

252254
# Cleanup configuration: property type to soft-delete when cleaning hierarchy
253255
_cleanup_property_type = "BIRTHPLACE"

0 commit comments

Comments
 (0)