Skip to content

Commit

Permalink
Add Wikidata ID to Twain's record
Browse files Browse the repository at this point in the history
  • Loading branch information
jimchamp committed Sep 1, 2023
1 parent 7d80732 commit 01e98fd
Showing 1 changed file with 43 additions and 33 deletions.
76 changes: 43 additions & 33 deletions scripts/dev-instance/dev_db.pg_dump
Original file line number Diff line number Diff line change
Expand Up @@ -1487,17 +1487,6 @@ COPY public.author_str (thing_id, key_id, value, ordering) FROM stdin;
577 43 Omero \N
577 43 Homere/ \N
573 84 http://www.btd-island.com/MWB.htm \N
570 43 mark twain \N
570 43 Mark TWAIN \N
570 43 Twain, Mark, 1835-1910 \N
570 43 M. Twain \N
570 43 Samuel Langhorne Clemens (Mark Twain) \N
570 43 Twain \N
570 43 Mark (Samuel L. Clemens) Twain \N
570 43 TWAIN \N
570 43 Twain, Mark (Spirit) \N
570 43 Twain, Mark (pseud) \N
570 43 Samuel Langhorne Clemens \N
572 84 http://lewiscarrollsociety.org.uk/ \N
572 84 http://lewiscarrollsociety.org.uk/pages/lewiscarroll/diary.html \N
574 45 Alexis Harrington \N
Expand Down Expand Up @@ -1617,6 +1606,19 @@ COPY public.author_str (thing_id, key_id, value, ordering) FROM stdin;
577 41 Homer. \N
572 45 Lewis Carroll \N
583 98 Theodor Seuss Geisel \N
570 43 Mark TWAIN \N
570 43 M. Twain \N
570 43 TWAIN \N
570 43 Twain, Mark (Spirit) \N
570 43 Twain \N
570 43 Samuel Langhorne Clemens \N
570 43 Twain, Mark, 1835-1910 \N
570 43 Samuel Langhorne Clemens (Mark Twain) \N
570 43 Twain, Mark (pseud) \N
570 43 mark twain \N
570 43 Mark (Samuel L. Clemens) Twain \N
570 137 Mark Twain, was an American author and humorist. Twain is noted for his novels Adventures of Huckleberry Finn (1884), which has been called "the Great American Novel", and The Adventures of Tom Sawyer (1876). He is extensively quoted. Twain was a friend to presidents, artists, industrialists, and European royalty. ([Source][1].)\r\n\r\n[1]:http://en.wikipedia.org/wiki/Mark_Twain \N
570 138 Q7245 \N
\.


Expand All @@ -1633,9 +1635,9 @@ COPY public.booknotes (username, work_id, edition_id, notes, updated, created) F
--

COPY public.bookshelves (id, name, description, archived, updated, created) FROM stdin;
1 Want to Read A list of books I want to read f 2023-08-30 23:27:59.599296 2023-08-30 23:27:59.599296
2 Currently Reading A list of books I am currently reading f 2023-08-30 23:27:59.600617 2023-08-30 23:27:59.600617
3 Already Read A list of books I have finished reading f 2023-08-30 23:27:59.60158 2023-08-30 23:27:59.60158
1 Want to Read A list of books I want to read f 2023-09-01 21:33:01.32118 2023-09-01 21:33:01.32118
2 Currently Reading A list of books I am currently reading f 2023-09-01 21:33:01.3226 2023-09-01 21:33:01.3226
3 Already Read A list of books I have finished reading f 2023-09-01 21:33:01.323726 2023-09-01 21:33:01.323726
\.


