Property talk:P2633
Documentation
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).
List of violations of this constraint: Database reports/Constraint violations/P2633#Target required claim P910, SPARQL, SPARQL (by value)
List of violations of this constraint: Database reports/Constraint violations/P2633#Unique value, SPARQL (every item), SPARQL (by value)
List of violations of this constraint: Database reports/Constraint violations/P2633#Single value, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P2633#Target required claim P31, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P2633#Conflicts with P31, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P2633#Item P625, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P2633#Scope, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P2633#Entity types
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
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"
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)
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)
This property is being used by: 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
|
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)
- All Properties
- Properties with wikibase-item-datatype
- Properties used on 100+ items
- Properties with target required claim constraints
- Properties with unique value constraints
- Properties with single value constraints
- Properties with conflicts with constraints
- Properties with constraints on items using them
- Properties with scope constraints
- Properties with entity type constraints
- Properties with complex constraints