Property talk:P3831
Latest comment: 1 month ago by Swpb in topic last property changes
Documentation
object of statement has role
(qualifier) role or generic identity of the predicate value/argument of a statement ("object") in the context of that statement; for the role of the item the statement is on ("subject"), use P2868
(qualifier) role or generic identity of the predicate value/argument of a statement ("object") in the context of that statement; for the role of the item the statement is on ("subject"), use P2868
[create Create a translatable help page (preferably in English) for this property to be included here]
Scope is as qualifier (Q54828449), as reference (Q54828450): the property must be used by specified way only (Help)
List of violations of this constraint: Database reports/Constraint violations/P3831#Scope, hourly updated report, SPARQLAllowed entity types are Wikibase item (Q29934200), Wikibase MediaInfo (Q59712033), Wikibase lexeme (Q51885771), Wikibase form (Q54285143), Wikibase sense (Q54285715), Wikibase property (Q29934218): 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/P3831#Entity types
None of unseen character (Q526231), antagonist (Q245204), main antagonist (Q55712911), protagonist (Q215972), supporting character (Q2595584), main character (Q12317360), minor character (Q27623618), title character (Q3246821): value must not be any of the specified items.
Replacement property: narrative role (P5800)
Replacement values: (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). Replacement property: narrative role (P5800)
Replacement values: (Help)
List of violations of this constraint: Database reports/Constraint violations/P3831#none of, SPARQL
None of hero (Q162244), villain (Q290691), supervillain (Q6498903), antihero (Q110910), superhero (Q188784), silent character (Q21561303), anti-villain (Q12218723): value must not be any of the specified items.
Replacement property: character type (P9071)
Replacement values: (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). Replacement property: character type (P9071)
Replacement values: (Help)
List of violations of this constraint: Database reports/Constraint violations/P3831#none of, SPARQL
None of unnamed character (Q109934238): value must not be any of the specified items.
Replacement property: has characteristic (P1552)
Replacement values: (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). Replacement property: has characteristic (P1552)
Replacement values: (Help)
List of violations of this constraint: Database reports/Constraint violations/P3831#none of, SPARQL
None of death (Q4): value must not be any of the specified items.
Replacement property:
Replacement values: murder victim (Q73153647) (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). Replacement property:
Replacement values: murder victim (Q73153647) (Help)
List of violations of this constraint: Database reports/Constraint violations/P3831#none of, SPARQL
None of victim (Q1851760), crime victim (Q10436169), perpetrator (Q4445088): value must not be any of the specified items.
Replacement property: victim(s) (P8032), perpetrator (P8031)
Replacement values: (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). Replacement property: victim(s) (P8032), perpetrator (P8031)
Replacement values: (Help)
List of violations of this constraint: Database reports/Constraint violations/P3831#none of, SPARQL
None of common tag (Q105265074), synonymous tag (Q105761517), non-canonical tag (Q105264904), verified account or profile (Q28378282), NSFW user account (Q81502485), private account (Q58370623), premium account (Q2108670), public account (Q95120480): value must not be any of the specified items.
Replacement property: has characteristic (P1552)
Replacement values: (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). Replacement property: has characteristic (P1552)
Replacement values: (Help)
List of violations of this constraint: Database reports/Constraint violations/P3831#none of, SPARQL
None of racist (Q28528178): value must not be any of the specified items.
Replacement property:
Replacement values: (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). Replacement property:
Replacement values: (Help)
List of violations of this constraint: Database reports/Constraint violations/P3831#none of, SPARQL
None of voice actor (Q2405480): value must not be any of the specified items.
Replacement property: voice actor (P725)
Replacement values: (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). Replacement property: voice actor (P725)
Replacement values: (Help)
List of violations of this constraint: Database reports/Constraint violations/P3831#none of, SPARQL
None of YouTube auto-generated video (Q64727712): value must not be any of the specified items.
Replacement property: has characteristic (P1552)
Replacement values: (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). Replacement property: has characteristic (P1552)
Replacement values: (Help)
List of violations of this constraint: Database reports/Constraint violations/P3831#none of, SPARQL
None of game demo (Q1755420): value must not be any of the specified items.
Replacement property: demo of (P12050)
Replacement values: (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). Replacement property: demo of (P12050)
Replacement values: (Help)
List of violations of this constraint: Database reports/Constraint violations/P3831#none of, SPARQL
Value protagonist (Q215972) will be automatically replaced to value protagonist (Q215972) and moved to narrative role (P5800) property. Testing: TODO list |
Value unseen character (Q526231) will be automatically replaced to value unseen character (Q526231) and moved to narrative role (P5800) property. Testing: TODO list |
Value antagonist (Q245204) will be automatically replaced to value antagonist (Q245204) and moved to narrative role (P5800) property. Testing: TODO list |
Value main antagonist (Q55712911) will be automatically replaced to value main antagonist (Q55712911) and moved to narrative role (P5800) property. Testing: TODO list |
Value supporting character (Q2595584) will be automatically replaced to value supporting character (Q2595584) and moved to narrative role (P5800) property. Testing: TODO list |
Value main character (Q12317360) will be automatically replaced to value main character (Q12317360) and moved to narrative role (P5800) property. Testing: TODO list |
Value minor character (Q27623618) will be automatically replaced to value minor character (Q27623618) and moved to narrative role (P5800) property. Testing: TODO list |
Value title character (Q3246821) will be automatically replaced to value title character (Q3246821) and moved to narrative role (P5800) property. Testing: TODO list |
Value secondary antagonist (Q105078199) will be automatically replaced to value secondary antagonist (Q105078199) and moved to narrative role (P5800) property. Testing: TODO list |
Value hero (Q162244) will be automatically replaced to value hero (Q162244) and moved to character type (P9071) property. Testing: TODO list |
Value villain (Q290691) will be automatically replaced to value villain (Q290691) and moved to character type (P9071) property. Testing: TODO list |
Value supervillain (Q6498903) will be automatically replaced to value supervillain (Q6498903) and moved to character type (P9071) property. Testing: TODO list |
Value antihero (Q110910) will be automatically replaced to value antihero (Q110910) and moved to character type (P9071) property. Testing: TODO list |
Value anti-villain (Q65622867) will be automatically replaced to value anti-villain (Q65622867) and moved to character type (P9071) property. Testing: TODO list |
Value superhero (Q188784) will be automatically replaced to value superhero (Q188784) and moved to character type (P9071) property. Testing: TODO list |
Discussion
editDifference between subject has role (P2868)?
editI don't understand the difference between this property and subject has role (P2868)? Is one meant to be used on the entity and another as a qualifier? U+1F360 (talk) 13:43, 13 August 2018 (UTC)
- Have a look at the sample above which uses confessor (Q21500210) as value for one of these two qualifiers. It can't work with the other.
--- Jura 14:00, 13 August 2018 (UTC) - To answer my own question. Yes. In a triplestore (like Wikibase) items are stored in <subject/predicate/object> format, so this property is indeed intended to be used a qualifier and subject has role (P2868) ought to be used on the entity itself. U+1F360 (talk) 18:22, 6 February 2019 (UTC)
- No. Both are qualifiers for statements. It's just that they refer to different parts of the triple. --- Jura 09:24, 10 February 2019 (UTC)
- @Deryck Chan: Only you can answer this properly. --Liuxinyu970226 (talk) 12:51, 29 November 2019 (UTC)
- @U+1F360, Jura1, Liuxinyu970226: Easy. subject has role (P2868) describes the main item (so it is usually a qualifier, but occasionally a main statement). object of statement has role (P3831) describes the value of a statement (so it can only be used as a qualifier). For example:
- Louis XI of France (Q8058)significant person (P3342)Jean Bouchard (Q3170866)
object of statement has role (P3831)confessor (Q21500210) - Jean Bouchard is the confessor (not Louis). - Bob Dylan (Q392)participant in (P1344)Mariposa Folk Festival 1973 (Q54370683)
subject has role (P2868)musician (Q639669) - Bob Dylan is the musician (the festival is not a musician).
- Louis XI of France (Q8058)significant person (P3342)Jean Bouchard (Q3170866)
- @U+1F360, Jura1, Liuxinyu970226: Easy. subject has role (P2868) describes the main item (so it is usually a qualifier, but occasionally a main statement). object of statement has role (P3831) describes the value of a statement (so it can only be used as a qualifier). For example:
last property changes
editshould have been discussed first Oursana (talk) 20:28, 16 August 2024 (UTC)
- agreed Beleg Tâl (talk) 18:39, 20 August 2024 (UTC)
- +1. --Wolverène (talk) 13:08, 27 August 2024 (UTC)
- I think "value of statement has role" or even "value has role" would be a lot clearer than "object has role". Referring to values as objects is really technical, that word is not even used by the Wikibase software itself. - Nikki (talk) 06:33, 1 September 2024 (UTC)
- Fine to change "object" to "value", or better yet "statement value". "Object has role" permits an ambiguity, where the property was sometimes used to refer to the object of an action that the statement value refers to, rather than the value of the statement itself; the right property for that is the proposed objects of action have role. Swpb (talk) 16:37, 3 September 2024 (UTC)
- @Swpb Is the current name inconsistency between subject has role (P2868) and object of statement has role (P3831) (in case of future changes, "subject has role" and "object of statement has role") intentional? Is this because subject has role (P2868) can also be a main statement? I don't have a particular opinion on this, just concerned with their translation. 慈居 (talk) 23:28, 25 September 2024 (UTC)
- It is intentional, and it's not because subject has role (P2868) can be a main property. It's because the label "object has role" is ambiguous with objects of occurrence have role (P12992). The object/value of a Wikidata statement is different from the object/undergoer of an occurrence represented by the statement value. Swpb (talk) 23:37, 25 September 2024 (UTC)