Property talk:P2633

From Wikidata
Jump to navigation Jump to search

Documentation

geography of topic
item that deals with the geography of the subject. Sample: "Rio de Janeiro" uses this property with value "geography of Rio de Janeiro" (Q10288853). For the location of a subject, use "location" (P276).
Representsgeography (Q1071), geography of geographic location (Q46865913)
Has qualitycomplex constraint value label (Q100884525)
Data typeItem
DomainMostly places but not only (note: this should be moved to the property statements)
ExampleMauritius (Q1027)geography of Mauritius (Q3123297)
Rio de Janeiro (Q8678)geography of Rio de Janeiro (Q10288853)
tourism (Q49389)tourism geography (Q1350203)
Tracking: usageCategory:Pages using Wikidata property P2633 (Q23909138)
See alsohistory of topic (P2184), culture (P2596), economy of topic (P8744), demographics of topic (P9241)
Lists
Proposal discussionProposal discussion
Current uses
Total740
Main statement73799.6% of uses
Qualifier30.4% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
Property “topic's main category (P910)” declared by target items of “geography of topic (P2633): If [item A] has this property with value [item B], [item B] is required to have property “topic's main category (P910)”. (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/P2633#Target required claim P910, SPARQL, SPARQL (by value)
Distinct values: this property likely contains a value that is different from all other items. (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/P2633#Unique value, SPARQL (every item), SPARQL (by value)
Single value: this property generally contains a single value. (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/P2633#Single value, SPARQL
Property “instance of (P31): geography of geographic location (Q46865913)” declared by target items of “geography of topic (P2633): If [item A] has this property with value [item B], [item B] is required to have property “instance of (P31): geography of geographic location (Q46865913)”. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). Known exceptions: Earth (Q2), language (Q315), telecommunication (Q418)
List of violations of this constraint: Database reports/Constraint violations/P2633#Target required claim P31, SPARQL
Conflicts with “instance of (P31): Wikimedia disambiguation page (Q4167410), Wikimedia category (Q4167836), Wikimedia list article (Q13406463), Wikimedia template (Q11266439): this property must not be used with the listed properties and values. (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/P2633#Conflicts with P31, 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). Known exceptions: Q49389, Q315, Q515, Q159810, Q2095, Q11042, Q9174, Q33829, Q8148, Q111, Q339, Q43015, Q2, Q7172, Q7159, Q35160, Q349, Q2447366, Q418, Q7590, Q251868, Q1156970
List of violations of this constraint: Database reports/Constraint violations/P2633#Item P625, SPARQL
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/P2633#Scope, 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/P2633#Entity types
Items with P31='geography of geographic location' should be linked with this property
Todo: find the item that could link it with P2633 (Help)
Violations query: SELECT ?item ?itemLabel { ?item wdt:P31 wd:Q46865913 . FILTER NOT EXISTS { [] wdt:P2633 ?item } SERVICE wikibase:label { bd:serviceParam wikibase:language "en" } }
List of this constraint violations: Database reports/Complex constraint violations/P2633#Items with P31='geography of geographic location' should be linked with this property
English label generally start with "geography of " or end with "geography"
Todo: add label (if missing), fix label if incorrect, correct/remove P2633-statement if pointing to the wrong item (Help)
Violations query: SELECT ?item ?itemLabel ?geo ?l ?geoLabel WHERE { ?item wdt:P2633 ?geo . OPTIONAL { ?geo rdfs:label ?l . FILTER ( lang( ?l ) = 'en' ) } FILTER ( !( STRSTARTS( ?l, 'geography of ' ) && BOUND(?l) ) ) FILTER ( !( STRENDS( ?l, 'geography' ) && BOUND(?l) ) ) SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en,fr,sv,pt,pl,ms,bg,be,ru,hy,ar". } }
List of this constraint violations: Database reports/Complex constraint violations/P2633#English label generally start with "geography of " or end with "geography"
value label (1: should match regex)
fix label or adjust regex for language at Property:P2633#P1552: complex constraint value label (Q100884525) (Help)
Violations query: SELECT ?item ?lang ?l ?value ?v ?t WHERE { hint:Query hint:optimizer "None". wd:P2633 p:P1552 [ ps:P1552 wd:Q100884525 ; pq:P8770 ?t ] BIND( lang(?t) as ?lang) ?item wdt:P2633 ?value . ?item rdfs:label ?l . FILTER(lang(?l) = ?lang) ?value rdfs:label ?v . FILTER(lang(?v) = ?lang) FILTER ( !REGEX(str(?v), str(?t) ) ) } # ORDER BY ?lang ?v
List of this constraint violations: Database reports/Complex constraint violations/P2633#value label (1: should match regex)
value label (1: languages lacking a regex)
determine a regex and add it at Property:P2633#P1552: complex constraint value label (Q100884525) (Help)
Violations query: SELECT ?item ?lang (COUNT(*) as ?count) (SAMPLE(?l) as ?sample) WHERE { [] wdt:P2633 ?v . ?v rdfs:label ?l . BIND(lang(?l) as ?lang) OPTIONAL { wd:P2633 p:P1552 [ ps:P1552 wd:Q100884525 ; pq:P8770 ?t ] FILTER( lang(?t) = ?lang) } FILTER( !BOUND(?t) ) ?item wdt:P424 ?lang ; wdt:P305 [] } GROUP BY ?item ?lang HAVING ( ?count > 9) ORDER BY DESC ( ?count)
List of this constraint violations: Database reports/Complex constraint violations/P2633#value label (1: languages lacking a regex)

Please notify projects that use this property before big changes (renaming, deletion, merge with another property, etc.)

Consistency of labels with value label constraint regex[edit]

This list is periodically updated by a bot. Manual changes to the list will be removed on the next update!

WDQS | PetScan | TABernacle | Find images | Recent changes
lang ?lang regex labels ≠regex % regex
Esperanto eo geografio de .+|.+ geografio 455 5 98.9
Spanish es geografía .+ 599 14 97.7
Finnish fi .+ maantiede 344 13 96.2
English en geography of .+|.+ geography 723 14 98.1
Catalan ca geografia d['e].+ 416 13 96.9
Basque eu [A-Z].+[kg]o geografia 364 8 97.8
Czech cs geografie .+ 469 10 97.9
French fr géographie .+ 637 13 98
Italian it geografia d.+ 413 23 94.4
Polish pl geografia .+ 373 4 98.9
Portuguese pt geografia d[aoe]s? .+ 584 15 97.4
Dutch nl geografie van .+|.+geografie
geografie van (de |het )?.+
1038 19 98.2
Romanian ro geografia .+ 235 8 96.6
British English en-gb geography of .+|.+ geography 34 3 91.2
Swedish sv .+geografi 618 5 99.2
Lithuanian lt [A-Z].+ geografija 228 12 94.7
Nynorsk nn .+sk geografi|geografien til.+|.+ sin geografi 73 3 95.9
Canadian English en-ca geography of .+|.+ geography 34 3 91.2

Discussion[edit]

Distinct value constraint[edit]

Distinct value constraint should be relaxed or ignored for certain situations, especially when political entities (states, cities) occur on landforms (islands, continents) that are geographically identical (or nearly so, for all practical purposes) and functionally inseparable. Thousands (or millions) of years of geography and geology don't often change appreciably following colonization or becoming a sovereign state. geography of Australia (Q1134461) credibly applies both to the nation known as Australia (Q408), as well as the island continent Australian continent (Q3960). Ditto for Barbados (Q244) and Barbados (Q30151210). And no, I don't think we should make pedantic items like "geography of Australia including overseas territories" or "Geography of Barbados following 1966 independence" to distinguish the political from geological entities. -Animalparty (talk) 19:23, 19 March 2021 (UTC)[reply]