Wikidata:Property proposal/Author first names

From Wikidata
Jump to navigation Jump to search

first name(s) stated as[edit]

Originally proposed at Wikidata:Property proposal/Generic

Descriptionqualifier for string representation of given or secondary sorting portion of a name as represented in a bibliographic reference file (for example BibTeX)
Data typeString
Template parameter'first-N' parameter in en:Template:Cite Q
Domainproperty
Allowed valuesany string that may appear in a name (including spaces and periods)
Example 1The South Pole Telescope (Q55893751) author name string (P2093) → John Ruhl → 'John'
Example 2The South Pole Telescope (Q55893751) author name string (P2093) → Peter A. R. Ade → 'Peter A. R.'
Example 3Prostetic Rehabilitation of an Eye Globe: Case Report (Q89819389) author name string (P2093) → Clovis Lamartine de Moraes Melo Neto → 'Clovis Lamartine'
Example 4Tear Strength Analysis of MDX4-4210 and A-2186 Silicones with Different Intrinsic Pigments Incorporated by Mechanical and Industrial Methods (Q92616544) author (P50) → Marcelo Coelho Goiato → 'Marcelo Coelho'
Example 5An EAR-motif-containing ERF transcription factor affects herbivore-induced signaling, defense and resistance in rice. (Q52725820) author name string (P2093) → Yonggen Lou → 'Yonggen' (N.B. author's entry is Lu Yonggen (Q9116274) in Chinese name order)
SourceBibtex references
Planned useImplementation in Template:Cite Q
Robot and gadget jobsI will propose a task for Pi bot that will populate this
See alsoobject named as (P1932)
Single-value constraintyes

Motivation[edit]

We have been working on Template:Cite Q improvements over the last few months. One request has been particularly challenging: how do we go from author names in the 'First Last' format to 'Last, First'? This is particularly important so that we can match different citation styles in use in articles, which seems to be a blocking issue for using Cite Q more widely.

We currently store author names in object named as (P1932), however it is impossible to automatically determine the first/last name parts of these strings. The good news is that this information is held in the bibtex references for the publications, so we can import it from there, but we need to have a suitable property to import it to.

This would be set as a qualifier of author name string (P2093) and author (P50) (it is important that it is within the publication item due to technical limitations with fetching values from items linked by author (P50)). Only one qualifier would be used for each author, multiple first names would be contained in a single value.

Values would be imported by bot (I will propose a bot task to do this if this property is accepted). It is accompanied by a property proposal for the last name(s) (Wikidata:Property proposal/Author last names). It could either supplement or replace object named as (P1932) (I have no preference either way).

Thanks. Mike Peel (talk) 18:26, 28 December 2020 (UTC)[reply]

The Source MetaData WikiProject does not exist. Please correct the name. and The Source MetaData/More WikiProject does not exist. Please correct the name.

Discussion[edit]

(matthiaspaul) --92.209.72.111 20:11, 7 January 2021 (UTC)[reply]
The idea with these properties is that middle/pre/post-fixes are stored within the 'first' and 'last' name strings, which is how it is commonly done in bibtex for references, and in reference templates on-wiki (e.g., Citation expects firstN/lastN parameters). Splitting them out into different properties here would add more complexity than I think we need, and it can be done in Lua if needed. Naming them as 'given name'/'surname' would also invite more complexity than is needed (e.g., second surnames). Let's keep things as simple as possible given the situation please. Thanks. Mike Peel (talk) 17:19, 8 January 2021 (UTC)[reply]