Property talk:P7479
Latest comment: 3 years ago by Jura1 in topic Value type constraint
Documentation
key col
highest col connecting to an even higher point
highest col connecting to an even higher point
[create Create a translatable help page (preferably in English) for this property to be included here]
Item “elevation above sea level (P2044)”: Items with this property should also have “elevation above sea level (P2044)”. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). List of violations of this constraint: Database reports/Constraint violations/P7479#Item P2044, SPARQL
Property “elevation above sea level (P2044)” declared by target items of “key col (P7479)”: If [item A] has this property with value [item B], [item B] is required to have property “elevation above sea level (P2044)”. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). List of violations of this constraint: Database reports/Constraint violations/P7479#Target required claim P2044, SPARQL, SPARQL (by value)
Allowed entity types are Wikibase item (Q29934200): the property may only be used on a certain entity type (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). List of violations of this constraint: Database reports/Constraint violations/P7479#Entity types
Scope is as main value (Q54828448): the property must be used by specified way only (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). List of violations of this constraint: Database reports/Constraint violations/P7479#Scope, SPARQL
None of ( ) (Q8364), drainage divide (Q152005), Ibid. (Q951150), water wheel (Q146728), sunken lane (Q476352), well house (Q7981128): value must not be any of the specified items.
Replacement property:
Replacement values: (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). Replacement property:
Replacement values: (Help)
List of violations of this constraint: Database reports/Constraint violations/P7479#none of, SPARQL
Value type “mountain pass (Q133056), body of water (Q15324), saddle (Q10862618), col (Q2231510), gap (Q16887036)”: This property should use items as value that contain property “instance of (P31)”. On these, the value for instance of (P31) should be an item that uses subclass of (P279) with value mountain pass (Q133056), body of water (Q15324), saddle (Q10862618), col (Q2231510), gap (Q16887036) (or a subclass thereof). (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). List of violations of this constraint: Database reports/Constraint violations/P7479#Value type Q133056, Q15324, Q10862618, Q2231510, Q16887036, SPARQL
elevation of value should be lower
TODO: correct value or elevation, adjust ranks, define exceptions (Help)
Violations query:
List of this constraint violations: Database reports/Complex constraint violations/P7479#elevation of value should be lower
TODO: correct value or elevation, adjust ranks, define exceptions (Help)
Violations query:
SELECT ?item ?itemLabel ?item_elevation ?keycol ?keycolLabel ?keycol_elevation { ?item wdt:P7479 ?keycol . ?item p:P2044 / psn:P2044 / wikibase:quantityAmount ?item_elevation . ?keycol p:P2044 / psn:P2044 / wikibase:quantityAmount ?keycol_elevation . FILTER( ?item_elevation < ?keycol_elevation ) FILTER( ?item not in ( wd:Q15397819 , wd:Q4115189 ) ) SERVICE wikibase:label { bd:serviceParam wikibase:language "en" } } LIMIT 100
List of this constraint violations: Database reports/Complex constraint violations/P7479#elevation of value should be lower
Statistics edit
Discussion edit
Infobox edit
Seems that this is available only on enwiki (within the prominence string after "by") and dewiki infoboxes. I imported some of the later.
@Nomen ad hoc, Arjoopy, Thierry Caro, Elop: maybe you recall the property proposal --- Jura 17:40, 3 December 2020 (UTC)
- BTW I added a value type constraint as the default ended up matching with all sorts of unsuitable items. --- Jura 13:14, 4 December 2020 (UTC)
Value type constraint edit
What would be a suitable value type constraint? I added a few. Please expand as needed. --- Jura 13:14, 4 December 2020 (UTC)