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.
Sample item
[edit]Model item Yule, Charles Bampfield (NBD) (Q23956670)
Examples : NBD entry
[edit]Item | Yule, Charles Bampfield (NBD) (Q23956670) |
---|---|
Label | Yule, Charles Bampfield (NBD) |
Description | entry in the Naval Biographical Dictionary |
Statements |
- Label matches the string of the wikisource subpage-name followed by "(NBD)"
Examples : Subject of NBD entry
[edit]Item | Charles Bampfield Yule (Q5075398) |
---|---|
Statements |
|
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 or police rank (P410) can hold several ranks. Each with date.
Available fields
[edit]- equivalent article at enwiki
- rank
- page numbers (from - to)
Mappings
[edit]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 or police rank (P410) |
|
Specific mappings used
[edit]Ranks
rank | Total | Mapping | Description for items of persons to be created |
---|---|---|---|
Admiral of the Fleet | 3 | Admiral of the Fleet (Q2501631): highest rank of the British Royal Navy | admiral of the Royal Navy |
Admiral of the Red | 17 | Admiral of the Red (Q24038801): rank of the Royal Navy | admiral of the Royal Navy |
Admiral of the Blue | 15 | Admiral of the Blue (Q24038800): rank of the Royal Navy | admiral of the Royal Navy |
Admiral of the White | 14 | Admiral of the White (Q24038802): rank of the Royal Navy | admiral of the Royal Navy |
Vice-Admiral of the Red | 21 | Vice-Admiral of the Red (Q24038808): rank of the Royal Navy | admiral of the Royal Navy |
Vice-Admiral of the Blue | 18 | Vice-Admiral of the Blue (Q24038807): rank of the Royal Navy | admiral of the Royal Navy |
Vice-Admiral of the White | 20 | Vice-Admiral of the White (Q24038809): rank of the Royal Navy | admiral of the Royal Navy |
Rear-Admiral | 55 | rear admiral (Q24038803): flag officer rank of the British Royal Navy | admiral of the Royal Navy |
Rear-Admiral of the Red | 35 | Rear-Admiral of the Red (Q24038805): rank of the Royal Navy | admiral of the Royal Navy |
Rear-Admiral of the Blue | 33 | Rear-Admiral of the Blue (Q24038804): rank of the Royal Navy | admiral of the Royal Navy |
Rear-Admiral of the White | 31 | Rear-Admiral of the White (Q24038806): rank of the Royal Navy | admiral of the Royal Navy |
Captain | 633 | captain (Q5036514): senior officer rank of the Royal Navy | officer of the Royal Navy |
Captain | 112 | captain (Q5036514): senior officer rank of the Royal Navy | Captain of the Royal Navy |
Retired Captain | 63 | captain (Q5036514): senior officer rank of the Royal Navy | Captain of the Royal Navy |
Captain on Retired Half-pay | 2 | captain (Q5036514): senior officer rank of the Royal Navy | Captain of the Royal Navy |
Commander | 960 | commander (Q5152182): rank in the Royal Navy | officer of the Royal Navy |
Retired Commander | 360 | commander (Q5152182): rank in the Royal Navy | Commander of the Royal Navy |
Lieutenant | 2525 | lieutenant (Q24038912): rank of the Royal Navy | officer of the Royal Navy |
One of the Junior Lieutenants | 4 | lieutenant (Q24038912): rank of the Royal Navy | officer of the Royal Navy |
Note: the rank listed is generally that of the person at date of publication
Import steps
[edit]- Done Create and populate a maintenance category: wikisource:Category:A Naval Biographical Dictionary, e.g. with wikisource:Template:NBD
- Doing… Wait till the category is fully populated (takes hours) or do the following steps several times
- Done Login in to Widar
- Done Create items for all pages with PetScan
- Directly add P31:Q19389637 and P1433:Q16055052 to all pages (or do this afterwards)
- 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"
- Done Normalize/define the entries' labels with QuickStatements
- Retrieve the list of items or Retrieve the list of items (choose CSV or TSV format)
- Sample format (needs to be changed for each entry):
Q23956670 Len "Yule, Charles Bampfield (NBD)"
- Possibly add page numbers to published in (P1433):A Naval Biographical Dictionary (Q16055052) with QuickStatements
- Doing… Add main subject (P921) linking to items for persons
- Sample to map Wikipedia to the Wikisource entry with QuickStatements (option "First column are articles from :" "enwiki")
Charles_Bampfield_Yule P1343 Q23956670
- Alternatively, try Harvest Templates with Category:NBD articles without P921 or with Category:A Naval Biographical Dictionary once populated
- Sample to map Wikipedia to the Wikisource entry with QuickStatements (option "First column are articles from :" "enwiki")
- Query main subject (P921) values to build a list to add described by source (P1343) with QuickStatements
- Check list of articles that don't have an equivalent person item and decide which ones should be created.
- Manually map entries to existing Wikidata items if possible or use "Mix'n'Match"
- Create items for these persons including described by source (P1343)
- Add naval ranks, other information to items about people
- Add gender=male with QuickStatements
- Add military branch = Royal Navy with QuickStatements
Not imported
[edit]Import TBD
[edit]- rank(s)
- entry date for military branch (P241)
Checks
[edit]TBD, see queries at Wikidata:WikiProject_DNB#Resources
- Same value used several times in main subject (P921)
- Value of main subject (P921) doesn't have instance of (P31) = human (Q5)
Statistics
[edit]There are about 5000 entries, ?% mapped to English Wikipedia.
instance of (P31) values
[edit]This list is periodically updated by a bot. Manual changes to the list will be removed on the next update!
WDQS | PetScan | TABernacle | Find images | Recent changesoccurrences | instance of | description | sample |
---|---|---|---|
4908 | biographical article | article in a dictionary or encyclopedia | Ashton, Herbert (NBD) |
26 | list of ship appointments | Wikimedia list article | Appointments |
18 | Wikimedia list article | page of a Wikimedia project with a list of something | No. 9. – Battle off Cadiz |
14 | addendum | addition made to a document following its publication | Addendum: Berkeley, Maurice Frederick Fitzhardinge |
11 | table | arrangement of data in rows and columns | No. 1. – Lord Howe’s Actions |
4 | cross-reference | reference in one place in a book to information at another place in the same work | Repington, Edward Henry A’Court (NBD) |
2 | abbreviations table | supplement to another work providing the abbreviations used therein | Abbreviations (NBD) |
1 | preface | introduction to a book or other literary work by the author | Preface (NBD) |
1 | dedication | expression of friendly connection or thanks by the author towards another person | Dedication (NBD) |
1 | frontispiece | illustration facing a book's title page | Frontispiece (NBD) |
1 | erratum | published correction to a previous publication | Corrigenda (NBD) |
∑ 11 items.
Articles with main subject (P921)
[edit]Graphs are temporarily unavailable due to technical issues. |
Properties on items for persons
[edit]
End of automatically generated list.
|
End of automatically generated list.
|
End of automatically generated list.
|
Reference reports
[edit]Tools
[edit]Tools used for the import include:
- PetScan (Q23665536)
- QuickStatements (Q20084080)
- Autolist (Q21640555)
- Wikidata Query Service (Q20950365)
- Harvest Templates (Q21914398)