Property talk:P2303

From Wikidata
Jump to navigation Jump to search

Documentation

exception to constraint
item that is an exception to the constraint, qualifier to define a property constraint in combination with P2302
DescriptionProperty representing the exception statement from current constraint usage (see above for detailed explanation).
Data typeItem
Domainqualifier for property constraint (P2302) (note: this should be moved to the property statements)
Allowed valuesnearly every item (note: this should be moved to the property statements)
Exampleknown exception ==> Q1234 (note: this information should be moved to a property statement; use property Wikidata property example (P1855), Wikidata property example for properties (P2271), Wikidata property example for lexemes (P5192), Wikidata property example for forms (P5193), Wikidata property example for senses (P5977) or Wikidata property example for media (P6685))
Robot and gadget jobsMigrate constraints from property talk pages.
Lists
Proposal discussionProposal discussion
Current uses803
Search for values
[create] Create a translatable help page (preferably in English) for this property to be included here
Scope is as qualifiers (Q54828449): the property must be used by specified way only (Help)
Exceptions are possible as rare values may exist. Known exceptions: exceptions for test (Q21532100)
List of this constraint violations: Database reports/Constraint violations/P2303#scope, SPARQL, SPARQL (new)
Title ID Data type Description Examples Inverse
property constraintP2302Itemproperty constraint: constraint applicable to this Wikidata propertyIMDb ID <property constraint> distinct values constraint-
exception to constraintP2303Itemitem that is an exception to the constraint, qualifier to define a property constraint in combination with P2302Property talk:P2303-
group byP2304PropertyGROUP BY: qualifier to define a property constraint in combination with P2302 (Wikidata property constraint)Property talk:P2304-
item of property constraintP2305Itemqualifier to define a property constraint in combination with P2302Property talk:P2305-
propertyP2306PropertyWikidata property: qualifier to define a property constraint in combination with P2302 (property constraint), or to limit the scope of Q44292881 (wikidata statement)Property talk:P2306-
namespaceP2307StringWikipedia:MediaWiki namespace: qualifier to define a property constraint in combination with P2302 (Wikidata property constraint)Property talk:P2307-
classP2308Itemclass (set theory): qualifier to define a property constraint in combination with P2302Property talk:P2308-
relationP2309Itemqualifier to define a property constraint in combination with P2302. Possibly values are: "instance of", "subclass of" or "instance or subclass of". The qualifier to use with the property "relative" is "type of kinship" (P1039), not this.Property talk:P2309-
minimum date (property constraint)P2310Point in timequalifier to define a property constraint in combination with P2302Property talk:P2310-
maximum date (property constraint)P2311Point in timequalifier to define a property constraint in combination with P2302. Use "unknown value" for current date.Property talk:P2311-
maximum valueP2312Quantitymaximum: qualifier to define a property constraint in combination with P2302. "no value" can be used to specify no upper boundrange constraint-
minimum valueP2313Quantityminimum: qualifier to define a property constraint in combination with P2302range constraint-
format as a regular expressionP1793Stringregular expression: regex describing an identifier or a Wikidata property. When using on property constraints, ensure syntax is a PCRENTFS <format as a regular expression> [^\00/] and IMDb ID <format as a regular expression> ev\d{7}\/\d{4}(-\d)?|(ch|co|ev|nm|tt)\d{7}-
constraint statusP2316Itemqualifier to define a property constraint in combination with P2302. Use values "mandatory constraint" or "suggestion constraint"property scope constraint <constraint status> mandatory constraint-
syntax clarificationP2916Monolingual textsyntax: qualifier for P1793 (regular expression): to provide a textual description of the regex syntax of a value. Should be displayable after the text "The value for the property should match" and be followed by the regex.Property talk:P2916-

Discussion[edit]

Applies to subjects or objects?[edit]

Lucas Werkmeister (WMDE)
Jarekt - mostly interested in properties related to Commons
MisterSynergy
John Samuel
Sannita
Yair rand
Jon Harald Søby
Pasleim
Jura
PKM
ChristianKl
Sjoerddebruin
Salgo60
Fralambert
Manu1400
Was a bee
Malore
Ivanhercaz
Peter F. Patel-Schneider
Pizza1016
Ogoorcs
ZI Jony
Pictogram voting comment.svg Notified participants of WikiProject property constraints

Can we clarify whether these exceptions apply to subjects or object? Imagine this situation (as found in author (P50)):

< P50 > property constraint (P2302) View with SQID < value type constraint (Q21510865) View with Reasonator View with SQID >
exception to constraint (P2303) View with SQID < Brothers Grimm (Q2793) View with Reasonator View with SQID >

Does this mean that the constraint does not apply on all statements in Brothers Grimm (Q2793) (subject), or that all statments with values Brothers Grimm (Q2793) (object) in whatever item are exempt from it? —MisterSynergy (talk) 15:57, 20 December 2017 (UTC)

It applies to subjects. In your example, it means that the constraint will not be checked in author (P50) statements on Brothers Grimm (Q2793). See also Help:Property constraints portal# Constraint parameters: On the items listed under this parameter, the constraint is not checked. --Lucas Werkmeister (WMDE) (talk) 16:09, 20 December 2017 (UTC)
Thnx. So this constraint on P50 does not make sense at all and I removed it. Do we have a constraint that exempts certain values from the exception? —MisterSynergy (talk) 16:11, 20 December 2017 (UTC)
No, there’s no property like that as far as I’m aware, and if there is, WikibaseQualityConstraints / the checkConstraints gadget doesn’t support it. --Lucas Werkmeister (WMDE) (talk) 16:35, 20 December 2017 (UTC)
Would be good if there was a way to do that. Another place where exceptions could be improved on, are the exceptions on taxon name (P225).
--- Jura 16:57, 20 December 2017 (UTC)
I agree, a value-based value type constraint would be useful. I meanwhile removed a couple of (non-functional) exceptions from value type constraint (Q21510865) statements which clearly aimed at value-based exempts. —MisterSynergy (talk) 17:05, 20 December 2017 (UTC)