Expand Down Expand Up @@ -2390,6 +2392,8 @@ COPY public.data (thing_id, revision, data) FROM stdin;
671 1 {"type": {"key": "/type/type"}, "m": "edit", "key": "/type/tag", "latest_revision": 1, "revision": 1, "created": {"type": "/type/datetime", "value": "2023-08-23T00:18:09.523811"}, "last_modified": {"type": "/type/datetime", "value": "2023-08-23T00:18:09.523811"}}
671 2 {"key": "/type/tag", "properties": [{"expected_type": {"key": "/type/string"}, "name": "name", "type": {"key": "/type/property"}, "unique": true}, {"expected_type": {"key": "/type/string"}, "name": "tag_description", "type": {"key": "/type/property"}, "unique": true}, {"expected_type": {"key": "/type/string"}, "name": "tag_plugins", "type": {"key": "/type/property"}, "unique": true}, {"expected_type": {"key": "/type/string"}, "name": "tag_type", "type": {"key": "/type/property"}, "unique": true}], "type": {"key": "/type/type"}, "latest_revision": 2, "revision": 2, "created": {"type": "/type/datetime", "value": "2023-08-23T00:18:09.523811"}, "last_modified": {"type": "/type/datetime", "value": "2023-08-23T00:22:56.417027"}}
667 2 {"identifiers": [{"label": "ISNI", "name": "isni", "notes": "", "url": "http://www.isni.org/@@@", "website": "http://www.isni.org/"}, {"label": "LibriVox", "name": "librivox", "notes": "Should be a number", "url": "https://librivox.org/author/@@@", "website": "https://librivox.org"}, {"label": "Project Gutenberg", "name": "project_gutenberg", "notes": "Should be a number", "url": "https://www.gutenberg.org/ebooks/author/@@@", "website": "https://www.gutenberg.org"}, {"label": "VIAF", "name": "viaf", "notes": "", "url": "https://viaf.org/viaf/@@@", "website": "https://viaf.org"}, {"label": "Wikidata", "name": "wikidata", "notes": "", "url": "https://www.wikidata.org/wiki/@@@", "website": "https://wikidata.org"}, {"label": "Amazon ID", "name": "amazon", "notes": "Should be something like B000AQ0842", "url": "https://www.amazon.com/-/e/@@@", "website": "https://www.amazon.com"}, {"label": "Storygraph", "name": "storygraph", "notes": "eg 50b7fbd9-84ac-450d-b2ed-78c861d4ef00", "url": "https://app.thestorygraph.com/authors/@@@", "website": "https://www.thestorygraph.com/"}, {"label": "YouTube", "name": "youtube", "notes": "Link to the author's official YouTube channel", "url": "https://www.youtube.com/@@@", "website": "https://www.youtube.com"}], "key": "/config/author", "type": {"key": "/type/object"}, "latest_revision": 2, "revision": 2, "created": {"type": "/type/datetime", "value": "2021-10-07T20:31:34.001079"}, "last_modified": {"type": "/type/datetime", "value": "2023-08-30T23:32:07.252079"}}
570 2 {"bio": "Mark Twain, was an American author and humorist. Twain is noted for his novels Adventures of Huckleberry Finn (1884), which has been called \\"the Great American Novel\\", and The Adventures of Tom Sawyer (1876). He is extensively quoted. Twain was a friend to presidents, artists, industrialists, and European royalty. ([Source][1].)\\r\\n\\r\\n[1]:http://en.wikipedia.org/wiki/Mark_Twain", "photograph": "/static/files//697/OL2622189A_photograph_1212404607766697.jpg", "name": "Mark Twain", "marc": ["1 \\u001faTwain, Mark,\\u001fd1835-1910.\\u001e"], "alternate_names": ["Mark TWAIN", "M. Twain", "TWAIN", "Twain", "Twain, Mark (pseud)", "Twain, Mark (Spirit)", "Twain, Mark, 1835-1910", "Mark (Samuel L. Clemens) Twain", "Samuel Langhorne Clemens (Mark Twain)", "Samuel Langhorne Clemens", "mark twain"], "death_date": "21 April 1910", "wikipedia": "http://en.wikipedia.org/wiki/Mark_Twain", "key": "/authors/OL18319A", "birth_date": "30 November 1835", "title": "(pseud)", "personal_name": "Mark Twain", "type": {"key": "/type/author"}, "latest_revision": 2, "revision": 2, "created": {"type": "/type/datetime", "value": "2013-03-28T07:50:47.897206"}, "last_modified": {"type": "/type/datetime", "value": "2023-09-01T21:35:04.310160"}}
570 3 {"bio": "Mark Twain, was an American author and humorist. Twain is noted for his novels Adventures of Huckleberry Finn (1884), which has been called \\"the Great American Novel\\", and The Adventures of Tom Sawyer (1876). He is extensively quoted. Twain was a friend to presidents, artists, industrialists, and European royalty. ([Source][1].)\\r\\n\\r\\n[1]:http://en.wikipedia.org/wiki/Mark_Twain", "photograph": "/static/files//697/OL2622189A_photograph_1212404607766697.jpg", "name": "Mark Twain", "marc": ["1 \\u001faTwain, Mark,\\u001fd1835-1910.\\u001e"], "alternate_names": ["Mark TWAIN", "M. Twain", "TWAIN", "Twain", "Twain, Mark (pseud)", "Twain, Mark (Spirit)", "Twain, Mark, 1835-1910", "Mark (Samuel L. Clemens) Twain", "Samuel Langhorne Clemens (Mark Twain)", "Samuel Langhorne Clemens", "mark twain"], "death_date": "21 April 1910", "wikipedia": "http://en.wikipedia.org/wiki/Mark_Twain", "key": "/authors/OL18319A", "birth_date": "30 November 1835", "title": "(pseud)", "personal_name": "Mark Twain", "type": {"key": "/type/author"}, "remote_ids": {"wikidata": "Q7245"}, "latest_revision": 3, "revision": 3, "created": {"type": "/type/datetime", "value": "2013-03-28T07:50:47.897206"}, "last_modified": {"type": "/type/datetime", "value": "2023-09-01T22:06:40.403133"}}
\.


