diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2018-11-21 23:32:44 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2018-11-21 23:32:44 -0800 |
commit | d6d50dc52c5fd8e9b765d5f0826db3149cce3e73 (patch) | |
tree | 0560965737315854db87e380b4c5cc6e2f2d586e | |
parent | 0c0b3f2e667e197ceab98c65ccca22e67019ab9e (diff) | |
download | fatcat-d6d50dc52c5fd8e9b765d5f0826db3149cce3e73.tar.gz fatcat-d6d50dc52c5fd8e9b765d5f0826db3149cce3e73.zip |
progress on auto demo creation
-rw-r--r-- | extra/demo_entities/enrich_examples.py | 160 | ||||
-rw-r--r-- | extra/demo_entities/files/distill_momentum.json | 1 | ||||
-rw-r--r-- | extra/demo_entities/files/distill_pub.json | 1 | ||||
-rw-r--r-- | extra/demo_entities/files/dlib.json | 1 | ||||
-rw-r--r-- | extra/demo_entities/files/dlib_example.json | 1 | ||||
-rw-r--r-- | extra/demo_entities/files/foundations_of_physics.json | 1 | ||||
-rw-r--r-- | extra/demo_entities/files/math_universe.json | 1 | ||||
-rw-r--r-- | extra/demo_entities/mathematical_universe.py | 262 |
8 files changed, 166 insertions, 262 deletions
diff --git a/extra/demo_entities/enrich_examples.py b/extra/demo_entities/enrich_examples.py new file mode 100644 index 00000000..72aa719b --- /dev/null +++ b/extra/demo_entities/enrich_examples.py @@ -0,0 +1,160 @@ +#!/usr/bin/env python3 +""" +This file started life as an ipython log file +""" + +import datetime +import fatcat_client +from fatcat_client import * +from fatcat_tools import * + +import datetime + +# setup env +admin_id = "aaaaaaaaaaaabkvkaaaaaaaaae" +local_conf = fatcat_client.Configuration() +local_conf.host = 'http://localhost:9411/v0' +local_api = fatcat_client.DefaultApi(fatcat_client.ApiClient(local_conf)) +api = local_api + +def upsert_release(doi, fname): + """ + Tries to fetch a release by doi from the API. If it can't be find, is + created from the referenced local JSON file (stripping a bunch of fields if + necessary). + + Either way, returns ident + """ + try: + r = api.lookup_release(doi=doi) + print("release already existed: {}".format(doi)) + return r.ident + except ApiException: + pass + r = entity_from_json(open(fname, 'r').read(), ReleaseEntity) + r.ident = None + r.release_rev = None + r.container_id = None + r.container = None + r.work_id = None + if r.release_type == 'journal-article': + r.release_type = 'article-journal' + r.edit_extra = dict(source="copied from old production as a demo") + files = [f for f in r.files] + + print("bootstrapping release: {}".format(doi)) + eg = api.create_editgroup(Editgroup(editor_id=admin_id)) + resp = api.create_release(r, editgroup=eg.id) + + for f in files: + f.ident = None + f.revision = None + f.releases = [resp.ident] + files_resp = api.create_file_batch(files, editgroup=eg.id) + + api.accept_editgroup(eg.id) + return resp.ident + +def upsert_container(issnl, fname): + """ + Same as upsert_release, but for containers (by issnl) + """ + try: + c = api.lookup_container(issnl=issnl) + print("container already existed: {}".format(issnl)) + return c.ident + except ApiException: + pass + c = entity_from_json(open(fname, 'r').read(), ReleaseEntity) + c.ident = None + c.release_rev = None + c.container_id = None + c.edit_extra = dict(source="copied from old production as a demo") + + print("bootstrapping container: {}".format(issnl)) + eg = api.create_editgroup(Editgroup(editor_id=admin_id)) + resp = api.create_container(c, editgroup=eg.id) + api.accept_editgroup(eg.id) + return resp.ident + +def math_universe(): + c_ident = upsert_container("0015-9018", "files/foundations_physics.json") + ident = upsert_release("10.1007/s10701-007-9186-9", "files/math_universe.json") + + base = api.get_release(ident, expand="files") + base.container_id = c_ident + + files = [api.get_file(f['ident']) for f in base.files] + + # create the pre-print version + preprint = api.get_release(base.ident) + preprint.doi = None + preprint.ident = None + preprint.revision = None + preprint.doi = None + preprint.container = None + preprint.container_id = None + preprint.extra = dict(arxiv=dict(id='0704.0646v2', section='gr-qc')) + preprint.release_date = datetime.date(2007, 10, 8) + preprint.release_status = 'preprint' + preprint.work_id = base.work_id + + eg = api.create_editgroup(Editgroup(editor_id=admin_id)) + resp = api.create_release_batch(preprint, editgroup=eg.id) + files[1].releases = [resp.ident] + files[2].releases = [resp.ident] + api.update_file(files[1].ident, files[1], editgroup=eg.id) + api.update_file(files[2].ident, files[2], editgroup=eg.id) + api.update_release(base.ident, base, editgroup=eg.id) + api.accept_editgroup(eg.id) + # ok, that seems to have split it well enough + +# Next, a distill.pub work +def distill_pub(): + # pub,distill)/2017/momentum 20180613072149 https://distill.pub/2017/momentum/ text/html 200 4PP5AXYVD3VBB5BYYO4XK3FJXUR6Z46V 87161 + # Why Momentum Really Works + # april 4, 2017 + # Gabriel Goh + # orcid: 0000-0001-5021-2683 + c_ident = upsert_container("2476-0757", "files/distill_pub.json") + ident = upsert_release("10.23915/distill.00006", "files/distill_momentum.json") + + momentum_works = api.get_release(ident, expand="files") + + eg = api.create_editgroup(Editgroup(editor_id=admin_id)) + goh = CreatorEntity(display_name="Gabriel Goh", orcid="0000-0001-5021-2683") + goh = api.create_creator(goh, editgroup=eg.id) + #distill = ContainerEntity(name="Distill", issnl="2476-0757", publisher="Distill", wikidata_qid="Q36437840") + #distill = api.create_container(distill, editgroup=eg.id) + momentum_works.abstracts = [ReleaseEntityAbstracts(mimetype="text/plain", lang="eng", content="We often think of Momentum as a means of dampening oscillations and speeding up the iterations, leading to faster convergence. But it has other interesting behavior. It allows a larger range of step-sizes to be used, and creates its own oscillations. What is going on?")] + momentum_works.contribs = [ReleaseContrib(raw_name="Gabriel Goh", role='author', index=0, creator_id=goh.ident)] + momentum_works = api.update_release(momentum_works.ident, momentum_works, editgroup=eg.id) + momentum_works.container_id = c_ident + momentum_page = FileEntity(sha1='e3dfd05f151eea10f438c3b9756ca9bd23ecf3d5', mimetype='text/html') + momentum_page.urls = [FileEntityUrls(url="https://distill.pub/2017/momentum/", rel="publisher"), FileEntityUrls(url="http://web.archive.org/web/20180613072149/https://distill.pub/2017/momentum/", rel="webarchive")] + momentum_page.releases = [momentum_works.ident] + api.create_file(momentum_page, editgroup=eg.id) + api.accept_editgroup(eg.id) + +def dlib(): + # and now a d-lib exammple + c_ident = upsert_container("1082-9873", "files/dlib.json") + ident = upsert_release("10.1045/november14-jahja", "files/dlib_example.json") + dlib = api.get_release(ident) + + eg = api.create_editgroup(Editgroup(editor_id=admin_id, description="enriching d-lib article")) + authors = [api.create_creator(CreatorEntity(display_name=a.raw_name), editgroup=eg.id) for a in dlib.contribs] + for i in range(3): + dlib.contribs[i].creator_id = authors[i].ident + + dlib.release_type = 'article-journal' + r = api.create_release(dlib, editgroup=eg.id) + dlib.ident = None + dlib.work_id = None + dlib.release_rev = None + + dlib.container_id = c_ident + r = api.update_release(dlib.ident, dlib, editgroup=eg.id) + api.accept_editgroup(eg.id) + + # TODO: the actual web file here? diff --git a/extra/demo_entities/files/distill_momentum.json b/extra/demo_entities/files/distill_momentum.json new file mode 100644 index 00000000..e2104762 --- /dev/null +++ b/extra/demo_entities/files/distill_momentum.json @@ -0,0 +1 @@ +{"abstracts":[],"refs":[],"contribs":[{"index":0,"raw_name":"Gabriel Goh","extra":{"affiliations":[{"name":"UC Davis"}],"sequence":"first"},"role":"author"}],"publisher":"Distill Working Group","issue":"4","volume":"2","wikidata_qid":"Q50358635","doi":"10.23915/distill.00006","release_date":"2017-04-04T00:00:00Z","release_status":"published","release_type":"journal-article","container_id":"7twkjygw4nggfjri2ldlqm3avm","files":[{"releases":["fvjf5jlicvbozlgqnfg6bkyxdu"],"mimetype":"application/pdf","urls":[{"url":"http://jmlr.org:80/proceedings/papers/v28/sutskever13.pdf","rel":"web"},{"url":"https://web.archive.org/web/20150922064556/http://jmlr.org:80/proceedings/papers/v28/sutskever13.pdf","rel":"webarchive"},{"url":"http://jmlr.org/proceedings/papers/v28/sutskever13.pdf","rel":"web"},{"url":"https://web.archive.org/web/20130821131301/http://jmlr.org/proceedings/papers/v28/sutskever13.pdf","rel":"webarchive"}],"sha1":"aa7bfd2304201afbb19971ebde87b17e40242e91","revision":"fe52b0ee-cb3d-4573-bf36-854cd9c3f335","ident":"wioflndakratdfjjp5vwcoizra","state":"active"}],"container":{"issnl":"2476-0757","publisher":"Distill Working Group","name":"Distill (San Francisco, Calif.)","extra":{"ISSNe":null,"ISSNp":"2476-0757","in_doaj":false,"in_norwegian":null,"in_road":true,"is_kept":false,"is_oa":true,"language":null,"url":"http://distill.pub/"},"revision":"16d37e02-e813-47a1-bafe-eea007f96175","ident":"7twkjygw4nggfjri2ldlqm3avm","state":"active"},"work_id":"uqrdw6bn3bf7rhfxqwexzm7gyy","title":"Why Momentum Really Works.","state":"active","ident":"fvjf5jlicvbozlgqnfg6bkyxdu","revision":"52fbc02c-aa27-40d3-b532-d7cb611a86a9","extra":{"crossref":{"container-title":["Distill"],"is_kept":false,"type":"journal-article"}}}
\ No newline at end of file diff --git a/extra/demo_entities/files/distill_pub.json b/extra/demo_entities/files/distill_pub.json new file mode 100644 index 00000000..1b60bca4 --- /dev/null +++ b/extra/demo_entities/files/distill_pub.json @@ -0,0 +1 @@ +{"issnl":"2476-0757","publisher":"Distill Working Group","name":"Distill (San Francisco, Calif.)","extra":{"ISSNe":null,"ISSNp":"2476-0757","in_doaj":false,"in_norwegian":null,"in_road":true,"is_kept":false,"is_oa":true,"language":null,"url":"http://distill.pub/"},"revision":"16d37e02-e813-47a1-bafe-eea007f96175","ident":"7twkjygw4nggfjri2ldlqm3avm","state":"active"}
\ No newline at end of file diff --git a/extra/demo_entities/files/dlib.json b/extra/demo_entities/files/dlib.json new file mode 100644 index 00000000..e46986d4 --- /dev/null +++ b/extra/demo_entities/files/dlib.json @@ -0,0 +1 @@ +{"issnl":"1082-9873","publisher":"Corporation for National Research Initiatives.","name":"D-Lib magazine","extra":{"ISSNe":"1082-9873","ISSNp":null,"in_doaj":false,"in_norwegian":true,"in_road":true,"is_kept":false,"is_oa":true,"language":null,"url":"http://bibpurl.oclc.org/web/1110"},"revision":"6b0af06f-9e65-47b7-9faf-9446f277621c","ident":"2fjc7vavh5dz7ma5gsvrqyt3ya","state":"active"}
\ No newline at end of file diff --git a/extra/demo_entities/files/dlib_example.json b/extra/demo_entities/files/dlib_example.json new file mode 100644 index 00000000..06666de3 --- /dev/null +++ b/extra/demo_entities/files/dlib_example.json @@ -0,0 +1 @@ +{"abstracts":[],"refs":[],"contribs":[{"index":0,"raw_name":"Irvan Jahja","extra":{"sequence":"first"},"role":"author"},{"index":1,"raw_name":"Suhendry Effendy","role":"author"},{"index":2,"raw_name":"Rolahd H. C. Yap","role":"author"}],"publisher":"CNRI Acct","issue":"11/12","volume":"20","doi":"10.1045/november14-jahja","release_date":"2014-01-01T00:00:00Z","release_status":"published","release_type":"journal-article","container_id":"2fjc7vavh5dz7ma5gsvrqyt3ya","files":[],"container":{"issnl":"1082-9873","publisher":"Corporation for National Research Initiatives.","name":"D-Lib magazine","extra":{"ISSNe":"1082-9873","ISSNp":null,"in_doaj":false,"in_norwegian":true,"in_road":true,"is_kept":false,"is_oa":true,"language":null,"url":"http://bibpurl.oclc.org/web/1110"},"revision":"6b0af06f-9e65-47b7-9faf-9446f277621c","ident":"2fjc7vavh5dz7ma5gsvrqyt3ya","state":"active"},"work_id":"ma7lj5wtd5b6zf2ckgpltq6foe","title":"Experiments on Rating Conferences with CORE and DBLP","state":"active","ident":"2da27qqacffqlmqnbovadhmxzy","revision":"60944727-91a2-4085-9eea-4ec0ffd9b692","extra":{"crossref":{"container-title":["D-Lib Magazine"],"is_kept":false,"type":"journal-article"}}}
\ No newline at end of file diff --git a/extra/demo_entities/files/foundations_of_physics.json b/extra/demo_entities/files/foundations_of_physics.json new file mode 100644 index 00000000..526fd203 --- /dev/null +++ b/extra/demo_entities/files/foundations_of_physics.json @@ -0,0 +1 @@ +{"issnl":"0015-9018","publisher":"Springer-Verlag","name":"Foundations of Physics","extra":{"ISSNe":"1572-9516","ISSNp":"0015-9018","in_doaj":false,"in_norwegian":true,"in_road":false,"is_kept":true,"is_oa":false,"language":null,"url":null},"revision":"1d877a9a-f313-4801-8160-28ba200641ed","ident":"pjjfksdadrej5fhynyxd723eju","state":"active"}
\ No newline at end of file diff --git a/extra/demo_entities/files/math_universe.json b/extra/demo_entities/files/math_universe.json new file mode 100644 index 00000000..d469f309 --- /dev/null +++ b/extra/demo_entities/files/math_universe.json @@ -0,0 +1 @@ +{"abstracts":[],"refs":[{"index":0,"extra":{"crossref":{"author":"P.A.M. Dirac","unstructured":"Dirac, P.A.M.: Proc. R. Soc. A 133, 60 (1931)","volume":"133"}},"key":"9186_CR1","year":1931,"container_name":"Proc. R. Soc. A","locator":"60"},{"index":1,"extra":{"crossref":{"author":"E.P. Wigner","unstructured":"Wigner, E.P.: Symmetries and Reflections. MIT Press, Cambridge (1967)","volume-title":"Symmetries and Reflections"}},"key":"9186_CR2","year":1967,"container_name":"Symmetries and Reflections"},{"index":2,"extra":{"crossref":{"author":"P. Suppes","unstructured":"Suppes, P.: Studies in Methodology and Foundation of Science: Selected Papers from 1951 to 1969. Reidel, Dordrecht (1969)","volume-title":"Studies in Methodology and Foundation of Science: Selected Papers from 1951 to 1969"}},"key":"9186_CR3","year":1969,"container_name":"Studies in Methodology and Foundation of Science: Selected Papers from 1951 to 1969"},{"index":3,"extra":{"crossref":{"unstructured":"Zuse, K.: http://www.zib.de/zuse/English_Version/Inhalt/Texte/Chrono/60er/Pdf/76scan.pdf (1976)"}},"key":"9186_CR4"},{"index":4,"extra":{"crossref":{"author":"R. Rucker","unstructured":"Rucker, R.: Infinity and the Mind. Birkhäuser, Boston (1982)","volume-title":"Infinity and the Mind"}},"key":"9186_CR5","year":1982,"container_name":"Infinity and the Mind"},{"index":5,"extra":{"crossref":{"author":"J.D. Barrow","unstructured":"Barrow, J.D.: Theories of Everything. Ballantine, New York (1991)","volume-title":"Theories of Everything"}},"key":"9186_CR6","year":1991,"container_name":"Theories of Everything"},{"index":6,"extra":{"crossref":{"author":"J.D. Barrow","unstructured":"Barrow, J.D.: Pi in the Sky. Clarendon, Oxford (1992)","volume-title":"Pi in the Sky"}},"key":"9186_CR7","year":1992,"container_name":"Pi in the Sky"},{"index":7,"extra":{"crossref":{"author":"P. Davies","unstructured":"Davies, P.: The Mind of God. Touchstone, New York (1993)","volume-title":"The Mind of God"}},"key":"9186_CR8","year":1993,"container_name":"The Mind of God"},{"index":8,"extra":{"crossref":{"unstructured":"Jackiw, R.: hep-th/9410151 (1994)"}},"key":"9186_CR9"},{"index":9,"extra":{"crossref":{"author":"S. Lloyd","unstructured":"Lloyd, S.: Complexity 3, 32 (1997). quant-ph/9912088","volume":"3"}},"key":"9186_CR10","year":1997,"container_name":"Complexity","locator":"32"},{"index":10,"extra":{"crossref":{"author":"M. Tegmark","unstructured":"Tegmark, M.: Ann. Phys. 270, 1 (1998). gr-qc/9704009","volume":"270"}},"key":"9186_CR11","year":1998,"container_name":"Ann. Phys.","locator":"1"},{"index":11,"extra":{"crossref":{"author":"J. Schmidhuber","unstructured":"Schmidhuber, J.: In: Freksa, C. (ed.) Lecture Notes in Computer Science, p. 201. Springer, Berlin (1997). quant-ph/9904050","volume-title":"Lecture Notes in Computer Science"}},"key":"9186_CR12","year":1997,"container_name":"Lecture Notes in Computer Science","locator":"201"},{"index":12,"extra":{"crossref":{"author":"J. Ladyman","unstructured":"Ladyman, J.: Stud. Hist. Philos. Sci. 29, 409–424 (1998)","volume":"29"}},"key":"9186_CR13","year":1998,"container_name":"Stud. Hist. Philos. Sci.","locator":"409"},{"index":13,"extra":{"crossref":{"author":"M. Tegmark","issue":"5","unstructured":"Tegmark, M.: Sci. Am. 270(5), 40 (2003)","volume":"270"}},"key":"9186_CR14","year":2003,"container_name":"Sci. Am.","locator":"40"},{"index":14,"extra":{"crossref":{"unstructured":"Tegmark, M.: astro-ph/0302131 (2003)"}},"key":"9186_CR15"},{"index":15,"extra":{"crossref":{"unstructured":"Schmidhuber, J.: quant-ph/0011122 (2000)"}},"key":"9186_CR16"},{"index":16,"extra":{"crossref":{"author":"S. Wolfram","unstructured":"Wolfram, S.: A New Kind of Science. Wolfram Media, New York (2002)","volume-title":"A New Kind of Science"}},"key":"9186_CR17","year":2002,"container_name":"A New Kind of Science"},{"index":17,"extra":{"crossref":{"unstructured":"Cohen, M.: Master’s thesis. Dept. of Philosophy, Ben Gurion University of the Negev, Israel (2003)"}},"key":"9186_CR18"},{"index":18,"extra":{"crossref":{"author":"F.J. Tipler","unstructured":"Tipler, F.J.: Rep. Prog. Phys. 68, 897 (2005)","volume":"68"}},"key":"9186_CR19","year":2005,"container_name":"Rep. Prog. Phys.","locator":"897"},{"index":19,"extra":{"crossref":{"unstructured":"McCabe, G.: gr-qc/0610016 (2006)"}},"key":"9186_CR20"},{"index":20,"extra":{"crossref":{"unstructured":"McCabe, G.: gr-qc/0601073 (2006)"}},"key":"9186_CR21"},{"index":21,"extra":{"crossref":{"author":"R.K. Standish","unstructured":"Standish, R.K.: Theory of Nothing. Booksurge, Charleston (2006)","volume-title":"Theory of Nothing"}},"key":"9186_CR22","year":2006,"container_name":"Theory of Nothing"},{"index":22,"extra":{"crossref":{"author":"F. Wilczek","issue":"11","unstructured":"Wilczek, F.: Phys. Today 58(11), 8 (2006)","volume":"58"}},"key":"9186_CR23","year":2006,"container_name":"Phys. Today","locator":"8"},{"index":23,"extra":{"crossref":{"author":"F. Wilczek","issue":"6","unstructured":"Wilczek, F.: Phys. Today 60(6), 8 (2007)","volume":"60"}},"key":"9186_CR24","year":2007,"container_name":"Phys. Today","locator":"8"},{"index":24,"extra":{"crossref":{"author":"O.E. Rössler","unstructured":"Rössler, O.E.: In: Casti, J.L., Karlquist, A. (eds.) Artificial Minds. North-Holland, New York (1987)","volume-title":"Artificial Minds"}},"key":"9186_CR25","year":1987,"container_name":"Artificial Minds"},{"index":25,"extra":{"crossref":{"author":"K. Svozil","unstructured":"Svozil, K.: In: Atmanspacher, H., Dalenoort, G.J. (eds.) Inside Versus Outside. Springer, Berlin (1994)","volume-title":"Inside Versus Outside"}},"key":"9186_CR26","year":1994,"container_name":"Inside Versus Outside"},{"index":26,"extra":{"crossref":{"author":"K. Svozil","unstructured":"Svozil, K.: In: Trappl, R. (ed.) Cybernetics and Systems ’96. Austrian Society for Cybernetic Studies, Vienna (1996)","volume-title":"Cybernetics and Systems ’96"}},"key":"9186_CR27","year":1996,"container_name":"Cybernetics and Systems ’96"},{"index":27,"extra":{"crossref":{"author":"H. Everett","unstructured":"Everett, H.: Rev. Mod. Phys. 29, 454 (1957)","volume":"29"}},"key":"9186_CR28","year":1957,"container_name":"Rev. Mod. Phys.","locator":"454"},{"index":28,"extra":{"crossref":{"author":"N. Everett","unstructured":"Everett, N.: In: DeWitt, B.S., Graham, N. (eds.) The Many-Worlds Interpretation of Quantum Mechanics. Princeton University Press, Princeton (1973)","volume-title":"The Many-Worlds Interpretation of Quantum Mechanics"}},"key":"9186_CR29","year":1973,"container_name":"The Many-Worlds Interpretation of Quantum Mechanics"},{"index":29,"extra":{"crossref":{"author":"W. Hodges","unstructured":"Hodges, W.: A Shorter Model Theory. Cambridge University Press, Cambridge (1997)","volume-title":"A Shorter Model Theory"}},"key":"9186_CR30","year":1997,"container_name":"A Shorter Model Theory"},{"index":30,"extra":{"crossref":{"author":"H. Weyl","unstructured":"Weyl, H.: Space, Time, Matter. Methuen, London (1922)","volume-title":"Space, Time, Matter"}},"key":"9186_CR31","year":1922,"container_name":"Space, Time, Matter"},{"index":31,"extra":{"crossref":{"author":"H.R. Brown","unstructured":"Brown, H.R., Brading, K.A.: Dialogos 79, 59 (2002)","volume":"79"}},"key":"9186_CR32","year":2002,"container_name":"Dialogos","locator":"59"},{"index":32,"extra":{"crossref":{"author":"K.A. Brading","doi":"10.1017/cbo9780511535369","unstructured":"Brading, K.A., Castellani, E. (eds.): In: Symmetries in Physics: Philosophical Reflections. Cambridge University Press, Cambridge (2003). quant-ph/0301097","volume-title":"Symmetries in Physics: Philosophical Reflections"}},"key":"9186_CR33","year":2003,"container_name":"Symmetries in Physics: Philosophical Reflections"},{"index":33,"extra":{"crossref":{"author":"E. Majorana","unstructured":"Majorana, E.: Nuovo Cimento 9, 335 (1932)","volume":"9"}},"key":"9186_CR34","year":1932,"container_name":"Nuovo Cimento","locator":"335"},{"index":34,"extra":{"crossref":{"author":"P.A.M. Dirac","unstructured":"Dirac, P.A.M.: Proc. R. Soc. A 155, 447 (1936)","volume":"155"}},"key":"9186_CR35","year":1936,"container_name":"Proc. R. Soc. A","locator":"447"},{"index":35,"extra":{"crossref":{"author":"A. Proca","unstructured":"Proca, A.: J. Phys. Rad. 7, 347 (1936)","volume":"7"}},"key":"9186_CR36","year":1936,"container_name":"J. Phys. Rad.","locator":"347"},{"index":36,"extra":{"crossref":{"author":"E.P. Wigner","unstructured":"Wigner, E.P.: Ann. Math. 40, 149 (1939)","volume":"40"}},"key":"9186_CR37","year":1939,"container_name":"Ann. Math.","locator":"149"},{"index":37,"extra":{"crossref":{"author":"R.M. Houtappel","unstructured":"Houtappel, R.M., van Dam, H., Wigner, E.P.: Rev. Mod. Phys. 37, 595 (1965)","volume":"37"}},"key":"9186_CR38","year":1965,"container_name":"Rev. Mod. Phys.","locator":"595"},{"index":38,"extra":{"crossref":{"unstructured":"Deutsch, D.: quant-ph/9906015 (1999)"}},"key":"9186_CR39"},{"index":39,"extra":{"crossref":{"unstructured":"Weinberg, S.: hep-th/9702027 (1997)"}},"key":"9186_CR40"},{"index":40,"extra":{"crossref":{"author":"M.J. Rees","unstructured":"Rees, M.J.: Our Cosmic Habitat. Princeton University Press, Princeton (2002)","volume-title":"Our Cosmic Habitat"}},"key":"9186_CR41","year":2002,"container_name":"Our Cosmic Habitat"},{"index":41,"extra":{"crossref":{"author":"M. Tegmark","unstructured":"Tegmark, M., Aguirre, A., Rees, M.J., Wilczek, F.: Phys. Rev. D 73, 023505 (2006)","volume":"73"}},"key":"9186_CR42","year":2006,"container_name":"Phys. Rev. D","locator":"023505"},{"index":42,"extra":{"crossref":{"author":"G.J. Chaitin","doi":"10.1017/cbo9780511608858","unstructured":"Chaitin, G.J.: Algorithmic Information Theory. Cambridge University Press, Cambridge (1987)","volume-title":"Algorithmic Information Theory"}},"key":"9186_CR43","year":1987,"container_name":"Algorithmic Information Theory"},{"index":43,"extra":{"crossref":{"author":"M. Li","doi":"10.1007/978-1-4757-2606-0","unstructured":"Li, M., Vitanyi, P.: An Introduction to Kolmogorov Complexity and Its Applications. Springer, Berlin (1997)","volume-title":"An Introduction to Kolmogorov Complexity and Its Applications"}},"key":"9186_CR44","year":1997,"container_name":"An Introduction to Kolmogorov Complexity and Its Applications"},{"index":44,"extra":{"crossref":{"author":"E. Borel","unstructured":"Borel, E.: Rend. Circ. Mat. Palermo 26, 247 (1909)","volume":"26"}},"key":"9186_CR45","year":1909,"container_name":"Rend. Circ. Mat. Palermo","locator":"247"},{"index":45,"extra":{"crossref":{"author":"K.L. Chung","unstructured":"Chung, K.L.: A Course in Probability Theory. Academic, New York (1974)","volume-title":"A Course in Probability Theory"}},"key":"9186_CR46","year":1974,"container_name":"A Course in Probability Theory"},{"index":46,"extra":{"crossref":{"author":"P.C.W. Davies","unstructured":"Davies, P.C.W.: In: Zurek, W.H. (ed.) Complexity, Entropy, and Physical Information, p. 61. Addison-Wesley, Redwood City (1990)","volume-title":"Complexity, Entropy, and Physical Information"}},"key":"9186_CR47","year":1990,"container_name":"Complexity, Entropy, and Physical Information","locator":"61"},{"index":47,"extra":{"crossref":{"author":"M. Tegmark","unstructured":"Tegmark, M.: Found. Phys. Lett. 9, 25 (1996)","volume":"9"}},"key":"9186_CR48","year":1996,"container_name":"Found. Phys. Lett.","locator":"25"},{"index":48,"extra":{"crossref":{"author":"H.D. Zeh","edition":"4","unstructured":"Zeh, H.D.: The Physical Basis of the Direction of Time, 4th edn. Springer, Berlin (2002)","volume-title":"The Physical Basis of the Direction of Time"}},"key":"9186_CR49","year":2002,"container_name":"The Physical Basis of the Direction of Time"},{"index":49,"extra":{"crossref":{"author":"A. Albrecht","unstructured":"Albrecht, A., Sorbo, L.: Phys. Rev. D 70, 063528 (2004)","volume":"70"}},"key":"9186_CR50","year":2004,"container_name":"Phys. Rev. D","locator":"063528"},{"index":50,"extra":{"crossref":{"author":"S.M. Carroll","unstructured":"Carroll, S.M., Chen, J.: Gen. Relativ. Gravit. 37, 1671 (2005)","volume":"37"}},"key":"9186_CR51","year":2005,"container_name":"Gen. Relativ. Gravit.","locator":"1671"},{"index":51,"extra":{"crossref":{"unstructured":"Wald, R.M.: gr-qc/0507094 (2005)"}},"key":"9186_CR52"},{"index":52,"extra":{"crossref":{"unstructured":"Page, D.N.: hep-th/0612137 (2006)"}},"key":"9186_CR53"},{"index":53,"extra":{"crossref":{"author":"A. Vilenkin","unstructured":"Vilenkin, A.: J. High Energy Phys. 701, 92 (2007)","volume":"701"}},"key":"9186_CR54","year":2007,"container_name":"J. High Energy Phys.","locator":"92"},{"index":54,"extra":{"crossref":{"author":"L. Boltzmann","unstructured":"Boltzmann, L.: Nature 51, 413 (1895)","volume":"51"}},"key":"9186_CR55","year":1895,"container_name":"Nature","locator":"413"},{"index":55,"extra":{"crossref":{"author":"A. Guth","unstructured":"Guth, A.: Phys. Rev. D 23, 347 (1981)","volume":"23"}},"key":"9186_CR56","year":1981,"container_name":"Phys. Rev. D","locator":"347"},{"index":56,"extra":{"crossref":{"author":"A. Vilenkin","unstructured":"Vilenkin, A.: Phys. Rev. D 27, 2848 (1983)","volume":"27"}},"key":"9186_CR57","year":1983,"container_name":"Phys. Rev. D","locator":"2848"},{"index":57,"extra":{"crossref":{"author":"A.A. Starobinsky","unstructured":"Starobinsky, A.A.: Fundamental Interactions, p. 55. MGPI Press, Moscow (1984)","volume-title":"Fundamental Interactions"}},"key":"9186_CR58","year":1984,"container_name":"Fundamental Interactions","locator":"55"},{"index":58,"extra":{"crossref":{"author":"A.D. Linde","doi":"10.1201/b16971","unstructured":"Linde, A.D.: Particle Physics and Inflationary Cosmology. Harwood, Switzerland (1990)","volume-title":"Particle Physics and Inflationary Cosmology"}},"key":"9186_CR59","year":1990,"container_name":"Particle Physics and Inflationary Cosmology"},{"index":59,"extra":{"crossref":{"unstructured":"Guth, A.H.: hep-th/0702178 (2007)"}},"key":"9186_CR60"},{"index":60,"extra":{"crossref":{"author":"R. Penrose","unstructured":"Penrose, R.: N. Y. Acad. Sci. 571, 249 (1989)","volume":"571"}},"key":"9186_CR61","year":1989,"container_name":"N. Y. Acad. Sci.","locator":"249"},{"index":61,"extra":{"crossref":{"author":"S. Hollands","unstructured":"Hollands, S., Wald, R.M.: Gen. Relativ. Gravit. 34, 2043 (2002)","volume":"34"}},"key":"9186_CR62","year":2002,"container_name":"Gen. Relativ. Gravit.","locator":"2043"},{"index":62,"extra":{"crossref":{"author":"L. Kofman","unstructured":"Kofman, L., Linde, A., Mukhanov, V.: J. High Energy Phys. 10, 57 (2002)","volume":"10"}},"key":"9186_CR63","year":2002,"container_name":"J. High Energy Phys.","locator":"57"},{"index":63,"extra":{"crossref":{"author":"D. Giulini","doi":"10.1007/978-3-662-03263-3","unstructured":"Giulini, D., Joos, E., Kiefer, C., Kupsch, J., Stamatescu, I.O., Zeh, H.D.: Decoherence and the Appearance of a Classical World in Quantum Theory. Springer, Berlin (1996)","volume-title":"Decoherence and the Appearance of a Classical World in Quantum Theory"}},"key":"9186_CR64","year":1996,"container_name":"Decoherence and the Appearance of a Classical World in Quantum Theory"},{"index":64,"extra":{"crossref":{"author":"D. Polarski","unstructured":"Polarski, D., Starobinsky, A.A.: Class. Quantum Gravity 13, 377 (1996)","volume":"13"}},"key":"9186_CR65","year":1996,"container_name":"Class. Quantum Gravity","locator":"377"},{"index":65,"extra":{"crossref":{"author":"K. Kiefer","doi":"10.1002/andp.2090070302","unstructured":"Kiefer, K., Polarski, D.: Ann. Phys. 7, 137 (1998)","volume":"7"}},"key":"9186_CR66","year":1998,"container_name":"Ann. Phys.","locator":"137"},{"index":66,"extra":{"crossref":{"author":"M. Tegmark","issue":"4","unstructured":"Tegmark, M.: J. Cosmol. Astropart. Phys. 2005(4), 1 (2005)","volume":"2005"}},"key":"9186_CR67","year":2005,"container_name":"J. Cosmol. Astropart. Phys.","locator":"1"},{"index":67,"extra":{"crossref":{"author":"R. Easther","unstructured":"Easther, R., Lim, E.A., Martin, M.R.: J. Cosmol. Astropart. Phys. 0603, 16 (2006)","volume":"0603"}},"key":"9186_CR68","year":2006,"container_name":"J. Cosmol. Astropart. Phys.","locator":"16"},{"index":68,"extra":{"crossref":{"author":"R. Bousso","unstructured":"Bousso, R.: Phys. Rev. Lett. 97, 191302 (2006)","volume":"97"}},"key":"9186_CR69","year":2006,"container_name":"Phys. Rev. Lett.","locator":"191302"},{"index":69,"extra":{"crossref":{"unstructured":"Vilenkin, A.: hep-th/0609193 (2006)"}},"key":"9186_CR70"},{"index":70,"extra":{"crossref":{"unstructured":"Aguirre, A., Gratton, S., Johnson, M.C.: hep-th/0611221 (2006)"}},"key":"9186_CR71"},{"index":71,"extra":{"crossref":{"author":"J. Garriga","unstructured":"Garriga, J., Vilenkin, A.: Phys. Rev. D 64, 043511 (2001)","volume":"64"}},"key":"9186_CR72","year":2001,"container_name":"Phys. Rev. D","locator":"043511"},{"index":72,"extra":{"crossref":{"author":"D. Deutsch","unstructured":"Deutsch, D.: The fabric of reality. Allen Lane, New York (1997)","volume-title":"The fabric of reality"}},"key":"9186_CR73","year":1997,"container_name":"The fabric of reality"},{"index":73,"extra":{"crossref":{"unstructured":"Linde, A.D.: hep-th/0211048 (2002)"}},"key":"9186_CR74"},{"index":74,"extra":{"crossref":{"author":"G.F.R. Ellis","unstructured":"Ellis, G.F.R., Kirchner, U., Stoeger, W.R.: Mon. Not. R. Astron. Soc. 347, 921 (2004)","volume":"347"}},"key":"9186_CR75","year":2004,"container_name":"Mon. Not. R. Astron. Soc.","locator":"921"},{"index":75,"extra":{"crossref":{"unstructured":"Stoeger, W.R., Ellis, G.F.R., Kirchner, U.: astro-ph/0407329 (2004)"}},"key":"9186_CR76"},{"index":76,"extra":{"crossref":{"author":"R.D. Holder","unstructured":"Holder, R.D.: God, the Multiverse, and Everything: Modern Cosmology and the Argument from Design. Ashgate, Burlington (2004)","volume-title":"God, the Multiverse, and Everything: Modern Cosmology and the Argument from Design"}},"key":"9186_CR77","year":2004,"container_name":"God, the Multiverse, and Everything: Modern Cosmology and the Argument from Design"},{"index":77,"extra":{"crossref":{"unstructured":"Weinberg, S.: hep-th/0511037 (2005)"}},"key":"9186_CR78"},{"index":78,"extra":{"crossref":{"author":"S.M. Carroll","unstructured":"Carroll, S.M.: Nature 440, 1132 (2006)","volume":"440"}},"key":"9186_CR79","year":2006,"container_name":"Nature","locator":"1132"},{"index":79,"extra":{"crossref":{"unstructured":"Page, D.N.: hep-th/0610101 (2006)"}},"key":"9186_CR80"},{"index":80,"extra":{"crossref":{"author":"P. Davies","unstructured":"Davies, P.: In: Carr, B. (ed.) Universe or Multiverse? Cambridge University Press, Cambridge (2007)","volume-title":"Universe or Multiverse?"}},"key":"9186_CR81","year":2007,"container_name":"Universe or Multiverse?"},{"index":81,"extra":{"crossref":{"author":"M. Kaku","unstructured":"Kaku, M.: Parallel Worlds: A Journey Through Creation, Higher Dimensions, and the Future of the Cosmos. Anchor, New York (2006)","volume-title":"Parallel Worlds: A Journey Through Creation, Higher Dimensions, and the Future of the Cosmos"}},"key":"9186_CR82","year":2006,"container_name":"Parallel Worlds: A Journey Through Creation, Higher Dimensions, and the Future of the Cosmos"},{"index":82,"extra":{"crossref":{"author":"A. Vilenkin","unstructured":"Vilenkin, A.: Many Worlds in One: The Search for Other Universes. Hill and Wang, New York (2006)","volume-title":"Many Worlds in One: The Search for Other Universes"}},"key":"9186_CR83","year":2006,"container_name":"Many Worlds in One: The Search for Other Universes"},{"index":83,"extra":{"crossref":{"author":"R. Bousso","unstructured":"Bousso, R., Polchinski, J.: J. High Energy Phys. 6, 6 (2000)","volume":"6"}},"key":"9186_CR84","year":2000,"container_name":"J. High Energy Phys.","locator":"6"},{"index":84,"extra":{"crossref":{"author":"J.L. Feng","unstructured":"Feng, J.L., March-Russell, J., Sethi, S., Wilczek, F.: Nucl. Phys. B 602, 307 (2001)","volume":"602"}},"key":"9186_CR85","year":2001,"container_name":"Nucl. Phys. B","locator":"307"},{"index":85,"extra":{"crossref":{"author":"S. Kachru","unstructured":"Kachru, S., Kallosh, R., Linde, A., Trivedi, S.P.: Phys. Rev. D 68, 046005 (2003)","volume":"68"}},"key":"9186_CR86","year":2003,"container_name":"Phys. Rev. D","locator":"046005"},{"index":86,"extra":{"crossref":{"unstructured":"Susskind, L.: hep-th/0302219 (2003)"}},"key":"9186_CR87"},{"index":87,"extra":{"crossref":{"author":"S. Ashok","unstructured":"Ashok, S., Douglas, M.R.: J. High Energy Phys. 401, 60 (2004)","volume":"401"}},"key":"9186_CR88","year":2004,"container_name":"J. High Energy Phys.","locator":"60"},{"index":88,"extra":{"crossref":{"author":"S. Feferman","unstructured":"Feferman, S.: In the Light of Logic. Oxford University Press, Oxford (1998), Chap. 14","volume-title":"In the Light of Logic"}},"key":"9186_CR89","year":1998,"container_name":"In the Light of Logic"},{"index":89,"extra":{"crossref":{"author":"R. Hersh","unstructured":"Hersh, R.: What Is Mathematics, Really? Oxford University Press, Oxford (1999)","volume-title":"What Is Mathematics, Really?"}},"key":"9186_CR90","year":1999,"container_name":"What Is Mathematics, Really?"},{"index":90,"extra":{"crossref":{"author":"D. Lewis","unstructured":"Lewis, D.: On the Plurality of Worlds. Blackwell, Oxford (1986)","volume-title":"On the Plurality of Worlds"}},"key":"9186_CR91","year":1986,"container_name":"On the Plurality of Worlds"},{"index":91,"extra":{"crossref":{"author":"S. Hawking","unstructured":"Hawking, S.: A Brief History of Time. Touchstone, New York (1993)","volume-title":"A Brief History of Time"}},"key":"9186_CR92","year":1993,"container_name":"A Brief History of Time"},{"index":92,"extra":{"crossref":{"author":"G.F.R. Ellis","unstructured":"Ellis, G.F.R.: Class. Quantum Gravity A 16, 37 (1999)","volume":"16"}},"key":"9186_CR93","year":1999,"container_name":"Class. Quantum Gravity A","locator":"37"},{"index":93,"extra":{"crossref":{"unstructured":"Schmidhuber, C.: hep-th/0011065 (2000)"}},"key":"9186_CR94"},{"index":94,"extra":{"crossref":{"author":"C.J. Hogan","unstructured":"Hogan, C.J.: Rev. Mod. Phys. 72, 1149 (2000)","volume":"72"}},"key":"9186_CR95","year":2000,"container_name":"Rev. Mod. Phys.","locator":"1149"},{"index":95,"extra":{"crossref":{"author":"P. Benioff","unstructured":"Benioff, P.: Phys. Rev. A 63, 032305 (2001)","volume":"63"}},"key":"9186_CR96","year":2001,"container_name":"Phys. Rev. A","locator":"032305"},{"index":96,"extra":{"crossref":{"author":"G.F.R. Ellis","unstructured":"Ellis, G.F.R.: Int. J. Mod. Phys. A 17, 2667 (2002)","volume":"17"}},"key":"9186_CR97","year":2002,"container_name":"Int. J. Mod. Phys. A","locator":"2667"},{"index":97,"extra":{"crossref":{"author":"N. Bostrom","unstructured":"Bostrom, N.: Anthropic Bias: Observation Selection Effects in Science and Philosophy. Routledge, New York (2002)","volume-title":"Anthropic Bias: Observation Selection Effects in Science and Philosophy"}},"key":"9186_CR98","year":2002,"container_name":"Anthropic Bias: Observation Selection Effects in Science and Philosophy"},{"index":98,"extra":{"crossref":{"author":"P. Benioff","unstructured":"Benioff, P.: Found. Phys. 32, 989 (2002)","volume":"32"}},"key":"9186_CR99","year":2002,"container_name":"Found. Phys.","locator":"989"},{"index":99,"extra":{"crossref":{"unstructured":"Benioff, P.: quant-ph/0303086 (2003)"}},"key":"9186_CR100"},{"index":100,"extra":{"crossref":{"author":"M.M. Circovic","unstructured":"Circovic, M.M.: Found. Phys. 33, 467 (2003)","volume":"33"}},"key":"9186_CR101","year":2003,"container_name":"Found. Phys.","locator":"467"},{"index":101,"extra":{"crossref":{"unstructured":"Vaas, R.: physics/0408111 (2004)"}},"key":"9186_CR102"},{"index":102,"extra":{"crossref":{"unstructured":"Aguirre, A., Tegmark, M.: hep-th/0409072 (2004)"}},"key":"9186_CR103"},{"index":103,"extra":{"crossref":{"author":"P. Benioff","unstructured":"Benioff, P.: Found. Phys. 35, 1825 (2004)","volume":"35"}},"key":"9186_CR104","year":2004,"container_name":"Found. Phys.","locator":"1825"},{"index":104,"extra":{"crossref":{"unstructured":"McCabe, G.: http://philsci-archive.pitt.edu/archive/00002218 (2005)"}},"key":"9186_CR105"},{"index":105,"extra":{"crossref":{"author":"P. Hut","unstructured":"Hut, P., Alford, M., Tegmark, M.: Found. Phys. 36, 765 (2006) physics/0510188","volume":"36"}},"key":"9186_CR106","year":2006,"container_name":"Found. Phys.","locator":"765"},{"index":106,"extra":{"crossref":{"author":"B. Vorhees","unstructured":"Vorhees, B., Luxford, C., Rhyan, A.: Int. J. Unconv. Comput. 1, 69 (2005)","volume":"1"}},"key":"9186_CR107","year":2005,"container_name":"Int. J. Unconv. Comput.","locator":"69"},{"index":107,"extra":{"crossref":{"unstructured":"Ellis, G.F.R.: astro-ph/0602280 (2006)"}},"key":"9186_CR108"},{"index":108,"extra":{"crossref":{"unstructured":"Stoeger, W.R.: astro-ph/0602356 (2006)"}},"key":"9186_CR109"},{"index":109,"extra":{"crossref":{"unstructured":"Hedrich, R.: physics/0604171 (2006)"}},"key":"9186_CR110"},{"index":110,"extra":{"crossref":{"author":"K.E. Drexler","unstructured":"Drexler, K.E.: Engines of Creation: The Coming Era of Nanotechnology. Forth Estate, London (1985)","volume-title":"Engines of Creation: The Coming Era of Nanotechnology"}},"key":"9186_CR111","year":1985,"container_name":"Engines of Creation: The Coming Era of Nanotechnology"},{"index":111,"extra":{"crossref":{"author":"N. Bostrom","unstructured":"Bostrom, N.: Int. J. Futur. Stud. 2, 1 (1998)","volume":"2"}},"key":"9186_CR112","year":1998,"container_name":"Int. J. Futur. Stud.","locator":"1"},{"index":112,"extra":{"crossref":{"author":"R. Kurzweil","unstructured":"Kurzweil, R.: The Age of Spiritual Machines: When Computers Exceed Human Intelligence. Viking, New York (1999)","volume-title":"The Age of Spiritual Machines: When Computers Exceed Human Intelligence"}},"key":"9186_CR113","year":1999,"container_name":"The Age of Spiritual Machines: When Computers Exceed Human Intelligence"},{"index":113,"extra":{"crossref":{"author":"H. Moravec","unstructured":"Moravec, H.: Robot: Mere Machine to Transcendent Mind. Oxford University Press, Oxford (1999)","volume-title":"Robot: Mere Machine to Transcendent Mind"}},"key":"9186_CR114","year":1999,"container_name":"Robot: Mere Machine to Transcendent Mind"},{"index":114,"extra":{"crossref":{"author":"F.J. Tipler","unstructured":"Tipler, F.J.: The Physics of Immortality. Doubleday, New York (1994)","volume-title":"The Physics of Immortality"}},"key":"9186_CR115","year":1994,"container_name":"The Physics of Immortality"},{"index":115,"extra":{"crossref":{"author":"N. Bostrom","unstructured":"Bostrom, N.: Philos. Q. 53, 243 (2003)","volume":"53"}},"key":"9186_CR116","year":2003,"container_name":"Philos. Q.","locator":"243"},{"index":116,"extra":{"crossref":{"author":"G. McCabe","unstructured":"McCabe, G.: Stud. Hist. Philos. Mod. Phys. 36, 591 (2005). physics/0511116","volume":"36"}},"key":"9186_CR117","year":2005,"container_name":"Stud. Hist. Philos. Mod. Phys.","locator":"591"},{"index":117,"extra":{"crossref":{"author":"R. Penrose","unstructured":"Penrose, R.: The Emperor’s New Mind. Oxford University Press, Oxford (1989)","volume-title":"The Emperor’s New Mind"}},"key":"9186_CR118","year":1989,"container_name":"The Emperor’s New Mind"},{"index":118,"extra":{"crossref":{"author":"R. Penrose","unstructured":"Penrose, R.: In: Longair, M. (ed.) The Large, the Small and the Human Mind. Cambridge University Press, Cambridge (1997)","volume-title":"The Large, the Small and the Human Mind"}},"key":"9186_CR119","year":1997,"container_name":"The Large, the Small and the Human Mind"},{"index":119,"extra":{"crossref":{"author":"T. Hafting","unstructured":"Hafting, T.: Nature 436, 801 (2005)","volume":"436"}},"key":"9186_CR120","year":2005,"container_name":"Nature","locator":"801"},{"index":120,"extra":{"crossref":{"author":"R. Gambini","unstructured":"Gambini, R., Porto, R., Pullin, J.: New J. Phys. 6, 45 (2004)","volume":"6"}},"key":"9186_CR121","year":2004,"container_name":"New J. Phys.","locator":"45"},{"index":121,"extra":{"crossref":{"author":"G. Egan","unstructured":"Egan, G.: Permutation City. Harper, New York (1995)","volume-title":"Permutation City"}},"key":"9186_CR122","year":1995,"container_name":"Permutation City"},{"index":122,"extra":{"crossref":{"unstructured":"Standish, R.K.: Phys. Found. Lett. 17 (2004)"}},"key":"9186_CR123"},{"index":123,"extra":{"crossref":{"author":"M. Davis","unstructured":"Davis, M.: Computability and Unsolvability. Dover, New York (1982)","volume-title":"Computability and Unsolvability"}},"key":"9186_CR124","year":1982,"container_name":"Computability and Unsolvability"},{"index":124,"extra":{"crossref":{"author":"D. Hilbert","unstructured":"Hilbert, D., Bernays, P.: Grundlagen der Matematik. Springer, Berlin (1934)","volume-title":"Grundlagen der Matematik"}},"key":"9186_CR125","year":1934,"container_name":"Grundlagen der Matematik"},{"index":125,"extra":{"crossref":{"author":"K. Gödel","unstructured":"Gödel, K.: Monatshefte Math. Phys. 38, 173 (1931)","volume":"38"}},"key":"9186_CR126","year":1931,"container_name":"Monatshefte Math. Phys.","locator":"173"},{"index":126,"extra":{"crossref":{"author":"S.G. Simpson","unstructured":"Simpson, S.G.: J. Symb. Log. 53, 349 (1988) http://www.math.psu.edu/simpson/papers/hilbert.pdf","volume":"53"}},"key":"9186_CR127","year":1988,"container_name":"J. Symb. Log.","locator":"349"},{"index":127,"extra":{"crossref":{"author":"J.W. Dawson","unstructured":"Dawson, J.W.: In: 21st Annual IEEE Symposium on Logic in Computer Science, p. 339. IEEE, New York (2006)","volume-title":"21st Annual IEEE Symposium on Logic in Computer Science"}},"key":"9186_CR128","year":2006,"container_name":"21st Annual IEEE Symposium on Logic in Computer Science","locator":"339"},{"index":128,"extra":{"crossref":{"author":"A. Church","unstructured":"Church, A.: Am. J. Math. 58, 345 (1936)","volume":"58"}},"key":"9186_CR129","year":1936,"container_name":"Am. J. Math.","locator":"345"},{"index":129,"extra":{"crossref":{"author":"A. Turing","unstructured":"Turing, A.: Proc. Lond. Math. Soc. 42, 230 (1936)","volume":"42"}},"key":"9186_CR130","year":1936,"container_name":"Proc. Lond. Math. Soc.","locator":"230"},{"index":130,"extra":{"crossref":{"author":"R.L. Goodstein","unstructured":"Goodstein, R.L.: Constructive Formalism, Essays on the Foundations of Mathematics. Leister University College, Leicester (1951)","volume-title":"Constructive Formalism, Essays on the Foundations of Mathematics"}},"key":"9186_CR131","year":1951,"container_name":"Constructive Formalism, Essays on the Foundations of Mathematics"},{"index":131,"extra":{"crossref":{"author":"X. Wen","unstructured":"Wen, X.: Prog. Theor. Phys. Suppl. 160, 351 (2006). cond-mat/0508020","volume":"160"}},"key":"9186_CR132","year":2006,"container_name":"Prog. Theor. Phys. Suppl.","locator":"351"},{"index":132,"extra":{"crossref":{"unstructured":"Levin, M., Wen, X.: hep-th/0507118 (2005)"}},"key":"9186_CR133"},{"index":133,"extra":{"crossref":{"author":"J.D. Barrow","unstructured":"Barrow, J.D., Tipler, F.J.: The Anthropic Cosmological Principle. Clarendon, Oxford (1986)","volume-title":"The Anthropic Cosmological Principle"}},"key":"9186_CR134","year":1986,"container_name":"The Anthropic Cosmological Principle"},{"index":134,"extra":{"crossref":{"author":"A.D. Linde","unstructured":"Linde, A.D.: In: Hawking, S., Israel, W. (eds.) 300 Years of Gravitation. Cambridge University Press, Cambridge (1987)","volume-title":"300 Years of Gravitation"}},"key":"9186_CR135","year":1987,"container_name":"300 Years of Gravitation"},{"index":135,"extra":{"crossref":{"author":"S. Weinberg","unstructured":"Weinberg, S.: Phys. Rev. Lett. 59, 2607 (1987)","volume":"59"}},"key":"9186_CR136","year":1987,"container_name":"Phys. Rev. Lett.","locator":"2607"},{"index":136,"extra":{"crossref":{"author":"A.D. Linde","unstructured":"Linde, A.D.: Phys. Lett. B 201, 437 (1988)","volume":"201"}},"key":"9186_CR137","year":1988,"container_name":"Phys. Lett. B","locator":"437"},{"index":137,"extra":{"crossref":{"unstructured":"Tegmark, M., Vilenkin, A., Pogosian, L.: astro-ph/0304536 (2003)"}},"key":"9186_CR138"},{"index":138,"extra":{"crossref":{"author":"L. Pogosian","unstructured":"Pogosian, L., Vilenkin, A., Tegmark, M.: J. Cosmol. Astropart. Phys. 407, 5 (2004)","volume":"407"}},"key":"9186_CR139","year":2004,"container_name":"J. Cosmol. Astropart. Phys.","locator":"5"},{"index":139,"extra":{"crossref":{"author":"R. Jones","unstructured":"Jones, R.: Philos. Sci. 58, 185 (1991)","volume":"58"}},"key":"9186_CR140","year":1991,"container_name":"Philos. Sci.","locator":"185"},{"index":140,"extra":{"crossref":{"author":"O. Pooley","unstructured":"Pooley, O.: In: Rickles, D.P., French, S.R.D. (eds.) The Structural Foundations of Quantum Gravity. Oxford University Press, Oxford (2007)","volume-title":"The Structural Foundations of Quantum Gravity"}},"key":"9186_CR141","year":2007,"container_name":"The Structural Foundations of Quantum Gravity"},{"index":141,"extra":{"crossref":{"unstructured":"Larsson, T.A.: math-ph/0103013v3 (2001)"}},"key":"9186_CR142"}],"contribs":[{"index":0,"raw_name":"Max Tegmark","extra":{"sequence":"first"},"role":"author"}],"publisher":"Springer Nature","pages":"101-150","issue":"2","volume":"38","wikidata_qid":"Q54060087","core_id":"1933957","doi":"10.1007/s10701-007-9186-9","release_date":"2007-11-08T00:00:00Z","release_status":"published","release_type":"journal-article","container_id":"pjjfksdadrej5fhynyxd723eju","files":[{"releases":["wbyajeunkrdgplwlevboku4ivu"],"mimetype":"application/pdf","urls":[{"url":"https://dl.dropboxusercontent.com/u/238511/papers/2008-tegmark.pdf","rel":"web"},{"url":"https://web.archive.org/web/20161022180802/https://dl.dropboxusercontent.com/u/238511/papers/2008-tegmark.pdf","rel":"webarchive"}],"sha1":"1f7f5eb71c4ad08a2310a787739c0ce6846bfdda","size":1510526,"revision":"5bb445c8-80af-461a-882e-c1d1559928c1","ident":"fuj2umjhmjdlvnalduifvwe3tq","state":"active"},{"releases":["wbyajeunkrdgplwlevboku4ivu"],"mimetype":"application/pdf","urls":[{"url":"http://www.ignaciodarnaude.com/textos_diversos/Tegmark,The%20mathematical%20universe.pdf","rel":"web"},{"url":"https://web.archive.org/web/20130917032525/http://www.ignaciodarnaude.com/textos_diversos/Tegmark,The%20mathematical%20universe.pdf","rel":"webarchive"}],"sha1":"dcb85c24a903d3366b6a18d28b3c2734f3c93a99","revision":"3f5d0f05-5724-4f00-877a-1d9a8ef8b35a","ident":"nkc2yjzlwndi3mhfnc2vfmcch4","state":"active"},{"releases":["wbyajeunkrdgplwlevboku4ivu"],"mimetype":"application/pdf","urls":[{"url":"https://arxiv.org/pdf/0704.0646/","rel":"repository"},{"url":"https://web.archive.org/web/20170424094547/https://arxiv.org/pdf/0704.0646/","rel":"webarchive"},{"url":"https://arxiv.org/pdf/0704.0646","rel":"repository"},{"url":"https://web.archive.org/web/None/https://arxiv.org/pdf/0704.0646","rel":"webarchive"},{"url":"https://archive.org/download/arxiv-0704.0646/0704.0646.pdf","rel":"repository"},{"url":"https://web.archive.org/web/None/https://archive.org/download/arxiv-0704.0646/0704.0646.pdf","rel":"webarchive"},{"url":"http://www.thebigwhy.com/MaxTegmarkMathematicalUniverse.pdf","rel":"web"},{"url":"https://web.archive.org/web/20170811134621/http://www.thebigwhy.com/MaxTegmarkMathematicalUniverse.pdf","rel":"webarchive"},{"url":"http://transcendental.ucoz.ru/_fr/0/0704.0646v2-1-.pdf","rel":"web"},{"url":"https://web.archive.org/web/20170809053826/http://transcendental.ucoz.ru/_fr/0/0704.0646v2-1-.pdf","rel":"webarchive"},{"url":"http://thebigwhy.com/MaxTegmarkMathematicalUniverse.pdf","rel":"web"},{"url":"https://web.archive.org/web/20160817173725/http://thebigwhy.com/MaxTegmarkMathematicalUniverse.pdf","rel":"webarchive"},{"url":"http://commonsenseatheism.com/wp-content/uploads/2009/04/tegmark-the-mathematical-universe.pdf","rel":"web"},{"url":"https://web.archive.org/web/20111215204714/http://commonsenseatheism.com/wp-content/uploads/2009/04/tegmark-the-mathematical-universe.pdf","rel":"webarchive"},{"url":"http://commonsenseatheism.com/wp-content/uploads/2009/04/tegmark-the-mathematical-universe.pdf","rel":"web"},{"url":"https://web.archive.org/web/20110831215233/http://commonsenseatheism.com/wp-content/uploads/2009/04/tegmark-the-mathematical-universe.pdf","rel":"webarchive"},{"url":"http://arxiv.org/pdf/0704.0646v2.pdf","rel":"repository"},{"url":"https://web.archive.org/web/20150427030341/http://arxiv.org/pdf/0704.0646v2.pdf","rel":"webarchive"},{"url":"http://arxiv.org/pdf/0704.0646v2.pdf","rel":"repository"},{"url":"https://web.archive.org/web/20150102000323/http://arxiv.org/pdf/0704.0646v2.pdf","rel":"webarchive"},{"url":"http://arxiv.org/pdf/0704.0646v2.pdf","rel":"repository"},{"url":"https://web.archive.org/web/20141229085117/http://arxiv.org/pdf/0704.0646v2.pdf","rel":"webarchive"},{"url":"http://arxiv.org/pdf/0704.0646v2.pdf","rel":"repository"},{"url":"https://web.archive.org/web/20141228131128/http://arxiv.org/pdf/0704.0646v2.pdf","rel":"webarchive"},{"url":"http://arxiv.org/pdf/0704.0646.pdf","rel":"repository"},{"url":"https://web.archive.org/web/20160114012112/http://arxiv.org/pdf/0704.0646.pdf","rel":"webarchive"},{"url":"http://arxiv.org/pdf/0704.0646.pdf","rel":"repository"},{"url":"https://web.archive.org/web/20150209004851/http://arxiv.org/pdf/0704.0646.pdf","rel":"webarchive"},{"url":"http://arxiv.org/pdf/0704.0646.pdf","rel":"repository"},{"url":"https://web.archive.org/web/20141019132839/http://arxiv.org/pdf/0704.0646.pdf","rel":"webarchive"},{"url":"http://arxiv.org/pdf/0704.0646.pdf","rel":"repository"},{"url":"https://web.archive.org/web/20140828033642/http://arxiv.org/pdf/0704.0646.pdf","rel":"webarchive"}],"md5":"fed214aba23183936465fdad230492ab","sha1":"d13aa6a0e09428420ad6a915e6c39a95fec3340f","size":742959,"revision":"e73321d3-86db-4553-a9f3-53c5dde21213","ident":"3iqiuv4a5bg65ku5t2dyvtothe","state":"active"}],"container":{"issnl":"0015-9018","publisher":"Springer-Verlag","name":"Foundations of Physics","extra":{"ISSNe":"1572-9516","ISSNp":"0015-9018","in_doaj":false,"in_norwegian":true,"in_road":false,"is_kept":true,"is_oa":false,"language":null,"url":null},"revision":"1d877a9a-f313-4801-8160-28ba200641ed","ident":"pjjfksdadrej5fhynyxd723eju","state":"active"},"work_id":"cvolbbkde5dt7bsc6kz35i32oq","title":"The Mathematical Universe","state":"active","ident":"wbyajeunkrdgplwlevboku4ivu","revision":"0bc31f1d-a481-45e4-bd01-384e48317759","extra":{"crossref":{"alternative-id":["9186"],"container-title":["Foundations of Physics"],"is_kept":false,"type":"journal-article"}}}
\ No newline at end of file diff --git a/extra/demo_entities/mathematical_universe.py b/extra/demo_entities/mathematical_universe.py deleted file mode 100644 index e5521011..00000000 --- a/extra/demo_entities/mathematical_universe.py +++ /dev/null @@ -1,262 +0,0 @@ -# IPython log file - -qa_api.get_changelog() -prod_api.get_changelog() -local_api.get_changelog() -local_api.get_changelog() -math_release = prod_api.get_release("wbyajeunkrdgplwlevboku4ivu") -get_ipython().run_line_magic('logon', '') -get_ipython().run_line_magic('pinfo', '%logstart') -get_ipython().run_line_magic('logstart', 'mathematical_universe_split') -math_release = prod_api.get_release("wbyajeunkrdgplwlevboku4ivu") -original = prod_api.get_release("wbyajeunkrdgplwlevboku4ivu") -original -base = original.copy() -copyright -base = original -base.work_id = None -base.ident = None -base.revision = None -base -base.container_id = None -base.edit_extra = dict("source": "copied from old production to QA") -base.edit_extra = dict(source="copied from old production to QA") -eg = qa_api.create_editgroup() -eg = qa_api.create_editgroup(Editgroup()) -get_ipython().set_next_input('admin = qa_api.get_editor');get_ipython().run_line_magic('pinfo', 'qa_api.get_editor') -admin_id = "aaaaaaaaaaaabkvkaaaaaaaaae" -eg = qa_api.create_editgroup(Editgroup(editor_id=admin_id)) -api = qa_api -api = local_api -eg = api.create_editgroup(Editgroup(editor_id=admin_id)) -local_conf.host = 'http://localhost:9411/v0' -local_api = fatcat_client.DefaultApi(fatcat_client.ApiClient(local_conf)) -api = local_api -eg = api.create_editgroup(Editgroup(editor_id=admin_id)) -get_ipython().run_line_magic('pinfo', 'api.create_release') -api.create_release(base, editgroup_id=eg.id) -api.create_release(base, editgroup=eg.id) -base.release_type = 'article-journal' -api.create_release(base, editgroup=eg.id) -api.accept_editgroup(eg.id) -base = api.get_release('tuwhuuf755edlew5sxcxi6m4zu') -base -original_file1 = prod_api.get_file('fuj2umjhmjdlvnalduifvwe3tq') -original_file1 = prod_api.get_file('fuj2umjhmjdlvnalduifvwe3tq') -original_file1 = prod_api.get_file('nkc2yjzlwndi3mhfnc2vfmcch4') -original_file1 = prod_api.get_file('fuj2umjhmjdlvnalduifvwe3tq') -original_file2 = prod_api.get_file('nkc2yjzlwndi3mhfnc2vfmcch4') -original_file3 = prod_api.get_file('3iqiuv4a5bg65ku5t2dyvtothe') -file1 = original_file1 -file2 = original_file2 -file3 = original_file3 -file1.ident = None -file1.revision = None -file1.releases -file1.releases = [base.ident] -file2.ident = None -file2.revision = None -file2.releases = [base.ident] -file3.releases = [base.ident] -file3.revision = None -file3.ident = None -eg = api.create_editgroup(Editgroup(editor_id=admin_id)) -files = [file1,file2,file3] -api.create_files(files, editgroup=eg.id) -api.create_file_batch(files, editgroup=eg.id) -files_resp = [{'edit_id': 162, - 'editgroup_id': '6gomxpalsncxtgighxkv2lnq6y', - 'extra': None, - 'ident': '44rd4nipcrhvnk3gbtxzd5epem', - 'prev_revision': None, - 'redirect_ident': None, - 'revision': '5bdd7ef0-8c41-4fb9-ab80-367e878a08f6'}, {'edit_id': 163, - 'editgroup_id': '6gomxpalsncxtgighxkv2lnq6y', - 'extra': None, - 'ident': 'usu6tkv7fjcb5ftvmblsid54rq', - 'prev_revision': None, - 'redirect_ident': None, - 'revision': 'fc4c52de-c387-43d5-8278-f2e195ed7898'}, {'edit_id': 164, - 'editgroup_id': '6gomxpalsncxtgighxkv2lnq6y', - 'extra': None, - 'ident': 'abk3phdf3bfvdl2sykk7hg5zum', - 'prev_revision': None, - 'redirect_ident': None, - 'revision': 'e1853864-f656-4292-9837-512418a5da03'}] -api.accept_editgroup(eg) -api.accept_editgroup(eg.id) -[api.get_file(f.ident) for f in files_resp] -[api.get_file(f['ident']) for f in files_resp] -files = [api.get_file(f['ident']) for f in files_resp] -files -files[2] -files[2].urls -list(set(files[2].urls)) -files[0] -base -preprint = base -preprint.ident = None -preprint.revision = None -preprint.container = None -preprint.container_id = None -preprint.status = None -preprint -preprint.extra -preprint.extra = dict(arxiv=dict(id='0704.0646v2', section='gr-qc')) -preprint.release_date = datetime.date(2007, 10, 8) -import datetime -preprint.release_date = datetime.date(2007, 10, 8) -get_ipython().run_line_magic('pinfo', 'api.create_release_batch') -preprint.discriminator -get_ipython().run_line_magic('pinfo', 'preprint.discriminator') -preprint.extra -preprint.doi -preprint.doi = None -preprint.release_status -preprint.release_status = 'preprint' -preprint.release_type -c = api.create_release_batch([preprint], autoaccept=True) -c -preprint = api.get_release(r['ident']) -preprint = api.get_release(c['ident']) -preprint = api.get_release(c[0]['ident']) -preprint = api.get_release(c[0].ident) -files -files[0] -files [1] -preprint.work_id -base.work_id -files[1].releases = [preprint.ident] -files[2].releases = [preprint.ident] -eg = api.create_editgroup(Editgroup(editor_id=admin_id)) -api.update_file(files[1], editgroup=eg.id) -api.update_file(files[1].ident, files[1], editgroup=eg.id) -api.update_file(files[2].ident, files[2], editgroup=eg.id) -api.accept_editgroup(eg.id) -files = [api.get_file(i) for f.ident in files] -files = [api.get_file(f.ident) for f in files] -files -base.doi -base -base.doi -base == preprint -base -preprint.doi -base.doi -base.extra -preprint.extra -base.release_status -preprint.ident -api.get_release('do2smg2xkbbhplfegoduv4r2ve') -preprint.ident -base.ident -preprint.ident -api.get_work('yy36collbvgppo3pgfj4i3jbwu') -api.get_work('yy36collbvgppo3pgfj4i3jbwu', expand='releases') -api.get_work('yy36collbvgppo3pgfj4i3jbwu', expand='release') -get_ipython().run_line_magic('pinfo', 'api.get_work') -api.get_work_releases(preprint.work_id) -things = api.get_work_releases(preprint.work_id) -len(things) -c -c[0] -c[0] -c[0].editgroup_id -api.get_editgroup('6ywtzyh5kjb7ra2k7arxfms22a') -eg = api.create_editgroup(Editgroup(editor_id=admin_id)) -api.create_release(preprint, editgroup=eg.id) -api.accept_editgroup(eg.id) -preprint = api.get_release('mish63rawzc7diflxpr7cm5jvi') -eg = api.create_editgroup(Editgroup(editor_id=admin_id)) -files[2].releases = [preprint.ident] -files[1].releases = [preprint.ident] -api.update_file(files[1].ident, files[1], editgroup=eg.id) -api.update_file(files[2].ident, files[2], editgroup=eg.id) -api.accept_editgroup(eg.id) -api.accept_editgroup(eg.id) -# ok, that seems to have split it well enough -# pub,distill)/2017/momentum 20180613072149 https://distill.pub/2017/momentum/ text/html 200 4PP5AXYVD3VBB5BYYO4XK3FJXUR6Z46V 87161 -# Why Momentum Really Works -# april 4, 2017 -# Gabriel Goh -get_ipython().set_next_input('goh = CreatorEntity');get_ipython().run_line_magic('pinfo', 'CreatorEntity') -goh = CreatorEntity() -eg = api.create_editgroup(Editgroup(editor_id=admin_id)) -# orcid: 0000-0001-5021-2683 -goh = CreatorEntity(display_name="Gabriel Goh", orcid="0000-0001-5021-2683") -goh = api.create_creator(goh, editgroup=eg.id) -get_ipython().run_line_magic('pinfo', 'CreatorEntity') -get_ipython().run_line_magic('pinfo', 'ContainerEntity') -distill = ContainerEntity(name="Distill", issnl="2476-0757", publisher="Distill", wikidata_qid="Q36437840") -distill = api.create_container(distill, editgroup=eg.id) -get_ipython().run_line_magic('pinfo', 'ReleaseEntity') -momentum_works = ReleaseEntity(title="Why Momentum Really Works", container_id=distill.ident, release_date=datetime.date(2017,4,4), language='eng', release_status='published', release_type='article-journal') -momentum_works.contribs = [ReleaseContrib(creator_id=raw_name="Gabriel Goh", role='author', index=0, creator_id=goh.ident)] -momentum_works.contribs = [ReleaseContrib(creator_id=raw_name="Gabriel Goh", role='author', index=0, creator=goh.ident)] -momentum_works.contribs = [ReleaseContrib(raw_name="Gabriel Goh", role='author', index=0, creator=goh.ident)] -momentum_works.contribs = [ReleaseContrib(raw_name="Gabriel Goh", role='author', index=0, creator_id=goh.ident)] -momentum_works = api.create_release(momentum_works, editgroup=eg.id) -momentum_page = FileEntity(sha1='e3dfd05f151eea10f438c3b9756ca9bd23ecf3d5', mimetype='text/html') -get_ipython().run_line_magic('pinfo', 'FileEntity') -get_ipython().set_next_input('momentum_page.urls = [FileEntityUrls');get_ipython().run_line_magic('pinfo', 'FileEntityUrls') -momentum_page.urls = [FileEntityUrls(url="https://distill.pub/2017/momentum/", rel="publisher"), FileEntityUrls(url="http://web.archive.org/web/20180613072149/https://distill.pub/2017/momentum/", rel="webarchive")] -api.create_file(momentum_page, editgroup_id=eg.id) -api.create_file(momentum_page, editgroup=eg.id) -api.accept_editgroup(eg.id) -eg = api.create_editgroup(Editgroup(editor_id=admin_id)) -momentum_page.releases = [momentum_works.ident] -r = api.update_file(momentum_page, editgroup=eg.id) -r = api.update_file(momentum_page.id, momentum_page, editgroup=eg.id) -r = api.update_file(momentum_page.ident, momentum_page, editgroup=eg.id) -r = api.update_file(momentum_page.ident, momentum_page, editgroup=eg.id) -get_ipython().run_line_magic('pinfo', 'api.update_file') -r = api.update_file(id=momentum_page.ident, entity=momentum_page, editgroup=eg.id) -# huh. -api.create_file(momentum_page, editgroup=eg.id) -eg = api.create_editgroup(Editgroup(editor_id=admin_id)) -r = api.create_file(momentum_page, editgroup=eg.id) -api.accept_editgroup(eg.id) -momentum_page = api.get_file(r.ident) -momentum_page.ident -momentum_works.abstracts -momentum_works = api.get_release(momentum_works.ident) -momentum_works.abstracts -get_ipython().run_line_magic('pinfo', 'ReleaseEntityAbstracts') -momentum_works.abstracts = [ReleaseEntityAbstracts(mimetype="text/plain", lang="eng", content="We often think of Momentum as a means of dampening oscillations and speeding up the iterations, leading to faster convergence. But it has other interesting behavior. It allows a larger range of step-sizes to be used, and creates its own oscillations. What is going on?")] -eg = api.create_editgroup(Editgroup(editor_id=admin_id)) -u = api.update_work(momentum_works.ident, momentum_works, editgroup=eg.id) -u = api.update_release(momentum_works.ident, momentum_works, editgroup=eg.id) -u -api.accept_editgroup(eg.id) -momentum_works.doi = '10.23915/distill.00006' -eg = api.create_editgroup(Editgroup(editor_id=admin_id)) -eg = api.create_editgroup(Editgroup(editor_id=admin_id, description="adding actual DOI")) -u = api.update_release(momentum_works.ident, momentum_works, editgroup=eg.id) -api.accept_editgroup(eg.id) -# ok, good enough for that example -dlib = prod_api.lookup_release(doi='10.1045/november14-jahja') -eg = api.create_editgroup(Editgroup(editor_id=admin_id, description="enriching d-lib article")) -for a in dlib.contribs: - api.create_creator - -authors = [api.create_creator(CreatorEntity(raw_name=a.raw_name), editgroup=eg.id) for a in dlib.contribs] -get_ipython().run_line_magic('pinfo', 'CreatorEntity') -authors = [api.create_creator(CreatorEntity(display_name=a.raw_name), editgroup=eg.id) for a in dlib.contribs] -dlib.contribs -dlib.contribs[i].creator_id = authors[i].ident -for i in range(3): - dlib.contribs[i].creator_id = authors[i].ident - -r = api.create_release(dlib, editgroup=eg.id) -dlib.release_type = 'article-journal' -r = api.create_release(dlib, editgroup=eg.id) -dlib.ident = None -dlib.release_rev = None -dlib_c = prod_api.get_container(dlib.container_id) -dlib_c.revision = None -dlib.work_id = None -c = api.create_container(dlib_c, editgroup=eg.id) -c -r = api.create_release(dlib, editgroup=eg.id) -dlib.container_id = c.ident -r = api.create_release(dlib, editgroup=eg.id) |