sul-dlss-deprecated / rialto

RIALTO - Stanford Libraries' Research Intelligence System
https://library.stanford.edu/projects/rialto
5 stars 1 forks source link

WOS transform should create editors if they don't already exist #256

Closed mjgiarlo closed 5 years ago

mjgiarlo commented 6 years ago

Supersedes #26

Use the entity resolver service to determine if editors already exist as agents in RIALTO Core.

justinlittman commented 5 years ago

Only editors I'm finding are book editors. For example:

{
    "UID": "WOS:000313272200020",
    "static_data": {
        "summary": {
            "pub_info": {
                "coverdate": 2012,
                "vol": 1480,
                "pubyear": 2012,
                "sortdate": "2012-01-01",
                "has_abstract": "Y",
                "pubtype": "Book in series",
                "page": {
                    "end": 128,
                    "begin": 123,
                    "page_count": 6,
                    "content": "123-128"
                }
            },
            "names": {
                "count": 7,
                "name": [{
                    "seq_no": 1,
                    "role": "author",
                    "full_name": "Wise, John H.",
                    "reprint": "Y",
                    "addr_no": 1,
                    "last_name": "Wise",
                    "display_name": "Wise, John H.",
                    "wos_standard": "Wise, JH",
                    "daisng_id": 357368,
                    "first_name": "John H."
                }, {
                    "seq_no": 2,
                    "role": "author",
                    "full_name": "Abel, Tom",
                    "addr_no": 2,
                    "last_name": "Abel",
                    "display_name": "Abel, Tom",
                    "wos_standard": "Abel, T",
                    "daisng_id": 155315,
                    "first_name": "Tom"
                }, {
                    "seq_no": 3,
                    "orcid_id": "0000-0002-5294-0198",
                    "role": "author",
                    "full_name": "Turk, Matthew J.",
                    "addr_no": 3,
                    "last_name": "Turk",
                    "display_name": "Turk, Matthew J.",
                    "wos_standard": "Turk, MJ",
                    "daisng_id": 159039,
                    "first_name": "Matthew J."
                }, {
                    "seq_no": 4,
                    "role": "author",
                    "full_name": "Norman, Michael L.",
                    "addr_no": 4,
                    "last_name": "Norman",
                    "display_name": "Norman, Michael L.",
                    "wos_standard": "Norman, ML",
                    "daisng_id": 26363,
                    "first_name": "Michael L."
                }, {
                    "seq_no": 5,
                    "role": "author",
                    "full_name": "Smith, Britton D.",
                    "addr_no": 5,
                    "last_name": "Smith",
                    "display_name": "Smith, Britton D.",
                    "wos_standard": "Smith, BD",
                    "daisng_id": 1018500,
                    "first_name": "Britton D."
                }, {
                    "seq_no": 6,
                    "role": "book_editor",
                    "full_name": "Umemura, M",
                    "last_name": "Umemura",
                    "display_name": "Umemura, M",
                    "wos_standard": "Umemura, M",
                    "first_name": "M"
                }, {
                    "seq_no": 7,
                    "role": "book_editor",
                    "full_name": "Omukai, K",
                    "last_name": "Omukai",
                    "display_name": "Omukai, K",
                    "wos_standard": "Omukai, K",
                    "first_name": "K"
                }]
            },
            "doctypes": {
                "doctype": "Proceedings Paper",
                "count": 1
            },
            "publishers": {
                "publisher": {
                    "names": {
                        "count": 1,
                        "name": {
                            "seq_no": 1,
                            "role": "publisher",
                            "full_name": "AMER INST PHYSICS",
                            "addr_no": 1,
                            "display_name": "AMER INST PHYSICS"
                        }
                    },
                    "address_spec": {
                        "city": "MELVILLE",
                        "addr_no": 1,
                        "full_address": "2 HUNTINGTON QUADRANGLE, STE 1NO1, MELVILLE, NY 11747-4501 USA"
                    }
                }
            },
            "EWUID": {
                "WUID": {
                    "coll_id": "WOS"
                },
                "edition": {
                    "value": "WOS.ISTP"
                }
            },
            "titles": {
                "count": 7,
                "title": [{
                    "type": "source",
                    "content": "FIRST STARS IV - FROM HAYASHI TO THE FUTURE"
                }, {
                    "type": "series",
                    "content": "AIP Conference Proceedings"
                }, {
                    "type": "source_abbrev",
                    "content": "AIP CONF PROC"
                }, {
                    "type": "abbrev_11",
                    "content": "AIP CONF PR"
                }, {
                    "type": "abbrev_29",
                    "content": "AIP CONF PROC"
                }, {
                    "type": "item",
                    "content": "The Imprint of Pop III Stars on the First Galaxies"
                }, {
                    "translated": "N",
                    "type": "book_series",
                    "content": "AIP Conference Proceedings"
                }]
            },
            "conferences": {
                "conference": {
                    "conf_dates": {
                        "conf_date": {
                            "conf_start": 20120521,
                            "conf_end": 20120525,
                            "content": "MAY 21-25, 2012"
                        },
                        "count": 1
                    },
                    "conf_id": 279963,
                    "sponsors": {
                        "sponsor": ["Univ Tsukuba, Ctr Computat Sci", "Kyoto Univ, Yukawa Inst Theoret Phys", "Univ Tokyo, Kavli Inst Phys & Math Universe", "Japan Soc Promot Sci"],
                        "count": 4
                    },
                    "conf_infos": {
                        "count": 1,
                        "conf_info": "Conference on FIRST STARS IV - From Hayashi to the Future, MAY 21-25, 2012, Kyoto, JAPAN"
                    },
                    "conf_locations": {
                        "count": 1,
                        "conf_location": {
                            "conf_state": "JAPAN",
                            "conf_city": "Kyoto"
                        }
                    },
                    "conf_titles": {
                        "count": 1,
                        "conf_title": "Conference on FIRST STARS IV - From Hayashi to the Future"
                    }
                },
                "count": 1
            }
        },
        "item": {
            "book_pages": 458,
            "xsi:type": "itemType_wos",
            "coll_id": "WOS",
            "ids": {
                "avail": "N",
                "content": "BDH60"
            },
            "xmlns:xsi": "http://www.w3.org/2001/XMLSchema-instance",
            "bib_pagecount": {
                "type": "Book",
                "content": 458
            },
            "keywords_plus": {
                "count": 5,
                "keyword": ["COSMOLOGICAL SIMULATIONS", "INTERGALACTIC MEDIUM", "STELLAR POPULATIONS", "ENRICHMENT", "CHEMISTRY"]
            },
            "book_notes": {
                "book_note": "Figures",
                "count": 1
            },
            "bib_id": "1480: 123-128 2012",
            "book_desc": {
                "bk_publisher": "AMER INST PHYSICS, 2 HUNTINGTON QUADRANGLE, STE 1NO1              D, MELVILLE, NY 11747-4501 USA",
                "bk_binding": "P",
                "bk_prepay": "Y"
            }
        },
        "fullrecord_metadata": {
            "addresses": {
                "count": 5,
                "address_name": [{
                    "names": {
                        "count": 1,
                        "name": {
                            "seq_no": 1,
                            "role": "author",
                            "full_name": "Wise, John H.",
                            "reprint": "Y",
                            "addr_no": 1,
                            "last_name": "Wise",
                            "display_name": "Wise, John H.",
                            "wos_standard": "Wise, JH",
                            "daisng_id": 357368,
                            "first_name": "John H."
                        }
                    },
                    "address_spec": {
                        "zip": {
                            "location": "AP",
                            "content": 30332
                        },
                        "country": "USA",
                        "city": "Atlanta",
                        "addr_no": 1,
                        "organizations": {
                            "organization": ["Georgia Inst Technol", {
                                "pref": "Y",
                                "content": "University System of Georgia"
                            }, {
                                "pref": "Y",
                                "content": "Georgia Institute of Technology"
                            }],
                            "count": 3
                        },
                        "full_address": "Georgia Inst Technol, Ctr Relativist Astrophys, Atlanta, GA 30332 USA",
                        "state": "GA",
                        "suborganizations": {
                            "count": 1,
                            "suborganization": "Ctr Relativist Astrophys"
                        }
                    }
                }, {
                    "names": {
                        "count": 1,
                        "name": {
                            "seq_no": 2,
                            "role": "author",
                            "full_name": "Abel, Tom",
                            "addr_no": 2,
                            "last_name": "Abel",
                            "display_name": "Abel, Tom",
                            "wos_standard": "Abel, T",
                            "daisng_id": 155315,
                            "first_name": "Tom"
                        }
                    },
                    "address_spec": {
                        "zip": {
                            "location": "AP",
                            "content": 94025
                        },
                        "country": "USA",
                        "city": "Menlo Pk",
                        "addr_no": 2,
                        "organizations": {
                            "organization": ["Stanford Univ", {
                                "pref": "Y",
                                "content": "Stanford University"
                            }],
                            "count": 2
                        },
                        "full_address": "Stanford Univ, kavli Inst Partic Astrophy&Cosmol, Menlo Pk, CA 94025 USA",
                        "state": "CA",
                        "suborganizations": {
                            "count": 1,
                            "suborganization": "kavli Inst Partic Astrophy&Cosmol"
                        }
                    }
                }, {
                    "names": {
                        "count": 1,
                        "name": {
                            "seq_no": 3,
                            "role": "author",
                            "full_name": "Turk, Matthew J.",
                            "addr_no": 3,
                            "last_name": "Turk",
                            "display_name": "Turk, Matthew J.",
                            "wos_standard": "Turk, MJ",
                            "daisng_id": 159039,
                            "first_name": "Matthew J."
                        }
                    },
                    "address_spec": {
                        "zip": {
                            "location": "AP",
                            "content": 10027
                        },
                        "country": "USA",
                        "city": "New York",
                        "addr_no": 3,
                        "organizations": {
                            "organization": ["Columbia Univ", {
                                "pref": "Y",
                                "content": "Columbia University"
                            }],
                            "count": 2
                        },
                        "full_address": "Columbia Univ, Dept Astron, New York, NY 10027 USA",
                        "state": "NY",
                        "suborganizations": {
                            "count": 1,
                            "suborganization": "Dept Astron"
                        }
                    }
                }, {
                    "names": {
                        "count": 1,
                        "name": {
                            "seq_no": 4,
                            "role": "author",
                            "full_name": "Norman, Michael L.",
                            "addr_no": 4,
                            "last_name": "Norman",
                            "display_name": "Norman, Michael L.",
                            "wos_standard": "Norman, ML",
                            "daisng_id": 26363,
                            "first_name": "Michael L."
                        }
                    },
                    "address_spec": {
                        "zip": {
                            "location": "AP",
                            "content": 92093
                        },
                        "country": "USA",
                        "city": "La Jolla",
                        "addr_no": 4,
                        "organizations": {
                            "organization": ["Univ Calif San Diego", {
                                "pref": "Y",
                                "content": "University of California San Diego"
                            }, {
                                "pref": "Y",
                                "content": "University of California System"
                            }],
                            "count": 3
                        },
                        "full_address": "Univ Calif San Diego, Ctr Astrophy&Space Sci, La Jolla, CA 92093 USA",
                        "state": "CA",
                        "suborganizations": {
                            "count": 1,
                            "suborganization": "Ctr Astrophy&Space Sci"
                        }
                    }
                }, {
                    "names": {
                        "count": 1,
                        "name": {
                            "seq_no": 5,
                            "role": "author",
                            "full_name": "Smith, Britton D.",
                            "addr_no": 5,
                            "last_name": "Smith",
                            "display_name": "Smith, Britton D.",
                            "wos_standard": "Smith, BD",
                            "daisng_id": 1018500,
                            "first_name": "Britton D."
                        }
                    },
                    "address_spec": {
                        "zip": {
                            "location": "AP",
                            "content": 48824
                        },
                        "country": "USA",
                        "city": "E Lansing",
                        "addr_no": 5,
                        "organizations": {
                            "organization": ["Michigan State Univ", {
                                "pref": "Y",
                                "content": "Michigan State University"
                            }],
                            "count": 2
                        },
                        "full_address": "Michigan State Univ, Dept Phys & Astron, E Lansing, MI 48824 USA",
                        "state": "MI",
                        "suborganizations": {
                            "count": 1,
                            "suborganization": "Dept Phys & Astron"
                        }
                    }
                }]
            },
            "category_info": {
                "subheadings": {
                    "count": 1,
                    "subheading": "Physical Sciences"
                },
                "subjects": {
                    "subject": [{
                        "ascatype": "traditional",
                        "code": "BU",
                        "content": "Astronomy & Astrophysics"
                    }, {
                        "ascatype": "extended",
                        "content": "Astronomy & Astrophysics"
                    }],
                    "count": 2
                },
                "headings": {
                    "heading": "Science & Technology",
                    "count": 1
                }
            },
            "normalized_languages": {
                "count": 1,
                "language": {
                    "type": "primary",
                    "content": "English"
                }
            },
            "languages": {
                "count": 1,
                "language": {
                    "type": "primary",
                    "content": "English"
                }
            },
            "keywords": {
                "count": 4,
                "keyword": ["cosmology", "hydrodynamics", "radiative transfer", "star formation"]
            },
            "refs": {
                "count": 24
            },
            "reprint_addresses": {
                "count": 1,
                "address_name": {
                    "names": {
                        "count": 1,
                        "name": {
                            "seq_no": 1,
                            "role": "author",
                            "full_name": "Wise, John H.",
                            "reprint": "Y",
                            "addr_no": 1,
                            "last_name": "Wise",
                            "display_name": "Wise, John H.",
                            "wos_standard": "Wise, JH",
                            "first_name": "John H."
                        }
                    },
                    "address_spec": {
                        "zip": {
                            "location": "AP",
                            "content": 30332
                        },
                        "country": "USA",
                        "city": "Atlanta",
                        "addr_no": 1,
                        "organizations": {
                            "organization": ["Georgia Inst Technol", {
                                "pref": "Y",
                                "content": "University System of Georgia"
                            }, {
                                "pref": "Y",
                                "content": "Georgia Institute of Technology"
                            }],
                            "count": 3
                        },
                        "full_address": "Georgia Inst Technol, Ctr Relativist Astrophys, Atlanta, GA 30332 USA",
                        "state": "GA",
                        "suborganizations": {
                            "count": 1,
                            "suborganization": "Ctr Relativist Astrophys"
                        }
                    }
                }
            },
            "abstracts": {
                "count": 1,
                "abstract": {
                    "abstract_text": {
                        "p": "Here we present three adaptive mesh refinement radiation hydrodynamics simulations that illustrate the impact of momentum transfer from ionising radiation to the absorbing gas on star formation in high-redshift dwarf galaxies. Momentum transfer is calculated by solving the radiative transfer equation with a ray tracing algorithm that is adaptive in spatial and angular coordinates. We find that momentum input partially affects star formation by increasing the turbulent support to a three-dimensional rms velocity equal to the circular velocity of early haloes. Compared to a calculation that neglects radiation pressure, the star formation rate is decreased by a factor of five to 1.8x10(-2) M-circle dot yr(-1) in a dwarf galaxy with a dark matter and stellar mass of 2.0x10(8)M(circle dot) and 4.5x10(5)M(circle dot), respectively, when radiation pressure is included. Its mean metallicity of 10(-2.1) Z(circle dot) is consistent with the observed dwarf galaxy luminosity-metallicity relation. In addition to photoheating in H II regions, radiation pressure further drives dense gas from star forming regions, so supernovae feedback occurs in a warmer and more diffuse medium, launching metal-rich outflows.",
                        "count": 1
                    }
                }
            },
            "fund_ack": {
                "grants": {
                    "count": 3,
                    "grant": [{
                        "grant_ids": {
                            "grant_id": "SMD-11-2258",
                            "count": 1
                        },
                        "grant_agency": "NASA/ NCCS"
                    }, {
                        "grant_ids": {
                            "grant_id": "NNX08AH26G",
                            "count": 1
                        },
                        "grant_agency": "NASA ATFP"
                    }, {
                        "grant_ids": {
                            "grant_id": ["AST-0807312", "AST-1109243"],
                            "count": 2
                        },
                        "grant_agency": "NSF"
                    }]
                },
                "fund_text": {
                    "p": "We thank the local and scientific organising committees for a wonderful conference. Computational resources were provided by NASA/ NCCS award SMD-11-2258 and a director's discretionary allocation on SDSC Trestles. This work was partially supported by NASA ATFP grant NNX08AH26G, NSF AST-0807312, and NSF AST-1109243. The majority of the analysis and plots were done with yt [ 24]."
                }
            },
            "normalized_doctypes": {
                "doctype": "Meeting",
                "count": 1
            }
        },
        "contributors": {
            "contributor": {
                "name": {
                    "seq_no": 1,
                    "orcid_id": "0000-0002-5294-0198",
                    "role": "researcher_id",
                    "full_name": "Turk, Matthew",
                    "last_name": "Turk",
                    "display_name": "Turk, Matthew",
                    "first_name": "Matthew"
                }
            },
            "count": 1
        }
    },
    "r_id_disclaimer": "ResearcherID data provided by Clarivate Analytics",
    "dynamic_data": {
        "citation_related": {
            "tc_list": {
                "silo_tc": {
                    "coll_id": "WOS",
                    "local_count": 1
                }
            }
        },
        "cluster_related": {
            "identifiers": {
                "identifier": [{
                    "type": "issn",
                    "value": "0094-243X"
                }, {
                    "type": "eisbn",
                    "value": "978-0-7354-1092-3"
                }, {
                    "type": "doi",
                    "value": "10.1063/1.4754341"
                }]
            }
        }
    }
}