Property talk:P2632

Documentation

place of detention
place where this person is or was detained
Representsprison (Q40357)
Data typeItem
Domain
According to statements in the property:
human (Q5), character that may or may not be fictional (Q21070598), fictional character (Q95074), group of humans (Q16334295), Wikimedia list article (Q13406463) or legal case (Q2334719)
When possible, data should only be stored as statements
Allowed valuesitems with instance of (P31) = prison (Q40357) or its subclasses (note: this should be moved to the property statements)
ExampleJuliano Verbard (Q3189131)Saint-Denis prison (Q2946000)
Nelson Mandela (Q8023)Robben Island (Q192493)
Tracking: usageCategory:Pages using Wikidata property P2632 (Q23306280)
See alsopenalty (P1596), convicted of (P1399)
Lists
Proposal discussionProposal discussion
Current uses
Total165,640
Main statement165,496>99.9% of uses
Qualifier141<0.1% of uses
Reference3<0.1% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
Contemporaries:
if [item A] has this property (place of detention (P2632)) linked to [item B],
then [item A] and [item B] have to coincide or coexist at some point of history. (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/P2632#Contemporary, SPARQL
Property “country (P17)” declared by target items of “place of detention (P2632): If [item A] has this property with value [item B], [item B] is required to have property “country (P17)”. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). Known exceptions: Morfin Gaunt (Q1858076)
List of violations of this constraint: Database reports/Constraint violations/P2632#Target required claim P17, SPARQL, SPARQL (by value)
Citation needed: the property must have at least one reference (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/P2632#citation needed
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/P2632#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/P2632#Scope, SPARQL
 
This property is being used by:

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

 
Real human with a fictional place of detention
(Help)
Violations query: SELECT DISTINCT ?item { ?item wdt:P2632 ?value . ?value wdt:P31/wdt:P279* wd:Q17682891 . ?item wdt:P31/wdt:P279* wd:Q5. } ORDER BY ?item
List of this constraint violations: Database reports/Complex constraint violations/P2632#Real human with a fictional place of detention
 
Error in start or end date
Negative interval between end date and start date (Help)
Violations query: SELECT DISTINCT ?item WHERE { ?item p:P2632 ?statement. ?statement pq:P580 ?start. ?statement pq:P582 ?end. BIND( year(?end)-year(?start) as ?diff ). FILTER (?diff < 0) }
List of this constraint violations: Database reports/Complex constraint violations/P2632#Error in start or end date
 
Check registration number
(Help)
Violations query: SELECT ?item ?jail ?catalogue (STRLEN(?catalogue) AS ?strlen) { ?item p:P2632 [ps:P2632 ?jail; pq:P528 ?catalogue; ]. BIND( REGEX( STR( ?catalogue ), "^((AZ\\d+)|(\\d+(\\-AZ)?))$" ) AS ?regexAlcatraz ). BIND( REGEX( STR( ?catalogue ), "^(\\d*-(\\d*)?)$" ) AS ?regex ). FILTER (?regexAlcatraz = false) FILTER (?regex = false) }
List of this constraint violations: Database reports/Complex constraint violations/P2632#Check registration number
 
80+ years in the same jail
(Help)
Violations query: SELECT ?item ?jail ?diff { ?item p:P2632 [ps:P2632 ?jail; pq:P580 ?beginDate; pq:P582 ?endDate; ]. BIND ((?endDate - ?beginDate)/365 AS ?diff) FILTER (?diff > 80) }
List of this constraint violations: Database reports/Complex constraint violations/P2632#80+ years in the same jail
 
Distance between locations
(Help)
Violations query: SELECT DISTINCT ?item { ?item wdt:P2632 ?lieuD; wdt:P19 ?born; wdt:P570 ?died. ?lieuD wdt:P625 ?coordD. ?born wdt:P625 ?coordB. FILTER (YEAR(?died) < 1700) BIND(geof:distance(?coordD, ?coordB) as ?dist) FILTER (?dist > 5000) # 5000 km FILTER (?lieuD != wd:Q2656389) # an island }
List of this constraint violations: Database reports/Complex constraint violations/P2632#Distance between locations
Return to "P2632" page.