Property talk:P5185

From Wikidata
Jump to navigation Jump to search

Documentation

Representsgrammatical gender (Q162378)
Data typeItem
Allowed values
According to this template: values of has grammatical gender (P5109) on language item
According to statements in the property:
feminine (Q1775415), masculine (Q499327), common (Q1305037), neuter (Q1775461), masculine inanimate (Q52943434), masculine animate non-personal (Q52943193), masculine personal (Q27918551), not masculine personal (Q54152717), masculine animate (Q54020116), common of two genders (Q18478758), ambiguous gender (Q100919075), reale (Q10650049), unstable gender (Q110222158), Dutch f/m shift (Q64448167), lunar (Q110810718), not applicable, personal (Q67372736), impersonal (Q67372837), non-masculine (Q122384392) or feminine or masculine (Q85319912)
When possible, data should only be stored as statements
Usage notesAdd a statement into each applicable form, as well as a statement directly into the lexeme for the main form. Do not use if the language does not use grammatical genders.
Exampleno label (L2879)masculine (Q499327)
no label (L677644)masculine (Q499327)
no label (L677644)feminine (Q1775415)
See alsohas grammatical gender (P5109), sex or gender (P21), gender of a scientific name of a genus (P2433), noun class (P7165), semantic gender (P10339), grammatical number (P11054), grammatical person (P11053)
Lists
Proposal discussionProposal discussion
Current uses
Total608,979
Main statement608,530>99.9% of uses
Qualifier447<0.1% of uses
Reference2<0.1% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
Value type “grammatical gender (Q162378): This property should use items as value that contain property “instance of (P31)”. On these, the value for instance of (P31) should be an item that uses subclass of (P279) with value grammatical gender (Q162378) (or a subclass thereof). (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/P5185#Value type Q162378, SPARQL
Allowed entity types are Wikibase lexeme (Q51885771), Wikibase form (Q54285143), Wikibase sense (Q54285715), 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/P5185#Entity types
Scope is as main value (Q54828448), as qualifier (Q54828449): 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/P5185#Scope, SPARQL

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

Value should be one of has grammatical gender (P5109) used on language item
TODO: add with has grammatical gender (P5109) to language, fix lexeme or define exception (Help)
Violations query: SELECT ?item ?lemma ?gender ?lang # ?genderLabel ?langLabel WHERE { ?item <http://purl.org/dc/terms/language> ?lang ; wikibase:lemma ?lemma ; wikibase:lexicalCategory ?lcat . ?item wdt:P5185 ?gender . MINUS { ?lang wdt:P5109 ?gender } FILTER ( ?lang not in ( wd:Q9056 ) ) # SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } } ORDER BY ?lang ASC(xsd:integer(strafter(str(?item),"/L"))) LIMIT 500
List of this constraint violations: Database reports/Complex constraint violations/P5185#Value should be one of has grammatical gender (P5109) used on language item


Catalan nouns/proper nouns should have this
TODO: add appropriate value (Help)
Violations query: SELECT ?item ?lemma WHERE { VALUES ?lcat { wd:Q1084 wd:Q147276 } ?item <http://purl.org/dc/terms/language> wd:Q7026 ; wikibase:lemma ?lemma ; wikibase:lexicalCategory ?lcat . FILTER NOT EXISTS { ?item wdt:P5185 [] } } ORDER BY ASC(xsd:integer(strafter(str(?item),"/L"))) LIMIT 200
List of this constraint violations: Database reports/Complex constraint violations/P5185#Catalan nouns/proper nouns should have this
French nouns/proper nouns should have this
TODO: add appropriate value (Help)
Violations query: SELECT ?item ?lemma WHERE { VALUES ?lcat { wd:Q1084 wd:Q147276 } ?item <http://purl.org/dc/terms/language> wd:Q150 ; wikibase:lemma ?lemma ; wikibase:lexicalCategory ?lcat . FILTER NOT EXISTS { ?item wdt:P5185 [] } } ORDER BY ASC(xsd:integer(strafter(str(?item),"/L"))) LIMIT 200
List of this constraint violations: Database reports/Complex constraint violations/P5185#French nouns/proper nouns should have this
Italian nouns/proper nouns should have this
TODO: add appropriate value (Help)
Violations query: SELECT ?item ?lemma WHERE { VALUES ?lcat { wd:Q1084 wd:Q147276 } ?item <http://purl.org/dc/terms/language> wd:Q652 ; wikibase:lemma ?lemma ; wikibase:lexicalCategory ?lcat . FILTER NOT EXISTS { ?item wdt:P5185 [] } } ORDER BY ASC(xsd:integer(strafter(str(?item),"/L"))) LIMIT 200
List of this constraint violations: Database reports/Complex constraint violations/P5185#Italian nouns/proper nouns should have this
Latin nouns/proper nouns should have this
TODO: add appropriate value (Help)
Violations query: SELECT ?item ?lemma WHERE { VALUES ?lcat { wd:Q1084 wd:Q147276 } ?item <http://purl.org/dc/terms/language> wd:Q397 ; wikibase:lemma ?lemma ; wikibase:lexicalCategory ?lcat . FILTER NOT EXISTS { ?item wdt:P5185 [] } } ORDER BY ASC(xsd:integer(strafter(str(?item),"/L"))) LIMIT 200
List of this constraint violations: Database reports/Complex constraint violations/P5185#Latin nouns/proper nouns should have this
Polish nouns/proper nouns should have this
TODO: add appropriate value (Help)
Violations query: SELECT ?item ?lemma WHERE { VALUES ?lcat { wd:Q1084 wd:Q147276 } ?item <http://purl.org/dc/terms/language> wd:Q809 ; wikibase:lemma ?lemma ; wikibase:lexicalCategory ?lcat . FILTER NOT EXISTS { ?item wdt:P5185 [] } } ORDER BY ASC(xsd:integer(strafter(str(?item),"/L"))) LIMIT 200
List of this constraint violations: Database reports/Complex constraint violations/P5185#Polish nouns/proper nouns should have this
Portuguese nouns/proper nouns should have this
TODO: add appropriate value (Help)
Violations query: SELECT ?item ?lemma WHERE { VALUES ?lcat { wd:Q1084 wd:Q147276 } ?item <http://purl.org/dc/terms/language> wd:Q5146 ; wikibase:lemma ?lemma ; wikibase:lexicalCategory ?lcat . FILTER NOT EXISTS { ?item wdt:P5185 [] } } ORDER BY ASC(xsd:integer(strafter(str(?item),"/L"))) LIMIT 200
List of this constraint violations: Database reports/Complex constraint violations/P5185#Portuguese nouns/proper nouns should have this
Spanish nouns/proper nouns should have this
TODO: add appropriate value (Help)
Violations query: SELECT ?item ?lemma WHERE { VALUES ?lcat { wd:Q1084 wd:Q147276 } ?item <http://purl.org/dc/terms/language> wd:Q1321 ; wikibase:lemma ?lemma ; wikibase:lexicalCategory ?lcat . FILTER NOT EXISTS { ?item wdt:P5185 [] } } ORDER BY ASC(xsd:integer(strafter(str(?item),"/L"))) LIMIT 200
List of this constraint violations: Database reports/Complex constraint violations/P5185#Spanish nouns/proper nouns should have this
Value female (Q6581072) will be automatically replaced to value feminine (Q1775415).
Testing: TODO list
Value male (Q6581097) will be automatically replaced to value masculine (Q499327).
Testing: TODO list


Allowed-entity-types constraint[edit]

Hi,

I see (thanks to Eihel that the allowed-entity-types constraint (Q52004125) constraint has been changed a few times and there was few discussion about it (if I'm not mistaken).

The initial proposal (Wikidata:Property proposal/grammatical gender) in April 2018 didn't really talked about it (« Statement directly in the lexeme for the main form, and in forms for specific forms. » and a mention of grammatical features). Then :

Now, this property is used on :

  • 452348 lexemes
  • 169 senses (and 83 distinct lexemes)
  • 29 forms (and 25 distinct lexemes)
  • 10 items (errors that need correction)

(counting only direct values, there is also 68 use as qualifier for instance)

I think it safe to say that we could and probably should go back to the initial constraint (Wikibase lexeme (Q51885771) only and mandatory constraint (Q21502408)). What do you think?

As usual, pinging the top 10 user of this property: @Kristbaum, Situxx, Fnielsen, Robert Važan, Romulanus: @عُثمان, Sir Amugi, Jsamwrites, KaMan, Envlh: (exluding myself and bots).

Cheers, VIGNERON (talk) 21:14, 12 February 2023 (UTC)[reply]

Hi there,
I have been using this property exclusively for Lexemes and I currently have no plans to use them for forms or senses.
In that regard, I have no issue in going back to the initial constraint. Situxx (talk) 21:24, 12 February 2023 (UTC)[reply]
I have only used this property on Lexemes (as far as I recall). I agree that it should be only used for lexemes. Furthermore, I do not know of any uses on senses and forms. John Samuel (talk) 21:38, 12 February 2023 (UTC)[reply]