Expand Down Expand Up @@ -5334,14 +5338,16 @@ COPY public.property (id, type, name) FROM stdin;
134 14 identifiers.notes
135 50 m
136 1 m
137 57 bio
138 57 remote_ids.wikidata
\.


--
-- Name: property_id_seq; Type: SEQUENCE SET; Schema: public; Owner: openlibrary
--

SELECT pg_catalog.setval('public.property_id_seq', 136, true);
SELECT pg_catalog.setval('public.property_id_seq', 138, true);


--
Expand Down Expand Up @@ -5447,15 +5453,15 @@ COPY public.store (id, key, json) FROM stdin;
25 ebooks/books/OL24972169M {"borrowed": "false", "type": "ebook", "book_key": "/books/OL24972169M"}
30 ebooks/books/OL24982896M {"borrowed": "false", "type": "ebook", "book_key": "/books/OL24982896M"}
31 ebooks/books/OL24605334M {"borrowed": "false", "type": "ebook", "book_key": "/books/OL24605334M"}
33 account/openlibrary {"status": "active", "username": "openlibrary", "enc_password": "dcd90$ab61967218c45d5095dac4f61ab82ccc", "created_on": "2013-03-20T10:27:09.689977", "last_login": "2013-03-26T11:15:26.425677", "lusername": "openlibrary", "type": "account", "data": {"displayname": "Open Library"}, "email": "[email protected]", "internetarchive_itemname": "@openlibrary", "s3_keys": {"access": "foo", "secret": "foo"}}
35 account/openlibrary {"status": "active", "username": "openlibrary", "enc_password": "dcd90$ab61967218c45d5095dac4f61ab82ccc", "created_on": "2013-03-20T10:27:09.689977", "last_login": "2023-09-01T21:34:05.944452", "lusername": "openlibrary", "type": "account", "data": {"displayname": "Open Library"}, "email": "[email protected]", "internetarchive_itemname": "@openlibrary", "s3_keys": {"access": "foo", "secret": "foo"}}
\.


--
-- Name: store_id_seq; Type: SEQUENCE SET; Schema: public; Owner: openlibrary
--

SELECT pg_catalog.setval('public.store_id_seq', 33, true);
SELECT pg_catalog.setval('public.store_id_seq', 35, true);


--
Expand Down Expand Up @@ -5503,26 +5509,26 @@ COPY public.store_index (id, store_id, type, name, value) FROM stdin;
173 31 ebook _key ebooks/books/OL24605334M
174 31 ebook book_key /books/OL24605334M
175 31 ebook borrowed false
186 33 account _key account/openlibrary
187 33 account enc_password dcd90$ab61967218c45d5095dac4f61ab82ccc
188 33 account last_login 2013-03-26T11:15:26.425677
189 33 account s3_keys.secret foo
190 33 account created_on 2013-03-20T10:27:09.689977
191 33 account s3_keys.access foo
192 33 account email [email protected]
193 33 account internetarchive_itemname @openlibrary
194 33 account status active
195 33 account username openlibrary
196 33 account lusername openlibrary
197 33 account data.displayname Open Library
210 35 account _key account/openlibrary
211 35 account lusername openlibrary
212 35 account data.displayname Open Library
213 35 account last_login 2023-09-01T21:34:05.944452
214 35 account created_on 2013-03-20T10:27:09.689977
215 35 account s3_keys.access foo
216 35 account internetarchive_itemname @openlibrary
217 35 account enc_password dcd90$ab61967218c45d5095dac4f61ab82ccc
218 35 account s3_keys.secret foo
219 35 account status active
220 35 account email openlibrary@example.com
221 35 account username openlibrary
\.


