Template:Define label language constraint
Jump to navigation
Jump to search
Please note that this template must be substituted. Replace {{define label language constraint}} with {{subst:define label language constraint}} .Check un-substituted usage |
Label language (1)
items with this property would generally have a label in the language(s) defined at Property:P5176#P1552 with complex constraint label language (Q102746314) (Help)
Violations query:
List of this constraint violations: Database reports/Complex constraint violations/Define label language constraint#Label language (1)
items with this property would generally have a label in the language(s) defined at Property:P5176#P1552 with complex constraint label language (Q102746314) (Help)
Violations query:
SELECT DISTINCT ?item ?lang { hint:Query hint:optimizer "None". wd:P5176 p:P1552 [ ps:P1552 wd:Q102746314 ; pq:P407 / wdt:P424 ?lang ] . ?item wdt:P5176 [] . OPTIONAL { ?item rdfs:label ?l . FILTER( lang(?l)= ?lang ) } FILTER ( !BOUND(?l) ) } LIMIT 1000
List of this constraint violations: Database reports/Complex constraint violations/Define label language constraint#Label language (1)
Label language: total missing by language (1)
number of items missing a label in the language(s) defined at Property:P5176#P1552 with complex constraint label language (Q102746314) (Help)
Violations query:
List of this constraint violations: Database reports/Complex constraint violations/Define label language constraint#Label language: total missing by language (1)
number of items missing a label in the language(s) defined at Property:P5176#P1552 with complex constraint label language (Q102746314) (Help)
Violations query:
SELECT ?item ?lang (COUNT(?entity) as ?count) { hint:Query hint:optimizer "None". wd:P5176 p:P1552 [ ps:P1552 wd:Q102746314 ; pq:P407 ?item] . ?item wdt:P424 ?lang . ?entity wdt:P5176 [] . OPTIONAL { ?entity rdfs:label ?l. FILTER( lang(?l)= ?lang ) } FILTER ( !BOUND(?l) ) } GROUP BY ?item ?lang
List of this constraint violations: Database reports/Complex constraint violations/Define label language constraint#Label language: total missing by language (1)
Defines {{Complex constraint}}
on property talk pages for properties with complex constraint label language (Q102746314).
Note: In most cases you should use the property constraint label in language constraint (Q108139345) instead as it offers realtime checking and feedback. It also offers reports available from the property talk pages.
Usage
[edit]{{subst:Define label language constraint}}
See also
[edit]The above documentation is transcluded from Template:Define label language constraint/doc (edit | history). Editors can experiment in this template's sandbox (create | mirror) and testcases (create) page. Please add categories to the /doc subpage. Subpages of this template. |