Property talk:P6106

From Wikidata
Jump to navigation Jump to search

Documentation

uses capitalization for
lexical classes and subclasses of words as well as other uses in the language where the first letter is written as a capital letter
[create Create a translatable help page (preferably in English) for this property to be included here]
Type “languoid (Q17376908): item must contain property “instance of (P31)” with classes “languoid (Q17376908)” or their subclasses (defined using subclass of (P279)). (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/P6106#Type Q17376908, SPARQL
Property “subclass of (P279)” declared by target items of “uses capitalization for (P6106): If [item A] has this property with value [item B], [item B] is required to have property “subclass of (P279)”. (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/P6106#Target required claim P279, SPARQL, SPARQL (by value)
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/P6106#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/P6106#Scope, SPARQL

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

Experimental complex constraints[edit]

Month names with capitals
e.g. in English ("January"). Uses calendar month (Q47018901) on values of item for this sense (P5137) (Help)
Violations query: SELECT ?item ?lang ?lexeme ?lemma ?form (substr(str(?form),1,1) as ?test) { BIND(wd:Q47018901 as ?item ) ?lang wdt:P6106 ?item . ?lexeme <http://www.w3.org/ns/lemon/ontolex#sense> / wdt:P5137 / wdt:P31 ?item . ?lexeme wikibase:lemma ?lemma . ?lexeme <http://purl.org/dc/terms/language> ?lang . ?lexeme <http://www.w3.org/ns/lemon/ontolex#lexicalForm> / <http://www.w3.org/ns/lemon/ontolex#representation> ?form . FILTER( substr(str(?form),1,1) != ucase(substr(str(?form),1,1)) ) }
List of this constraint violations: Database reports/Complex constraint violations/P6106#Month names with capitals
Proper nouns with capitals
e.g. in French (" Maurétanie"). Uses proper noun (Q147276) as lexical category (Help)
Violations query: SELECT ?item ?lang ?lexeme ?lemma ?form (substr(str(?form),1,1) as ?test) { BIND(wd:Q147276 as ?item ) ?lang wdt:P6106 ?item . ?lexeme wikibase:lexicalCategory ?item . ?lexeme wikibase:lemma ?lemma . ?lexeme <http://purl.org/dc/terms/language> ?lang . ?lexeme <http://www.w3.org/ns/lemon/ontolex#lexicalForm> / <http://www.w3.org/ns/lemon/ontolex#representation> ?form . FILTER( substr(str(?form),1,1) != ucase(substr(str(?form),1,1)) ) }
List of this constraint violations: Database reports/Complex constraint violations/P6106#Proper nouns with capitals
Nouns with capitals
e.g. in German ("Liebe"). Uses noun (Q1084) as lexical category (Help)
Violations query: SELECT ?item ?lang ?lexeme ?lemma ?form (substr(str(?form),1,1) as ?test) { BIND(wd:Q1084 as ?item ) ?lang wdt:P6106 ?item . ?lexeme wikibase:lexicalCategory ?item . ?lexeme wikibase:lemma ?lemma . ?lexeme <http://purl.org/dc/terms/language> ?lang . ?lexeme <http://www.w3.org/ns/lemon/ontolex#lexicalForm> / <http://www.w3.org/ns/lemon/ontolex#representation> ?form . FILTER( substr(str(?form),1,1) != ucase(substr(str(?form),1,1)) ) }
List of this constraint violations: Database reports/Complex constraint violations/P6106#Nouns with capitals
Place names with capitals
e.g. in English ("Vatican"). Uses geographic location (Q2221906) on classes of values of item for this sense (P5137) (Help)
Violations query: SELECT ?item ?lang ?lexeme ?lemma ?form (substr(str(?form),1,1) as ?test) { BIND(wd:Q7884789 as ?item ) ?lang wdt:P6106 ?item . ?lexeme <http://www.w3.org/ns/lemon/ontolex#sense> / wdt:P5137 / wdt:P31 / wdt:P279 wd:Q2221906 . ?lexeme wikibase:lemma ?lemma . ?lexeme <http://purl.org/dc/terms/language> ?lang . ?lexeme <http://www.w3.org/ns/lemon/ontolex#lexicalForm> / <http://www.w3.org/ns/lemon/ontolex#representation> ?form . FILTER( substr(str(?form),1,1) != ucase(substr(str(?form),1,1)) ) }
List of this constraint violations: Database reports/Complex constraint violations/P6106#Place names with capitals
Religions with capitals
e.g. in English ("Buddhism"). Uses religion (Q9174) on classes of values of item for this sense (P5137) (Help)
Violations query: SELECT ?item ?lang ?lexeme ?lemma ?form (substr(str(?form),1,1) as ?test) { BIND(wd:Q9174 as ?item ) ?lang wdt:P6106 ?item . ?lexeme <http://www.w3.org/ns/lemon/ontolex#sense> / wdt:P5137 / wdt:P279* ?item . ?lexeme wikibase:lemma ?lemma . ?lexeme <http://purl.org/dc/terms/language> ?lang . ?lexeme <http://www.w3.org/ns/lemon/ontolex#lexicalForm> / <http://www.w3.org/ns/lemon/ontolex#representation> ?form . FILTER( substr(str(?form),1,1) != ucase(substr(str(?form),1,1)) ) }
List of this constraint violations: Database reports/Complex constraint violations/P6106#Religions with capitals
Days of the week with capitals
e.g. in English ("Monday"). Uses day of the week (Q41825) on values of item for this sense (P5137) (Help)
Violations query: SELECT ?item ?lang ?lexeme ?lemma ?form (substr(str(?form),1,1) as ?test) { BIND(wd:Q41825 as ?item ) ?lang wdt:P6106 ?item . ?lexeme <http://www.w3.org/ns/lemon/ontolex#sense> / wdt:P5137 / wdt:P31 ?item . ?lexeme wikibase:lemma ?lemma . ?lexeme <http://purl.org/dc/terms/language> ?lang . ?lexeme <http://www.w3.org/ns/lemon/ontolex#lexicalForm> / <http://www.w3.org/ns/lemon/ontolex#representation> ?form . FILTER( substr(str(?form),1,1) != ucase(substr(str(?form),1,1)) ) }
List of this constraint violations: Database reports/Complex constraint violations/P6106#Days of the week with capitals

Discussion[edit]

Proposal to change use for instance of Q43091 orthography[edit]

@Nikki@Manu1400 I am pinging you because you are the most recent editors to this property who have made changes other than label/description translations. Can we change this property to be for instances of orthography (Q43091) instead of languages? It does not really make sense to say a language uses capitalization for something when this really has to do with an adaptation of a writing system for a language (and one which uses a writing system with capital letters at that). Some languages are not even written often at all. We could even add a constraint that items with this property require a statement that says the writing system uses one of the relative handful of alphabets which have capital letters. Middle river exports (talk) 13:57, 5 September 2022 (UTC)[reply]