Open main menu

Help:Import NBD from enwikisource

A Naval Biographical Dictionary (NBD) is a resource included at English language Wikisource (enwikisource). Its 5000 entries and lists have been transcribed at Wikisource.

All pages are available at wikisource:Special:PrefixIndex/A_Naval_Biographical_Dictionary/ and wikisource:Category:A Naval Biographical Dictionary

This draft outlines how to import and cross-reference them at Wikidata.

It's partially based on Wikidata:WikiProject DNB and Help:Import Template:Bio from itwiki. Some discussion was at Wikidata:Project_chat#Entries_from_A_Naval_Biographical_Dictionary.


Contents

Sample itemEdit

Model item Yule, Charles Bampfield (NBD) (Q23956670)    

Examples : NBD entryEdit

Item Yule, Charles Bampfield (NBD) (Q23956670)    
Label Yule, Charles Bampfield (NBD)
Description entry in the Naval Biographical Dictionary
Statements
<main subject (P921) : Charles Bampfield Yule (Q5075398)>
<instance of (P31) : biographical article (Q19389637)>
<published in (P1433) : A Naval Biographical Dictionary (Q16055052)>;
(page(s) (P304) : '1340')
  • Label matches the string of the wikisource subpage-name followed by "(NBD)"

Examples : Subject of NBD entryEdit

Item Charles Bampfield Yule (Q5075398)    
Statements
<instance of (P31) : human (Q5)>
<described by source (P1343) : Yule, Charles Bampfield (NBD) (Q23956670)>
<military branch (P241) : Royal Navy (Q172771)>, qualifier start time (P580): 1 May 1830
<military rank (P410) : captain (Q5036514)>, qualifier start time (P580): 1 October 1866

Note that <instance of (P31) : human (Q5)> should only be used for individuals. If an item is about a group of persons then use group of humans (Q16334295) or one of its subclasses.

<military rank (P410) can hold several ranks. Each with date.

Available fieldsEdit

 

  • equivalent article at enwiki
  • rank
  • page numbers (from - to)


MappingsEdit

  Instance definition

  Items mapping

  Fields mapping

  Values mapping

Which value to use for instance of (P31)? Which items to use? Which properties to use? Which values for these properties?

Most entries will have instance of (P31) = biographical article (Q19389637).

Exceptions include .. (lists of appointments)

New items need to be created for each article. This is done by PetScan.

see #Sample

For naval ranks, there is the property military rank (P410)

  • This is mainly done by QuickStatements (Q20084080) (conversion of Wikipedia article titles to QIDs)
  • Naval ranks, if added, would need manual mapping (rank > item for rank).
  • Most dates will be Gregorian (adopted 1752 for GB)

Specific mappings usedEdit

Ranks

rankTotalMappingDescription for items of persons to be created
Admiral of the Fleet3Admiral of the Fleet (Q2501631): highest rank of the British Royal Navyadmiral of the Royal Navy
Admiral of the Red17Admiral of the Red (Q24038801): rank of the Royal Navyadmiral of the Royal Navy
Admiral of the Blue15Admiral of the Blue (Q24038800): rank of the Royal Navyadmiral of the Royal Navy
Admiral of the White14Admiral of the White (Q24038802): rank of the Royal Navyadmiral of the Royal Navy
Vice-Admiral of the Red21Vice-Admiral of the Red (Q24038808): rank of the Royal Navyadmiral of the Royal Navy
Vice-Admiral of the Blue18Vice-Admiral of the Blue (Q24038807): rank of the Royal Navyadmiral of the Royal Navy
Vice-Admiral of the White20Vice-Admiral of the White (Q24038809): rank of the Royal Navyadmiral of the Royal Navy
Rear-Admiral55rear-admiral (Q24038803): rank of the Royal Navyadmiral of the Royal Navy
Rear-Admiral of the Red35Rear-Admiral of the Red (Q24038805): rank of the Royal Navyadmiral of the Royal Navy
Rear-Admiral of the Blue33Rear-Admiral of the Blue (Q24038804): rank of the Royal Navyadmiral of the Royal Navy
Rear-Admiral of the White31Rear-Admiral of the White (Q24038806): rank of the Royal Navyadmiral of the Royal Navy
Captain633captain (Q5036514): senior officer rank of the Royal Navyofficer of the Royal Navy
Captain112captain (Q5036514): senior officer rank of the Royal NavyCaptain of the Royal Navy
Retired Captain63captain (Q5036514): senior officer rank of the Royal NavyCaptain of the Royal Navy
Captain on Retired Half-pay2captain (Q5036514): senior officer rank of the Royal NavyCaptain of the Royal Navy
Commander960commander (Q5152182): rank in the Royal Navyofficer of the Royal Navy
Retired Commander360commander (Q5152182): rank in the Royal NavyCommander of the Royal Navy
Lieutenant2525Lieutenant (Q24038912): rank of the Royal Navyofficer of the Royal Navy
One of the Junior Lieutenants4Lieutenant (Q24038912): rank of the Royal Navyofficer of the Royal Navy

Note: the rank listed is generally that of the person at date of publication

Import stepsEdit

 

  1.   Done Create and populate a maintenance category: wikisource:Category:A Naval Biographical Dictionary, e.g. with wikisource:Template:NBD
  2.   Doing… Wait till the category is fully populated (takes hours) or do the following steps several times
  3.   Done Login in to Widar
  4.   Done Create items for all pages with PetScan
    • Directly add P31:Q19389637 and P1433:Q16055052 to all pages (or do this afterwards)
  5.   Done Add descriptions to the new articles with QuickStatements
    • Retrieve the list of items (choose download)
    • Sample format (same for most entries): Q23956670 Den "entry in the Naval Biographical Dictionary"
  6.   Done Normalize/define the entries' labels with QuickStatements
  7. Possibly add page numbers to published in (P1433):A Naval Biographical Dictionary (Q16055052) with QuickStatements
  8.   Doing… Add main subject (P921) linking to items for persons
  9. Query main subject (P921) values to build a list to add described by source (P1343) with QuickStatements
  10. Check list of articles that don't have an equivalent person item and decide which ones should be created.
    1. Manually map entries to existing Wikidata items if possible or use "Mix'n'Match"
    2. Create items for these persons including described by source (P1343)
  11. Add naval ranks, other information to items about people
    1. Add gender=male with QuickStatements
    2. Add military branch = Royal Navy with QuickStatements

Not importedEdit

  TBD

Import TBDEdit

ChecksEdit

  TBD, see queries at Wikidata:WikiProject_DNB#Resources

StatisticsEdit

  There are about 5000 entries, ?% mapped to English Wikipedia.

instance of (P31) valuesEdit

This list is periodically updated by a bot. Manual changes to the list will be removed on the next update!

WDQS | PetScan | YASGUI | TABernacle | Find images Recent changes
occurrences Article description
4883 biographical article article in a dictionary or encyclopedia
31 addendum addition made to a document following its publication
27 Wikimedia list article page of a Wikimedia project with a list of something
2 cross-reference
1 preface introduction to a book or other literary work by the author
1 dedication expression of friendly connection or thanks by the author towards another person
1 frontispiece illustration facing a book's title page
1 erratum published correction to a previous publication
End of automatically generated list.

Articles with main subject (P921)Edit

 
End of automatically generated list.

Properties on items for personsEdit

 
End of automatically generated list.
 
End of automatically generated list.
 
End of automatically generated list.

Reference reportsEdit

ToolsEdit