Property talk:P22
Jump to navigation
Jump to search
How it can be specified, like for https://wiki.openstreetmap.org/wiki/Item:Q168 that either of two values is needed - not both of them? Mateusz Konieczny (talk) 05:45, 19 February 2021 (UTC)
- I don't think the current system allows that. A special property would be probably needed. But in the example you link, it seems to me that it's justified to require both the values. --YjM (talk) 10:26, 19 February 2021 (UTC)
- As I understand man_made=mast + tower:type=communication + communication:radio=yes also can be valid Mateusz Konieczny (talk) 11:02, 19 February 2021 (UTC)
- And https://wiki.openstreetmap.org/wiki/Tag:network%3Dlcn is example where both listed tags are required Mateusz Konieczny (talk) 20:06, 9 April 2021 (UTC)
- In case of Item:Q168 what about listing key man_made=* instead of one of the tags as workaround? Otherwise we would need a new property, I suppose. -- Chris2map (talk) 07:02, 10 April 2021 (UTC)
- man_made=* is incorrect/inaccurate as for example man_made=bridge would be insufficient. It also would lose info about which tag is actually needed Mateusz Konieczny (talk) 11:14, 10 April 2021 (UTC)
- In case of Item:Q168 what about listing key man_made=* instead of one of the tags as workaround? Otherwise we would need a new property, I suppose. -- Chris2map (talk) 07:02, 10 April 2021 (UTC)
- @Mateusz Konieczny: In my opinion, setting it to man_made (Q1456) is accurate, just imprecise. Any validator relying on data items for such constraints would flag a feature lacking man_made=* but not a feature tagged man_made=bridge. The validator wouldn't be wrong, just not as thorough as one would like. The most Wikidata-like approach would be to create a new item as the disjoint union of two other items, for example person or organization (Q106559804). But extending the data item model in that manner would need some additional discussion. – Minh Nguyễn 💬 20:05, 23 February 2022 (UTC)