Property talk:P6902
Latest comment: 4 years ago by Jura1 in topic Problem with label of Q256408 (currently "era name")
Documentation
era name
era name for rulers in East Asia
era name for rulers in East Asia
[create Create a translatable help page (preferably in English) for this property to be included here]
Type “human (Q5)”: item must contain property “instance of (P31)” with classes “human (Q5)” 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/P6902#Type Q5, SPARQL
Property “start time (P580)” declared by target items of “era name (P6902)”: If [item A] has this property with value [item B], [item B] is required to have property “start time (P580)”. (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/P6902#Target required claim P580, SPARQL, SPARQL (by value)
Property “end time (P582)” declared by target items of “era name (P6902)”: If [item A] has this property with value [item B], [item B] is required to have property “end time (P582)”. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). Known exceptions: Naruhito (Q217096)List of violations of this constraint: Database reports/Constraint violations/P6902#Target required claim P582, SPARQL, SPARQL (by value)
Item “position held (P39): crown prince (Q207293), Emperor of China (Q268218), khan (Q181888), khagan (Q187878), Khan of Heaven (Q5361581), Taishang Huang (Q44731715), emperor (Q39018), Emperor of Japan (Q208233), king of Joseon Dynasty (Q22304810), monarch (Q116), emperor of Manchukuo (Q5361370), emperor Mañjuśrī (Q11080008), Daijō Tennō (Q14303973), queen regnant (Q19643), Emperor of Korea (Q23665193)”: Items with this property should also have “position held (P39): crown prince (Q207293), Emperor of China (Q268218), khan (Q181888), khagan (Q187878), Khan of Heaven (Q5361581), Taishang Huang (Q44731715), emperor (Q39018), Emperor of Japan (Q208233), king of Joseon Dynasty (Q22304810), monarch (Q116), emperor of Manchukuo (Q5361370), emperor Mañjuśrī (Q11080008), Daijō Tennō (Q14303973), queen regnant (Q19643), Emperor of Korea (Q23665193)”. (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/P6902#Item P39
Property “follows (P155)” declared by target items of “era name (P6902)”: If [item A] has this property with value [item B], [item B] is required to have property “follows (P155)”. (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/P6902#Target required claim P155, SPARQL, SPARQL (by value)
Property “followed by (P156)” declared by target items of “era name (P6902)”: If [item A] has this property with value [item B], [item B] is required to have property “followed by (P156)”. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). Known exceptions: Naruhito (Q217096)List of violations of this constraint: Database reports/Constraint violations/P6902#Target required claim P156, SPARQL, SPARQL (by value)
Value type “era name (Q256408)”: 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 era name (Q256408) (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/P6902#Value type Q256408, SPARQL
Distinct values: this property likely contains a value that is different from all other items. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). Known exceptions: Emperor Ling of Han (Q7299), Emperor Xian of Han (Q7316)List of violations of this constraint: Database reports/Constraint violations/P6902#Unique value, SPARQL (every item), 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/P6902#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/P6902#Scope, SPARQL
instances of era names could be linked with this property
(Help)
Violations query:
List of this constraint violations: Database reports/Complex constraint violations/P6902#instances of era names could be linked with this property
(Help)
Violations query:
SELECT ?item WHERE { ?item wdt:P31/wdt:P279* wd:Q256408 . MINUS { [ ] wdt:P6902 ?item } } LIMIT 500
List of this constraint violations: Database reports/Complex constraint violations/P6902#instances of era names could be linked with this property
items for Emperors of Japan would have this property
(Help)
Violations query:
List of this constraint violations: Database reports/Complex constraint violations/P6902#items for Emperors of Japan would have this property
(Help)
Violations query:
SELECT ?item ?d { ?item wdt:P39 wd:Q208233 . MINUS { ?item wdt:P6902 [] } OPTIONAL { ?item wdt:P570 ?d } } ORDER BY DESC(?d) LIMIT 50
List of this constraint violations: Database reports/Complex constraint violations/P6902#items for Emperors of Japan would have this property
values for items for Emperors of Japan should be instances of Japanese era names
(Help)
Violations query:
List of this constraint violations: Database reports/Complex constraint violations/P6902#values for items for Emperors of Japan should be instances of Japanese era names
(Help)
Violations query:
SELECT ?item ?era { ?item wdt:P39 wd:Q208233 . ?item wdt:P6902 ?era . MINUS { ?era wdt:P31 wd:Q24706 } } LIMIT 50
List of this constraint violations: Database reports/Complex constraint violations/P6902#values for items for Emperors of Japan should be instances of Japanese era names
items for Emperors of China would have this property
(Help)
Violations query:
List of this constraint violations: Database reports/Complex constraint violations/P6902#items for Emperors of China would have this property
(Help)
Violations query:
SELECT ?item { ?item wdt:P39 wd:Q268218 . MINUS { ?item wdt:P6902 [] } }
List of this constraint violations: Database reports/Complex constraint violations/P6902#items for Emperors of China would have this property
Please see Talk:Q256408 --- Jura 16:55, 3 July 2019 (UTC)