--
-- Name: store_index_id_seq; Type: SEQUENCE SET; Schema: public; Owner: openlibrary
--

SELECT pg_catalog.setval('public.store_index_id_seq', 197, true);
SELECT pg_catalog.setval('public.store_index_id_seq', 221, true);


--
Expand Down Expand Up @@ -6163,7 +6169,6 @@ COPY public.thing (id, key, type, latest_revision, created, last_modified) FROM
567 /authors/OL3116423A 57 1 2013-03-28 07:50:47.897206 2013-03-28 07:50:47.897206
568 /authors/OL3116481A 57 1 2013-03-28 07:50:47.897206 2013-03-28 07:50:47.897206
569 /authors/OL1434011A 57 1 2013-03-28 07:50:47.897206 2013-03-28 07:50:47.897206
570 /authors/OL18319A 57 1 2013-03-28 07:50:47.897206 2013-03-28 07:50:47.897206
571 /authors/OL1388798A 57 1 2013-03-28 07:50:47.897206 2013-03-28 07:50:47.897206
572 /authors/OL22098A 57 1 2013-03-28 07:50:47.897206 2013-03-28 07:50:47.897206
573 /authors/OL22122A 57 1 2013-03-28 07:50:47.897206 2013-03-28 07:50:47.897206
Expand Down Expand Up @@ -6265,6 +6270,7 @@ COPY public.thing (id, key, type, latest_revision, created, last_modified) FROM
670 /usergroup/read-only 12 1 2022-05-25 21:42:26.830114 2022-05-25 21:42:26.830114
671 /type/tag 1 2 2023-08-23 00:18:09.523811 2023-08-23 00:22:56.417027
667 /config/author 14 2 2021-10-07 20:31:34.001079 2023-08-30 23:32:07.252079
570 /authors/OL18319A 57 3 2013-03-28 07:50:47.897206 2023-09-01 22:06:40.403133
\.


Expand Down Expand Up @@ -6332,14 +6338,16 @@ COPY public.transaction (id, action, author_id, ip, comment, bot, created, chang
50 update 524 172.21.0.1 f 2023-08-23 00:18:09.523811 [{"key": "/type/tag", "revision": 1}] {}
51 update 524 172.21.0.1 f 2023-08-23 00:22:56.417027 [{"key": "/type/tag", "revision": 2}] {}
52 update 524 172.21.0.1 Add URL configurations based on production values f 2023-08-30 23:32:07.252079 [{"key": "/config/author", "revision": 2}] {}
53 update 524 172.29.0.1 f 2023-09-01 21:35:04.31016 [{"key": "/authors/OL18319A", "revision": 2}] {}
54 update 524 172.29.0.1 f 2023-09-01 22:06:40.403133 [{"key": "/authors/OL18319A", "revision": 3}] {}
\.


--
-- Name: transaction_id_seq; Type: SEQUENCE SET; Schema: public; Owner: openlibrary
--

SELECT pg_catalog.setval('public.transaction_id_seq', 52, true);
SELECT pg_catalog.setval('public.transaction_id_seq', 54, true);


--
Expand Down Expand Up @@ -7579,14 +7587,16 @@ COPY public.version (id, thing_id, revision, transaction_id) FROM stdin;
684 671 1 50
685 671 2 51
686 667 2 52
687 570 2 53
688 570 3 54
\.


--
-- Name: version_id_seq; Type: SEQUENCE SET; Schema: public; Owner: openlibrary
--

SELECT pg_catalog.setval('public.version_id_seq', 686, true);
SELECT pg_catalog.setval('public.version_id_seq', 688, true);


--
Expand Down

0 comments on commit 01e98fd

Please sign in to comment.