Property talk:P8338

Latest comment: 3 years ago by SilentSpike in topic Merge?

Documentation

applies to name of object
(qualifier) label or alias (of the claim object) to which the claim applies
Data typeMonolingual text
Usage notesThis property (as opposed to P5168) should be used to denote the precise name of the entity after which the item has been named. If A has been named after B but B can bear different names, use this property as a qualifier of P138 to specify the name of B which has been used to form the name of A.
ExampleUno (Q17267)uno
Vermont (Q16551)montagnes Vertes
Rosa 'Duchesse d'Angoulême' (Q83661728)Duchesse d'Angoulême
<complementary property>applies to name of subject (P5168)
See alsoapplies to part (P518), named after (P138), applies to name of subject (P5168), object named as (P1932)
Lists
Proposal discussionProposal discussion
Current uses
Total6,187
Qualifier6,187100% of uses
[create Create a translatable help page (preferably in English) for this property to be included here]
Scope is as qualifier (Q54828449): the property must be used by specified way only (Help)
List of violations of this constraint: Database reports/Constraint violations/P8338#Scope, hourly updated report, SPARQL
Item “named after (P138): Items with this property should also have “named after (P138)”. (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/P8338#Item P138, SPARQL
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/P8338#Entity types
 
qualifier value would generally be a label or an alias of the item used with P138
check if the property is used correctly or add an alias to the value of named after (P138) (Help)
Violations query: SELECT ?item ?itemLabel ?v ?namedafter ?namedafterLabel WHERE { ?item p:P138 [ ps:P138 ?namedafter ; pq:P8338 ?v ] FILTER NOT EXISTS { ?namedafter rdfs:label ?l . FILTER( contains(lcase(?l) , lcase(?v)) && "mul" = lang(?v) ) } FILTER NOT EXISTS { ?namedafter rdfs:label ?l . FILTER( contains(lcase(?l) , lcase(?v)) && lang(?l) = lang(?v) ) } FILTER NOT EXISTS { ?namedafter skos:altLabel ?a . FILTER( contains(lcase(?a) , lcase(?v)) && "mul" = lang(?v) ) } FILTER NOT EXISTS { ?namedafter skos:altLabel ?a . FILTER( contains(lcase(?a) , lcase(?v)) && lang(?a) = lang(?v) ) } SERVICE wikibase:label { bd:serviceParam wikibase:language "en" } } LIMIT 20
List of this constraint violations: Database reports/Complex constraint violations/P8338#qualifier value would generally be a label or an alias of the item used with P138

Distinguishing from P1810 edit

@Arlo Barnes: I'm replying to the discussion you started on the completed proposal discussion page on the actual property talk page just for future reference of others.

subject named as (P1810) Is intended to record what an entity is named as in a specific instance somewhere (e.g. in a work, database, etc.). Another way of thinking about that is it says "X media names Y as Z". Whereas this property qualifies a statement to say which name (of the statement value) the statement applies to. So that might be "X entity is named after Y, specifically Y's name in <language>: Z". Hopefully that illustrates the difference. --SilentSpike (talk) 10:27, 18 June 2020 (UTC)Reply

I see. So the name that this property refers to might be described by a source on the object item, in which case a p1810 could be put there...but not elsewhere? That makes sense. Arlo Barnes (talk) 15:17, 18 June 2020 (UTC)Reply

Use on Q6556889#P138 edit

(Company called "McAlpine and Sons", then "Sir Robert McAlpine")

I'm not entirely sure which is the best way to do this: obviously, none of the sons has "son" as label or alias. Accordingly, I'm not convinced that we should use P8338 as qualifier. @Arlo_Barnes:.

Maybe the solution of "How I Met Your Mother" at Q147235#P138 could work better: "I" as quotation (P1683) is used to indicate that this refers to Future Ted (Q50378099) (ideally as qualifier, not reference). --- Jura 10:50, 23 June 2020 (UTC)Reply

Sounds good to me, although upon consideration it is a kind of reference: to whatever source is used for the name/label the etymology is referring to (in this case, 'imported from' 'English Wikipedia'). Should the constraints be considered for an update along this sort of line when we get more data modellers chiming in, or are such cases rare enough that we can put up with warnings? Arlo Barnes (talk) 21:20, 23 June 2020 (UTC)Reply
Let's see what others think. If we go ahead, we could just edit the property constraint on P138. --- Jura 08:13, 24 June 2020 (UTC)Reply

Merge? edit

@SilentSpike: Please, how is this different from applies to name of subject (P5168). Sir Robert McAlpine (Q6556889) seems to use both interchangeably. Also, the usage examples given at property pages are very similar in both applies to name of subject (P5168) and applies to name of object (P8338) (both use it as a qualifier for named after (P138). Could you explain the difference and also please add explanations to the properties using Wikidata usage instructions (P2559)? Vojtěch Dostál (talk) 07:59, 11 August 2020 (UTC)Reply

@Vojtěch Dostál: It's different because one is specifying which name the statement applies to with regard to the item (the entity the statement is on) and the other to the name of the value (the entity the statement points to). This is a very distinguishable difference which is why separate properties are needed otherwise it is ambiguous as to which entity the qualifier is specifying. See the case of UNO where both the game (item) and number 1 (value) can be referred to as "uno", but we want to specify that the game is named after the number's name in Spanish specifically (i.e. it is not named after "one").

I hope that is a bit clearer? I'm not sure how best to clarify the usage as there is an inherent need to understand the concept of subject (item) vs object (value) in Wikidata. --SilentSpike (talk) 09:56, 11 August 2020 (UTC)Reply
@SilentSpike Ah, you are right, I missed this difference - it is clear now, but newcomers will have the same problems understanding the difference as I did. I tried to express the difference using Wikidata usage instructions (P2559). Can you please check if I understood sort of correctly? Also I am not a native speaker so my English would definitely need some improvement there. Vojtěch Dostál (talk) 10:50, 11 August 2020 (UTC)Reply
@Vojtěch Dostál: I fixed some switching of A and B, but otherwise looks all good to me! 😊 --SilentSpike (talk) 10:53, 11 August 2020 (UTC)Reply
Return to "P8338" page.