Property talk:P5402
Jump to navigation
Jump to search
Documentation
homograph lexeme
lexeme in the same language with the same spelling as this one
lexeme in the same language with the same spelling as this one
Represents | homograph (Q223981) | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
Data type | Lexeme | |||||||||
Example | According to this template:
fire@English noun → fire@English verb (see: wikt:en:fire)
When possible, data should only be stored as statements | |||||||||
See also | false friend (P5976), said to be the same as lexeme (P11577), homoglyph (P2444), different from (P1889) | |||||||||
Lists |
| |||||||||
Proposal discussion | Proposal discussion | |||||||||
Current uses |
| |||||||||
Search for values |
[create Create a translatable help page (preferably in English) for this property to be included here]
Allowed entity types are Wikibase lexeme (Q51885771): the property may only be used on a certain entity type (Help)
List of violations of this constraint: Database reports/Constraint violations/P5402#Entity types, hourly updated reportSymmetric property: if [item A] has this property linked to [item B], then [item B] should also have this property linked to [item A]. (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/P5402#Symmetric, 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/P5402#Scope, SPARQL
Not the same language
Lexemes using this property should both use the same language item. (Help)
Violations query:
List of this constraint violations: Database reports/Complex constraint violations/P5402#Not the same language
Lexemes using this property should both use the same language item. (Help)
Violations query:
select ?item (group_concat(distinct ?lemma; separator="/") as ?lemmas) ?lang ?lexcat { ?item wdt:P5402 ?item2; wikibase:lexicalCategory ?lexcat; dct:language ?lang; wikibase:lemma ?lemma. ?item2 dct:language ?lang2. filter (?lang != ?lang2). } group by ?item ?lang ?lexcat order by ?lemmas
List of this constraint violations: Database reports/Complex constraint violations/P5402#Not the same language
Language
[edit]may be to limit to the same language? Otherwise we end up with hundreds of cross-links in each of hundreds interlanguage homographs (see e.g. wikt:ru:Peru). --Infovarius (talk) 08:30, 19 October 2018 (UTC)
- I agree it should be limited to the same language. The only support in property proposal was also in the same language. KaMan (talk) 08:36, 19 October 2018 (UTC)
- Agree: when editing lexemes, it's fairly important to bear in mind homograph ones in the same language. We could add complex constraint to monitor this. --- Jura 09:24, 19 October 2018 (UTC)
- I also think it should be limited to the same language. -Theklan (talk) 14:36, 12 November 2019 (UTC)
- This seems like a good idea. Who can implement? Ainali (talk) 16:24, 3 January 2021 (UTC)
- I've edited all the descriptions except Finnish and created phab:T271079 asking for a "same language" constraint. In the meantime I've added a complex constraint (Database reports/Complex constraint violations/P5402) although I won't know if it's worked until the report has been generated. I don't know when that will be so I also made a Listeria list (User:Nikki/P5402). - Nikki (talk) 23:35, 3 January 2021 (UTC)
- Thanks. If you click on the "violations query", you get what the constraint report should output. Ideally Spanish (Q1321) and Peruvian Spanish (Q736236) would probably also be considered the same language by the constraint. --- Jura 23:40, 3 January 2021 (UTC)
- @Jura1, Nikki, Ainali, KaMan, Infovarius: can we agree that different dialects count as the same language in this context? I'm asking because i think there should be a connection between Köter (L1189526) (german) and Köter (L184270) (low german). There is probably a derived from lexeme (P5191) relationship between them, but I don't know which way it goes. –07:07, 16 October 2023 (UTC)
- Thanks. If you click on the "violations query", you get what the constraint report should output. Ideally Spanish (Q1321) and Peruvian Spanish (Q736236) would probably also be considered the same language by the constraint. --- Jura 23:40, 3 January 2021 (UTC)
- I've edited all the descriptions except Finnish and created phab:T271079 asking for a "same language" constraint. In the meantime I've added a complex constraint (Database reports/Complex constraint violations/P5402) although I won't know if it's worked until the report has been generated. I don't know when that will be so I also made a Listeria list (User:Nikki/P5402). - Nikki (talk) 23:35, 3 January 2021 (UTC)
- This seems like a good idea. Who can implement? Ainali (talk) 16:24, 3 January 2021 (UTC)