-- DBMS: bigquery
CREATE TABLE `open-targets-prod.platform.reactome`
(
  id STRING,
  label STRING,
  ancestors STRUCT<list ARRAY<STRUCT<element STRING>>>,
  descendants STRUCT<list ARRAY<STRUCT<element STRING>>>,
  children STRUCT<list ARRAY<STRUCT<element STRING>>>,
  parents STRUCT<list ARRAY<STRUCT<element STRING>>>,
  path STRUCT<list ARRAY<STRUCT<element STRUCT<list ARRAY<STRUCT<element STRING>>>>>>
);

INSERT INTO `open-targets-prod.platform.reactome` (id, label, ancestors, descendants, children, parents, path) VALUES ('R-HSA-5653656', 'Vesicle-mediated transport', {'list': '[]'}, {'list': "[{'element': 'R-HSA-190828'} {'element': 'R-HSA-190827'}\n {'element': 'R-HSA-8876198'} {'element': 'R-HSA-3000484'}\n {'element': 'R-HSA-190704'} {'element': 'R-HSA-432720'}\n {'element': 'R-HSA-432722'} {'element': 'R-HSA-190873'}\n {'element': 'R-HSA-9007101'} {'element': 'R-HSA-190872'}\n {'element': 'R-HSA-1445148'} {'element': 'R-HSA-3000471'}\n {'element': 'R-HSA-917729'} {'element': 'R-HSA-204005'}\n {'element': 'R-HSA-6807878'} {'element': 'R-HSA-8854214'}\n {'element': 'R-HSA-199991'} {'element': 'R-HSA-199992'}\n {'element': 'R-HSA-157858'} {'element': 'R-HSA-196025'}\n {'element': 'R-HSA-199977'} {'element': 'R-HSA-3000497'}\n {'element': 'R-HSA-2168880'} {'element': 'R-HSA-6811442'}\n {'element': 'R-HSA-6811440'} {'element': 'R-HSA-5694530'}\n {'element': 'R-HSA-190840'} {'element': 'R-HSA-8856825'}\n {'element': 'R-HSA-6811436'} {'element': 'R-HSA-8856828'}\n {'element': 'R-HSA-6811434'} {'element': 'R-HSA-190861'}\n {'element': 'R-HSA-191650'} {'element': 'R-HSA-3000480'}\n {'element': 'R-HSA-6811438'} {'element': 'R-HSA-2173782'}\n {'element': 'R-HSA-8856688'}]"}, {'list': "[{'element': 'R-HSA-199991'} {'element': 'R-HSA-2173782'}]"}, {'list': '[]'}, {'list': "[{'element': {'list': array([{'element': 'R-HSA-5653656'}], dtype=object)}}]"}), ('R-HSA-8953897', 'Cellular responses to stimuli', {'list': '[]'}, {'list': "[{'element': 'R-HSA-2559583'} {'element': 'R-HSA-2559582'}\n {'element': 'R-HSA-2559580'} {'element': 'R-HSA-9648895'}\n {'element': 'R-HSA-1234174'} {'element': 'R-HSA-2559586'}\n {'element': 'R-HSA-2559585'} {'element': 'R-HSA-9755511'}\n {'element': 'R-HSA-2559584'} {'element': 'R-HSA-1234176'}\n {'element': 'R-HSA-9818025'} {'element': 'R-HSA-9818026'}\n {'element': 'R-HSA-9818027'} {'element': 'R-HSA-9818028'}\n {'element': 'R-HSA-9707564'} {'element': 'R-HSA-9708530'}\n {'element': 'R-HSA-5660489'} {'element': 'R-HSA-5660526'}\n {'element': 'R-HSA-3371511'} {'element': 'R-HSA-3371556'}\n {'element': 'R-HSA-9711097'} {'element': 'R-HSA-9711123'}\n {'element': 'R-HSA-9759194'} {'element': 'R-HSA-381183'}\n {'element': 'R-HSA-9762114'} {'element': 'R-HSA-9707616'}\n {'element': 'R-HSA-2262752'} {'element': 'R-HSA-381070'}\n {'element': 'R-HSA-9639288'} {'element': 'R-HSA-3371568'}\n {'element': 'R-HSA-381038'} {'element': 'R-HSA-3299685'}\n {'element': 'R-HSA-381119'} {'element': 'R-HSA-9707587'}\n {'element': 'R-HSA-9633012'} {'element': 'R-HSA-381033'}\n {'element': 'R-HSA-3371453'} {'element': 'R-HSA-3371497'}\n {'element': 'R-HSA-5661231'} {'element': 'R-HSA-9818749'}\n {'element': 'R-HSA-9840373'} {'element': 'R-HSA-3371571'}\n {'element': 'R-HSA-9818035'} {'element': 'R-HSA-380994'}\n {'element': 'R-HSA-1234158'} {'element': 'R-HSA-8874177'}\n {'element': 'R-HSA-8874211'} {'element': 'R-HSA-9818030'}\n {'element': 'R-HSA-381042'} {'element': 'R-HSA-9818032'}]"}, {'list': "[{'element': 'R-HSA-2262752'} {'element': 'R-HSA-5660526'}]"}, {'list': '[]'}, {'list': "[{'element': {'list': array([{'element': 'R-HSA-8953897'}], dtype=object)}}]"}), ('R-HSA-9748784', 'Drug ADME', {'list': '[]'}, {'list': "[{'element': 'R-HSA-9749641'} {'element': 'R-HSA-2161517'}\n {'element': 'R-HSA-9793528'} {'element': 'R-HSA-9754706'}\n {'element': 'R-HSA-9753281'} {'element': 'R-HSA-9757110'}\n {'element': 'R-HSA-2161522'} {'element': 'R-HSA-2161541'}\n {'element': 'R-HSA-9755088'} {'element': 'R-HSA-9748787'}]"}, {'list': "[{'element': 'R-HSA-2161522'} {'element': 'R-HSA-9748787'}\n {'element': 'R-HSA-9749641'} {'element': 'R-HSA-9753281'}\n {'element': 'R-HSA-9754706'} {'element': 'R-HSA-9755088'}\n {'element': 'R-HSA-9757110'} {'element': 'R-HSA-9793528'}]"}, {'list': '[]'}, {'list': "[{'element': {'list': array([{'element': 'R-HSA-9748784'}], dtype=object)}}]"}), ('R-HSA-1474165', 'Reproduction', {'list': '[]'}, {'list': "[{'element': 'R-HSA-9827857'} {'element': 'R-HSA-2534343'}\n {'element': 'R-HSA-1221632'} {'element': 'R-HSA-1500620'}\n {'element': 'R-HSA-1187000'} {'element': 'R-HSA-912446'}\n {'element': 'R-HSA-1300642'} {'element': 'R-HSA-1300645'}]"}, {'list': "[{'element': 'R-HSA-1187000'} {'element': 'R-HSA-1500620'}\n {'element': 'R-HSA-9827857'}]"}, {'list': '[]'}, {'list': "[{'element': {'list': array([{'element': 'R-HSA-1474165'}], dtype=object)}}]"}), ('R-HSA-8953854', 'Metabolism of RNA', {'list': '[]'}, {'list': "[{'element': 'R-HSA-72203'} {'element': 'R-HSA-6782861'}\n {'element': 'R-HSA-72163'} {'element': 'R-HSA-72086'}\n {'element': 'R-HSA-111367'} {'element': 'R-HSA-72165'}\n {'element': 'R-HSA-72200'} {'element': 'R-HSA-159227'}\n {'element': 'R-HSA-450513'} {'element': 'R-HSA-72202'}\n {'element': 'R-HSA-6793080'} {'element': 'R-HSA-72172'}\n {'element': 'R-HSA-927802'} {'element': 'R-HSA-429914'}\n {'element': 'R-HSA-429958'} {'element': 'R-HSA-9836573'}\n {'element': 'R-HSA-450520'} {'element': 'R-HSA-77588'}\n {'element': 'R-HSA-450604'} {'element': 'R-HSA-450408'}\n {'element': 'R-HSA-975957'} {'element': 'R-HSA-975956'}\n {'element': 'R-HSA-75094'} {'element': 'R-HSA-77595'}\n {'element': 'R-HSA-429947'} {'element': 'R-HSA-450531'}\n {'element': 'R-HSA-72306'} {'element': 'R-HSA-8868766'}\n {'element': 'R-HSA-72187'} {'element': 'R-HSA-191859'}\n {'element': 'R-HSA-77042'} {'element': 'R-HSA-75064'}\n {'element': 'R-HSA-8868773'} {'element': 'R-HSA-6790901'}\n {'element': 'R-HSA-428359'} {'element': 'R-HSA-6791226'}\n {'element': 'R-HSA-6784531'} {'element': 'R-HSA-450385'}\n {'element': 'R-HSA-194441'} {'element': 'R-HSA-75067'}\n {'element': 'R-HSA-159236'} {'element': 'R-HSA-75102'}\n {'element': 'R-HSA-6782315'} {'element': 'R-HSA-159234'}\n {'element': 'R-HSA-72312'} {'element': 'R-HSA-430039'}\n {'element': 'R-HSA-9837092'} {'element': 'R-HSA-75072'}\n {'element': 'R-HSA-159230'} {'element': 'R-HSA-159231'}\n {'element': 'R-HSA-6787450'} {'element': 'R-HSA-6785470'}]"}, {'list': "[{'element': 'R-HSA-194441'} {'element': 'R-HSA-428359'}\n {'element': 'R-HSA-429914'} {'element': 'R-HSA-450531'}\n {'element': 'R-HSA-72086'} {'element': 'R-HSA-72203'}\n {'element': 'R-HSA-72306'} {'element': 'R-HSA-72312'}\n {'element': 'R-HSA-75067'} {'element': 'R-HSA-75072'}\n {'element': 'R-HSA-927802'} {'element': 'R-HSA-9836573'}]"}, {'list': '[]'}, {'list': "[{'element': {'list': array([{'element': 'R-HSA-8953854'}], dtype=object)}}]"});