Wikidata:Property proposal/constraint

From Wikidata
Jump to navigation Jump to search

lexeme of property constraint[edit]

Originally proposed at Wikidata:Property proposal/Generic

   Not done
Descriptionqualifier to define a property constraint in combination with P2302
Data typeLexeme
Examplesimilar to P2305
See alsoitem of property constraint (P2305): qualifier to define a property constraint in combination with "property constraint" (P2302)

exception to constraint (lexeme)[edit]

Originally proposed at Wikidata:Property proposal/Generic

   Not done
Descriptionlexeme that is an exception to the constraint, qualifier to define a property constraint in combination with P2302
Data typeLexeme
Examplesimilar to P2303
See alsoexception to constraint (P2303): item that is an exception to the constraint, qualifier to define a property constraint in combination with P2302


Motivation

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
Fralambert
Manu1400
Was a bee
Malore
Ivanhercaz
Peter F. Patel-Schneider
Pizza1016
Ogoorcs
ZI Jony
Eihel
cdo256
Epìdosis
Dhx1
99of9
Mathieu Kappler
Lectrician1
SM5POR
Infrastruktur

Notified participants of WikiProject property constraints

Supposedly we would need to adapt to the new namespace. Forms might need the same. Feel free to add above.
--- Jura 09:13, 27 April 2018 (UTC)[reply]

Discussion

 Comment a lexeme version of exception to constraint (P2303) could make sense, but do you have any uses in mind for “lexeme of property constraint”? Lexemes as constraint parameters? --Lucas Werkmeister (WMDE) (talk) 13:26, 27 April 2018 (UTC)[reply]
  • I implemented these constraints, but have no time to execute full testing. Please notify me if something goes wrong. The nearest update is in progress already. It will fail with "unsupported constraint" error. The next update must produce appropriate result. — Ivan A. Krestinin (talk) 12:38, 30 July 2018 (UTC)[reply]
Also, why are the labels of those constraint types so inconsistent both with each other (“lexeme requires” vs. “required by this lexeme”) and with all other constraint types (typically end in “… constraint”)? --Lucas Werkmeister (WMDE) (talk) 13:07, 30 July 2018 (UTC)[reply]