Property talk:P12117

From Wikidata
Jump to navigation Jump to search

Documentation

Illinois State Parks ID
identifier for an Illinois state park on the State Parks & Outdoor Recreation website
Associated itemIllinois Department of Natural Resources (Q16846582), Illinois Department of Natural Resources (Q16846582)
Applicable "stated in" valueState Parks & Outdoor Recreation (Q122955921)
Data typeExternal identifier
DomainIllinois state park (Q5999924)
Allowed values[a-z]+(-[a-z]+)*
ExampleApple River Canyon State Park (Q4781225)applerivercanyon
Beaver Dam State Park (Q4878066)beaverdam
Chain O' Lakes State Park (Q5067896)chainolakes
Devil's Island Wildlife Management Area (Q122972266)devils-island
Harry "Babe" Woodyard State Natural Area (Q5666720)harry-babe-woodyard
Lincoln Trail Homestead State Park & Memorial (Q49517187)lincolntrailhomestead
Johnson-Sauk Trail State Recreation Area (Q6268148)johnsonsauktrail
Sielbeck Forest State Natural Area (Q7510803)sielbeckforest
Turkey Bluffs State Fish and Wildlife Area (Q7855041)turkey-bluffs
Woodford State Fish and Wildlife Area (Q8032663)woodford
World Shooting and Recreational Complex (Q122972338)world-shooting-and-recreational-complex
Trail of Tears State Forest (Q7832754)trailoftears
Sourcehttps://dnr.illinois.gov/parks/allparks.html
Formatter URLhttps://dnr.illinois.gov/parks/park.$1.html
Related to country United States of America (Q30) (See 762 others) (Illinois (Q1204))
See alsoMinnesota State Parks and Recreation Areas ID (P12119), Oregon State Parks ID (P10513), Washington State Parks ID (P10514), California State Park ID (P12084)
Lists
Proposal discussionProposal discussion
Current uses
Total96
Main statement60 out of 135 (44% complete)62.5% of uses
Qualifier1212.5% of uses
Reference2425% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
Single value: this property generally contains a single value. (Help)
List of violations of this constraint: Database reports/Constraint violations/P12117#Single value, hourly updated report, SPARQL
Distinct values: this property likely contains a value that is different from all other items. (Help)
List of violations of this constraint: Database reports/Constraint violations/P12117#Unique value, hourly updated report, SPARQL (every item), SPARQL (by value)
Format “[a-z]+(-[a-z]+)*: value must be formatted using this pattern (PCRE syntax). (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/P12117#Format, SPARQL
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/P12117#Item P131, search, SPARQL
Item “coordinate location (P625): Items with this property should also have “coordinate location (P625)”. (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/P12117#Item P625, SPARQL
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/P12117#Entity types
Scope is as main value (Q54828448), as reference (Q54828450): 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/P12117#Scope, SPARQL
Label required in languages: en: Entities using this property should have labels in one of the following languages: en (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/P12117#Label in 'en' language, search, SPARQL
Type “Illinois state park (Q5999924): item must contain property “instance of (P31)” with classes “Illinois state park (Q5999924)” or their subclasses (defined using subclass of (P279)). (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/P12117#Type Q5999924, SPARQL

Regarding this rollback, Trail of Tears State Forest (Q7832754) is instance of Illinois state forest (Q123220026) which is a subclass of Illinois state park (Q5999924). Therefore, Trail of Tears State Forest (Q7832754) is an (indirect) instance of Illinois state park (Q5999924), and it does not violate the constraint subject type constraint (Q21503250) if you use relation (P2309)instance of (Q21503252) as qualifier.

instance or subclass of (Q30208840), instead, means that Trail of Tears State Forest (Q7832754) can be both an instance or a subclass of Illinois state park (Q5999924), but it never happens that a forest/park is a subclass of Illinois state park (Q5999924). Horcrux (talk) 18:30, 28 October 2023 (UTC)[reply]

@AdamSeattle:--Horcrux (talk) 18:31, 28 October 2023 (UTC)[reply]

@Horcrux: I was getting a constraint violation yesterday with the state forests when I added the Illinois State Parks ID property, which is why I changed the property. If that is still happening, I guess we could add Illinois state forest (Q123220026) into the subject type constraint. Maybe yesterday was just a glitch. Thanks.AdamSeattle (talk) 18:38, 28 October 2023 (UTC)[reply]
@AdamSeattle: Ok, I'm looking at these four edits in a row [1][2][3][4]. Now I don't see any warning in Q4906215#P12117, do you? Maybe the problem could have been fixed with a simple purge in Big River State Forest (Q4906215) after the third edit. --Horcrux (talk) 19:12, 28 October 2023 (UTC)[reply]
Yes, it all looks good to me now too. I believe I did purge once or twice yesterday and that didn't stop the constraint, and changing the subject constraint was the only thing I could think of to get the constraint violation to go away. Still learning after all these years... ;) AdamSeattle (talk) 19:18, 28 October 2023 (UTC)[reply]