From e13cb4f1ee66cbb294cfcc7acc8eddb8d3ece449 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20B=C3=BClte?= Date: Fri, 10 Nov 2023 12:21:33 +0100 Subject: [PATCH] Add FluxCommandsExamples --- resources/examples/Flux_Commands/add-preamble-epilogue | 1 + resources/examples/Flux_Commands/as-formeta-records | 2 ++ resources/examples/Flux_Commands/as-lines | 1 + resources/examples/Flux_Commands/as-records | 1 + resources/examples/Flux_Commands/change-id | 1 + resources/examples/Flux_Commands/decode-formeta | 1 + resources/examples/Flux_Commands/decode-json | 1 + resources/examples/Flux_Commands/decode-mab | 1 + resources/examples/Flux_Commands/decode-marc21 | 1 + resources/examples/Flux_Commands/decode-pica | 1 + resources/examples/Flux_Commands/decode-xml | 1 + resources/examples/Flux_Commands/decode-yaml | 1 + resources/examples/Flux_Commands/encode-csv | 1 + resources/examples/Flux_Commands/encode-formeta | 1 + resources/examples/Flux_Commands/encode-literals | 1 + resources/examples/Flux_Commands/encode-marcxml | 1 + resources/examples/Flux_Commands/encode-xml | 1 + resources/examples/Flux_Commands/extract-element | 1 + resources/examples/Flux_Commands/filter-null-values | 1 + resources/examples/Flux_Commands/filter-records-by-path | 1 + resources/examples/Flux_Commands/filter-strings | 1 + resources/examples/Flux_Commands/filter-triples | 1 + resources/examples/Flux_Commands/flatten | 1 + resources/examples/Flux_Commands/handle-generic-xml | 1 + resources/examples/Flux_Commands/handle-marcxml | 1 + resources/examples/Flux_Commands/literal-to-object | 1 + resources/examples/Flux_Commands/match | 1 + resources/examples/Flux_Commands/merge-same-ids | 1 + resources/examples/Flux_Commands/morph | 1 + resources/examples/Flux_Commands/open-file | 1 + resources/examples/Flux_Commands/open-http | 1 + resources/examples/Flux_Commands/print | 1 + resources/examples/Flux_Commands/read-beacon | 1 + resources/examples/Flux_Commands/regex-decoder | 1 + 34 files changed, 35 insertions(+) create mode 100644 resources/examples/Flux_Commands/add-preamble-epilogue create mode 100644 resources/examples/Flux_Commands/as-formeta-records create mode 100644 resources/examples/Flux_Commands/as-lines create mode 100644 resources/examples/Flux_Commands/as-records create mode 100644 resources/examples/Flux_Commands/change-id create mode 100644 resources/examples/Flux_Commands/decode-formeta create mode 100644 resources/examples/Flux_Commands/decode-json create mode 100644 resources/examples/Flux_Commands/decode-mab create mode 100644 resources/examples/Flux_Commands/decode-marc21 create mode 100644 resources/examples/Flux_Commands/decode-pica create mode 100644 resources/examples/Flux_Commands/decode-xml create mode 100644 resources/examples/Flux_Commands/decode-yaml create mode 100644 resources/examples/Flux_Commands/encode-csv create mode 100644 resources/examples/Flux_Commands/encode-formeta create mode 100644 resources/examples/Flux_Commands/encode-literals create mode 100644 resources/examples/Flux_Commands/encode-marcxml create mode 100644 resources/examples/Flux_Commands/encode-xml create mode 100644 resources/examples/Flux_Commands/extract-element create mode 100644 resources/examples/Flux_Commands/filter-null-values create mode 100644 resources/examples/Flux_Commands/filter-records-by-path create mode 100644 resources/examples/Flux_Commands/filter-strings create mode 100644 resources/examples/Flux_Commands/filter-triples create mode 100644 resources/examples/Flux_Commands/flatten create mode 100644 resources/examples/Flux_Commands/handle-generic-xml create mode 100644 resources/examples/Flux_Commands/handle-marcxml create mode 100644 resources/examples/Flux_Commands/literal-to-object create mode 100644 resources/examples/Flux_Commands/match create mode 100644 resources/examples/Flux_Commands/merge-same-ids create mode 100644 resources/examples/Flux_Commands/morph create mode 100644 resources/examples/Flux_Commands/open-file create mode 100644 resources/examples/Flux_Commands/open-http create mode 100644 resources/examples/Flux_Commands/print create mode 100644 resources/examples/Flux_Commands/read-beacon create mode 100644 resources/examples/Flux_Commands/regex-decoder diff --git a/resources/examples/Flux_Commands/add-preamble-epilogue b/resources/examples/Flux_Commands/add-preamble-epilogue new file mode 100644 index 0000000..35f1e1b --- /dev/null +++ b/resources/examples/Flux_Commands/add-preamble-epilogue @@ -0,0 +1 @@ +https://metafacture.org/playground/?flux=inputFile%0A%7C+open-file%0A%7Cas-lines%0A%7Cadd-preamble-epilogue+%28preamble%3D%22This+is+a+preamble%21%22%2C+epilogue%3D%22This+is+a+epilogue%21%22%29%0A%7Cprint%0A%3B&data=1%7Ba%3A+Faust%2C+b+%7Bn%3A+Goethe%2C+v%3A+JW%7D%2C+c%3A+Weimar%7D%0A2%7Ba%3A+R%C3%A4uber%2C+b+%7Bn%3A+Schiller%2C+v%3A+F%7D%2C+c%3A+Weimar%7D \ No newline at end of file diff --git a/resources/examples/Flux_Commands/as-formeta-records b/resources/examples/Flux_Commands/as-formeta-records new file mode 100644 index 0000000..3915272 --- /dev/null +++ b/resources/examples/Flux_Commands/as-formeta-records @@ -0,0 +1,2 @@ +https://metafacture.org/playground/?flux=inputFile%0A%7C+open-file%0A%7Cas-formeta-records%0A%7Cdecode-formeta%0A%7Cencode-yaml%0A%7Cprint%0A%3B&data=1%7Ba%3A+Faust%2C+b+%7Bn%3A+Goethe%2C+v%3A+JW%7D%2C+c%3A+Weimar%7D%0A2%7Ba%3A+R%C3%A4uber%2C+b+%7Bn%3A+Schiller%2C+v%3A+F%7D%2C+c%3A+Weimar%7D +as-lines https://github.com/metafacture/metafacture-core/blob/master/metafacture-io/src/main/java/org/metafacture/io/LineReader.java https://metafacture.org/playground/?flux=inputFile%0A%7C+open-file%0A%7C+as-lines%0A%7C+decode-pica%0A%7C+encode-json%28prettyPrinting%3D%22true%22%29%0A%7C+print%3B&data=001@+%1Fa5%1F01-2%1E001A+%1F01100%3A15-10-94%1E001B+%1F09999%3A12-06-06%1Ft16%3A10%3A17.000%1E001D+%1F09999%3A99-99-99%1E001U+%1F0utf8%1E001X+%1F00%1E002@+%1F0Aag%1E003@+%1F0482147350%1E006U+%1F094%2CP05%1E007E+%1F0U+70.16407%1E007I+%1FSo%1F074057548%1E011@+%1Fa1970%1E017A+%1Farh%1E021A+%1FaDie+@Berufsfreiheit+der+Arbeitnehmer+und+ihre+Ausgestaltung+in+vo%CC%88lkerrechtlichen+Vertra%CC%88gen%1FdEine+Grundrechtsbetrachtg%1E028A+%1F9106884905%1F7Tn3%1FAgnd%1F0106884905%1FaProjahn%1FdHorst+D.%1E033A+%1FpWu%CC%88rzburg%1E034D+%1FaXXXVIII%2C+165+S.%1E034I+%1Fa8%1E037C+%1FaWu%CC%88rzburg%2C+Jur.+F.%2C+Diss.+v.+7.+Aug.+1970%1E%0A001@+%1F01%1Fa5%1E001A+%1F01140%3A08-12-99%1E001B+%1F09999%3A05-01-08%1Ft22%3A57%3A29.000%1E001D+%1F09999%3A99-99-99%1E001U+%1F0utf8%1E001X+%1F00%1E002@+%1F0Aa%1E003@+%1F0958090564%1E004A+%1Ffkart.+%3A+DM+9.70%2C+EUR+4.94%2C+sfr+8.00%2C+S+68.00%1E006U+%1F000%2CB05%2C0285%1E007I+%1FSo%1F076088278%1E011@+%1Fa1999%1E017A+%1Farb%1Fasi%1E019@+%1FaXA-AT%1E021A+%1FaZukunft+Bildung%1FhPolitische+Akademie.+%5BHrsg.+von+Gu%CC%88nther+R.+Burkert-Dottolo+und+Bernhard+Moser%5D%1E028C+%1F9130681849%1F7Tp1%1FVpiz%1FAgnd%1F0130681849%1FE1952%1FaBurkert%1FdGu%CC%88nther+R.%1FBHrsg.%1E033A+%1FpWien%1FnPolit.+Akad.%1E034D+%1Fa79+S.%1E034I+%1Fa24+cm%1E036F+%1Fx299+12%1F9551720077%1FgAdn%1F7Tb1%1FAgnd%1F01040469-7%1FaPolitische+Akademie%1FgWien%1FYPA-Information%1FhPolitische+Akademie%2C+WB%1FpWien%1FJPolitische+Akad.%2C+WB%1Fl99%2C2%1E036F/01+%1Fx12%1F9025841467%1FgAdvz%1Fi2142105-5%1FYAktuelle+Fragen+der+Politik%1FhPolitische+Akademie%1FpWien%1FJPolitische+Akad.+der+O%CC%88VP%1FlBd.+2%1E045E+%1Fa22%1Fd18%1Fm370%1E047A+%1FSFE%1Fata%1E%0A001@+%1Fa5%1F01%1E001A+%1F01140%3A19-02-03%1E001B+%1F09999%3A19-06-11%1Ft01%3A20%3A13.000%1E001D+%1F09999%3A26-04-03%1E001U+%1F0utf8%1E001X+%1F00%1E002@+%1F0Aal%1E003@+%1F0361809549%1E004A+%1FfHlw.%1E006U+%1F000%2CL01%1E006U+%1F004%2CP01-s-41%1E006U+%1F004%2CP01-f-21%1E007G+%1FaDNB%1F0361809549%1E007I+%1FSo%1F072658383%1E007M+%1F04413/0275%1E011@+%1Fa1925%1E019@+%1FaXA-DXDE%1FaXA-DE%1E021A+%1FaHundert+Jahre+Buchdrucker-Innung+Hamburg%1FdWesen+u.+Werden+d.+Vereinigungen+Hamburger+Buchdruckereibesitzer+1825-1925+%3B+Gedenkschrift+zur+100.+Wiederkehr+d.+Gru%CC%88ndungstages%2C+verf.+im+Auftr.+d.+Vorstandes+d.+Buchdrucker-Innung+%28Freie+Innung%29+zu+Hamburg%1FhFriedrich+Voeltzer%1E028A+%1F9101386281%1F7Tp1%1FVpiz%1FAgnd%1F0101386281%1FE1895%1FaVo%CC%88ltzer%1FdFriedrich%1E033A+%1FpHamburg%1FnBuchdrucker-Innung+%28Freie+Innung%29%1E033A+%1FpHamburg%1Fn%5BVerlagsbuchh.+Broschek+%26+Co.%5D%1E034D+%1Fa44+S.%1E034I+%1Fa4%1E%0A001@+%1Fa5%1F01-3%1E001A+%1F01240%3A01-08-95%1E001B+%1F09999%3A24-09-10%1Ft17%3A42%3A20.000%1E001D+%1F09999%3A99-99-99%1E001U+%1F0utf8%1E001X+%1F00%1E002@+%1F0Af%1E003@+%1F0945184085%1E004A+%1F03-89007-044-2%1FfGewebe+%3A+DM+198.00%2C+sfr+198.00%2C+S+1386.00%1E006T+%1F095%2CN35%2C0856%1E006U+%1F095%2CA48%2C1186%1E006U+%1F010%2CP01%1E007I+%1FSo%1F061975997%1E011@+%1Fa1995%1E017A+%1Fara%1E021A+%1Fx213%1F9550711899%1FYNeues+Handbuch+der+Musikwissenschaft%1Fhhrsg.+von+Carl+Dahlhaus.+Fortgef.+von+Hermann+Danuser%1FpLaaber%1FJLaaber-Verl.%1FS48%1F03-89007-030-2%1FgAc%1E021B+%1FlBd.+13.%1FaRegister%1Fhzsgest.+von+Hans-Joachim+Hinrichsen%1E028C+%1F9121445453%1F7Tp3%1FVpiz%1FAgnd%1F0121445453%1FE1952%1FaHinrichsen%1FdHans-Joachim%1E034D+%1FaVIII%2C+408+S.%1E045V+%1F9090001001%1E047A+%1FSFE%1Fagb/fm%1E%0A001@+%1F01-2%1Fa5%1E001A+%1F01239%3A18-08-11%1E001B+%1F09999%3A05-09-11%1Ft23%3A31%3A44.000%1E001D+%1F01240%3A30-08-11%1E001U+%1F0utf8%1E001X+%1F00%1E002@+%1F0Af%1E003@+%1F01014417392%1E004A+%1Ffkart.%1E006U+%1F011%2CA37%1E007G+%1FaDNB%1F01014417392%1E007I+%1FSo%1F0752937239%1E010@+%1Fager%1E011@+%1Fa2011%1E017A+%1Fara%1Fasf%1E021A+%1Fxtr%1F91014809657%1F7Tp3%1FVpiz%1FAgnd%1F01034622773%1FE1958%1FaLu%CC%88beck%1FdMonika%1FYPersonalwirtschaft+mit+DATEV%1FhMonika+Lu%CC%88beck+%3B+Helmut+Lu%CC%88beck%1FpBodenheim%1FpWien%1FJHerdt%1FRXA-DE%1FS650%1FgAc%1E021B+%1FlTrainerbd.%1E032@+%1Fg11%1Fa1.+Ausg.%1E034D+%1Fa129+S.%1E034M+%1FaIll.%1E047A+%1FSFE%1Famar%1E047A+%1FSERW%1Fasal%1E047I+%1Fu%24%1Fc04%1FdDNB%1Fe1%1E \ No newline at end of file diff --git a/resources/examples/Flux_Commands/as-lines b/resources/examples/Flux_Commands/as-lines new file mode 100644 index 0000000..a598e9e --- /dev/null +++ b/resources/examples/Flux_Commands/as-lines @@ -0,0 +1 @@ +https://metafacture.org/playground/?flux=inputFile%0A%7C+open-file%0A%7C+as-lines%0A%7C+decode-pica%0A%7C+encode-json%28prettyPrinting%3D%22true%22%29%0A%7C+print%3B&data=001@+%1Fa5%1F01-2%1E001A+%1F01100%3A15-10-94%1E001B+%1F09999%3A12-06-06%1Ft16%3A10%3A17.000%1E001D+%1F09999%3A99-99-99%1E001U+%1F0utf8%1E001X+%1F00%1E002@+%1F0Aag%1E003@+%1F0482147350%1E006U+%1F094%2CP05%1E007E+%1F0U+70.16407%1E007I+%1FSo%1F074057548%1E011@+%1Fa1970%1E017A+%1Farh%1E021A+%1FaDie+@Berufsfreiheit+der+Arbeitnehmer+und+ihre+Ausgestaltung+in+vo%CC%88lkerrechtlichen+Vertra%CC%88gen%1FdEine+Grundrechtsbetrachtg%1E028A+%1F9106884905%1F7Tn3%1FAgnd%1F0106884905%1FaProjahn%1FdHorst+D.%1E033A+%1FpWu%CC%88rzburg%1E034D+%1FaXXXVIII%2C+165+S.%1E034I+%1Fa8%1E037C+%1FaWu%CC%88rzburg%2C+Jur.+F.%2C+Diss.+v.+7.+Aug.+1970%1E%0A001@+%1F01%1Fa5%1E001A+%1F01140%3A08-12-99%1E001B+%1F09999%3A05-01-08%1Ft22%3A57%3A29.000%1E001D+%1F09999%3A99-99-99%1E001U+%1F0utf8%1E001X+%1F00%1E002@+%1F0Aa%1E003@+%1F0958090564%1E004A+%1Ffkart.+%3A+DM+9.70%2C+EUR+4.94%2C+sfr+8.00%2C+S+68.00%1E006U+%1F000%2CB05%2C0285%1E007I+%1FSo%1F076088278%1E011@+%1Fa1999%1E017A+%1Farb%1Fasi%1E019@+%1FaXA-AT%1E021A+%1FaZukunft+Bildung%1FhPolitische+Akademie.+%5BHrsg.+von+Gu%CC%88nther+R.+Burkert-Dottolo+und+Bernhard+Moser%5D%1E028C+%1F9130681849%1F7Tp1%1FVpiz%1FAgnd%1F0130681849%1FE1952%1FaBurkert%1FdGu%CC%88nther+R.%1FBHrsg.%1E033A+%1FpWien%1FnPolit.+Akad.%1E034D+%1Fa79+S.%1E034I+%1Fa24+cm%1E036F+%1Fx299+12%1F9551720077%1FgAdn%1F7Tb1%1FAgnd%1F01040469-7%1FaPolitische+Akademie%1FgWien%1FYPA-Information%1FhPolitische+Akademie%2C+WB%1FpWien%1FJPolitische+Akad.%2C+WB%1Fl99%2C2%1E036F/01+%1Fx12%1F9025841467%1FgAdvz%1Fi2142105-5%1FYAktuelle+Fragen+der+Politik%1FhPolitische+Akademie%1FpWien%1FJPolitische+Akad.+der+O%CC%88VP%1FlBd.+2%1E045E+%1Fa22%1Fd18%1Fm370%1E047A+%1FSFE%1Fata%1E%0A001@+%1Fa5%1F01%1E001A+%1F01140%3A19-02-03%1E001B+%1F09999%3A19-06-11%1Ft01%3A20%3A13.000%1E001D+%1F09999%3A26-04-03%1E001U+%1F0utf8%1E001X+%1F00%1E002@+%1F0Aal%1E003@+%1F0361809549%1E004A+%1FfHlw.%1E006U+%1F000%2CL01%1E006U+%1F004%2CP01-s-41%1E006U+%1F004%2CP01-f-21%1E007G+%1FaDNB%1F0361809549%1E007I+%1FSo%1F072658383%1E007M+%1F04413/0275%1E011@+%1Fa1925%1E019@+%1FaXA-DXDE%1FaXA-DE%1E021A+%1FaHundert+Jahre+Buchdrucker-Innung+Hamburg%1FdWesen+u.+Werden+d.+Vereinigungen+Hamburger+Buchdruckereibesitzer+1825-1925+%3B+Gedenkschrift+zur+100.+Wiederkehr+d.+Gru%CC%88ndungstages%2C+verf.+im+Auftr.+d.+Vorstandes+d.+Buchdrucker-Innung+%28Freie+Innung%29+zu+Hamburg%1FhFriedrich+Voeltzer%1E028A+%1F9101386281%1F7Tp1%1FVpiz%1FAgnd%1F0101386281%1FE1895%1FaVo%CC%88ltzer%1FdFriedrich%1E033A+%1FpHamburg%1FnBuchdrucker-Innung+%28Freie+Innung%29%1E033A+%1FpHamburg%1Fn%5BVerlagsbuchh.+Broschek+%26+Co.%5D%1E034D+%1Fa44+S.%1E034I+%1Fa4%1E%0A001@+%1Fa5%1F01-3%1E001A+%1F01240%3A01-08-95%1E001B+%1F09999%3A24-09-10%1Ft17%3A42%3A20.000%1E001D+%1F09999%3A99-99-99%1E001U+%1F0utf8%1E001X+%1F00%1E002@+%1F0Af%1E003@+%1F0945184085%1E004A+%1F03-89007-044-2%1FfGewebe+%3A+DM+198.00%2C+sfr+198.00%2C+S+1386.00%1E006T+%1F095%2CN35%2C0856%1E006U+%1F095%2CA48%2C1186%1E006U+%1F010%2CP01%1E007I+%1FSo%1F061975997%1E011@+%1Fa1995%1E017A+%1Fara%1E021A+%1Fx213%1F9550711899%1FYNeues+Handbuch+der+Musikwissenschaft%1Fhhrsg.+von+Carl+Dahlhaus.+Fortgef.+von+Hermann+Danuser%1FpLaaber%1FJLaaber-Verl.%1FS48%1F03-89007-030-2%1FgAc%1E021B+%1FlBd.+13.%1FaRegister%1Fhzsgest.+von+Hans-Joachim+Hinrichsen%1E028C+%1F9121445453%1F7Tp3%1FVpiz%1FAgnd%1F0121445453%1FE1952%1FaHinrichsen%1FdHans-Joachim%1E034D+%1FaVIII%2C+408+S.%1E045V+%1F9090001001%1E047A+%1FSFE%1Fagb/fm%1E%0A001@+%1F01-2%1Fa5%1E001A+%1F01239%3A18-08-11%1E001B+%1F09999%3A05-09-11%1Ft23%3A31%3A44.000%1E001D+%1F01240%3A30-08-11%1E001U+%1F0utf8%1E001X+%1F00%1E002@+%1F0Af%1E003@+%1F01014417392%1E004A+%1Ffkart.%1E006U+%1F011%2CA37%1E007G+%1FaDNB%1F01014417392%1E007I+%1FSo%1F0752937239%1E010@+%1Fager%1E011@+%1Fa2011%1E017A+%1Fara%1Fasf%1E021A+%1Fxtr%1F91014809657%1F7Tp3%1FVpiz%1FAgnd%1F01034622773%1FE1958%1FaLu%CC%88beck%1FdMonika%1FYPersonalwirtschaft+mit+DATEV%1FhMonika+Lu%CC%88beck+%3B+Helmut+Lu%CC%88beck%1FpBodenheim%1FpWien%1FJHerdt%1FRXA-DE%1FS650%1FgAc%1E021B+%1FlTrainerbd.%1E032@+%1Fg11%1Fa1.+Ausg.%1E034D+%1Fa129+S.%1E034M+%1FaIll.%1E047A+%1FSFE%1Famar%1E047A+%1FSERW%1Fasal%1E047I+%1Fu%24%1Fc04%1FdDNB%1Fe1%1E \ No newline at end of file diff --git a/resources/examples/Flux_Commands/as-records b/resources/examples/Flux_Commands/as-records new file mode 100644 index 0000000..91ef19c --- /dev/null +++ b/resources/examples/Flux_Commands/as-records @@ -0,0 +1 @@ +https://metafacture.org/playground/?flux=%22https%3A//lobid.org/gnd/11942150X%22%0A%7C+open-http%28accept%3D%22application/json%22%29%0A//+in+contrast+to+as+lines+will+the+incoming+data+be+read+as+multi-line+batch+which+could+be+separated+into+records%0A%7C+as-records%0A%7C+decode-json%0A%7C+fix%28transformationFile%29%0A%7C+encode-json%28prettyPrinting%3D%22true%22%29%0A%7C+print%3B&transformation=copy_field%28%22preferredName%22%2C+%22name%22%29%0Acopy_field%28%22affiliation%5B%5D.1.label%22%2C+%22placeOfWork%22%29%0Aretain%28%22name%22%2C+%22placeOfWork%22%29 \ No newline at end of file diff --git a/resources/examples/Flux_Commands/change-id b/resources/examples/Flux_Commands/change-id new file mode 100644 index 0000000..6e61aff --- /dev/null +++ b/resources/examples/Flux_Commands/change-id @@ -0,0 +1 @@ +https://metafacture.org/playground/?flux=%22https%3A//lobid.org/gnd/search%3Ffilter%3D%252B%2528type%253APerson%2529%2B%252B%2528type%253AGods%2529%22%0A%7C+open-http%28accept%3D%22application/json%22%29%0A%7C+as-records%0A%7C+decode-json%28recordPath%3D%22member%22%29%0A%7C+fix%28transformationFile%29%0A%7C+change-id%0A%7C+encode-formeta%0A%7C+print%3B&transformation=copy_field%28%22preferredName%22%2C+%22name%22%29%0Acopy_field%28%22gndIdentifier%22%2C%22_id%22%29%0Aretain%28%22name%22%2C+%22id%22%2C%22_id%22%29 \ No newline at end of file diff --git a/resources/examples/Flux_Commands/decode-formeta b/resources/examples/Flux_Commands/decode-formeta new file mode 100644 index 0000000..95fdc56 --- /dev/null +++ b/resources/examples/Flux_Commands/decode-formeta @@ -0,0 +1 @@ +https://metafacture.org/playground/?flux=inputFile%0A%7C+open-file%0A%7Cas-lines%0A%7Cdecode-formeta%0A%7Cfix%28transformationFile%29%0A%7Cencode-xml%28rootTag%3D%22collection%22%29%0A%7Cprint%0A%3B&transformation=move_field%28_id%2C+id%29%0Amove_field%28a%2C+title%29%0Apaste%28author%2C+b.v%2C+b.n%2C+%27~aus%27%2C+c%29%0Aretain%28id%2C+title%2C+author%29&data=1%7Ba%3A+Faust%2C+b+%7Bn%3A+Goethe%2C+v%3A+JW%7D%2C+c%3A+Weimar%7D%0A2%7Ba%3A+R%C3%A4uber%2C+b+%7Bn%3A+Schiller%2C+v%3A+F%7D%2C+c%3A+Weimar%7D \ No newline at end of file diff --git a/resources/examples/Flux_Commands/decode-json b/resources/examples/Flux_Commands/decode-json new file mode 100644 index 0000000..e6e66db --- /dev/null +++ b/resources/examples/Flux_Commands/decode-json @@ -0,0 +1 @@ +https://metafacture.org/playground/?flux=%22https%3A//lobid.org/gnd/11942150X%22%0A%7C+open-http%28accept%3D%22application/json%22%29%0A%7C+as-records%0A%7C+decode-json%0A%7C+encode-yaml%0A%7C+print%3B \ No newline at end of file diff --git a/resources/examples/Flux_Commands/decode-mab b/resources/examples/Flux_Commands/decode-mab new file mode 100644 index 0000000..a1d5b2d --- /dev/null +++ b/resources/examples/Flux_Commands/decode-mab @@ -0,0 +1 @@ +https://metafacture.org/playground/?flux=%22https%3A//raw.githubusercontent.com/gbv/Catmandu-Tutorial/master/data/mab2.dat%22%0A%7C+open-http%0A%7C+as-lines%0A%7C+decode-mab%0A%7C+encode-yaml%0A%7C+print%3B \ No newline at end of file diff --git a/resources/examples/Flux_Commands/decode-marc21 b/resources/examples/Flux_Commands/decode-marc21 new file mode 100644 index 0000000..19d2f51 --- /dev/null +++ b/resources/examples/Flux_Commands/decode-marc21 @@ -0,0 +1 @@ +https://metafacture.org/playground/?flux=%22https%3A//raw.githubusercontent.com/gbv/Catmandu-Tutorial/master/data/marc.mrc%22%0A%7C+open-http%0A%7C+as-lines%0A%7C+decode-marc21%0A%7C+encode-yaml%0A%7C+print%0A%3B \ No newline at end of file diff --git a/resources/examples/Flux_Commands/decode-pica b/resources/examples/Flux_Commands/decode-pica new file mode 100644 index 0000000..7b4c000 --- /dev/null +++ b/resources/examples/Flux_Commands/decode-pica @@ -0,0 +1 @@ +https://metafacture.org/playground/?flux=https%3A//github.com/metafacture/metafacture-core/blob/master/metafacture-runner/src/main/dist/examples/read/pica/10.pica%22%0A%7C+open-http%0A%7C+as-lines%0A%7C+decode-pica%0A%7C+encode-formeta%28style%3D%22multiline%22%29%0A%7C+print%0A%3B \ No newline at end of file diff --git a/resources/examples/Flux_Commands/decode-xml b/resources/examples/Flux_Commands/decode-xml new file mode 100644 index 0000000..abafef1 --- /dev/null +++ b/resources/examples/Flux_Commands/decode-xml @@ -0,0 +1 @@ +https://metafacture.org/playground/?flux=inputFile%0A%7C+open-file%0A%7Cdecode-xml%0A%7Chandle-generic-xml%0A%7Cencode-yaml%0A%7Cprint%0A%3B&data=%3C%3Fxml+version%3D%221.0%22%3F%3E%0A%3Crecord%3E%0A++++%3Cfield%3Ea%3C/field%3E%0A++++%3Cfield%3Eb%3C/field%3E%0A%3C/record%3E \ No newline at end of file diff --git a/resources/examples/Flux_Commands/decode-yaml b/resources/examples/Flux_Commands/decode-yaml new file mode 100644 index 0000000..b080d2f --- /dev/null +++ b/resources/examples/Flux_Commands/decode-yaml @@ -0,0 +1 @@ +https://metafacture.org/playground/?flux=inputFile%0A%7C+open-file%0A%7C+as-records%0A%7Cdecode-yaml%0A%7Cencode-xml%0A%7Cprint%0A%3B&data=---%0Afield1%3A+%22a%22%0Afield2%3A+%22b%22%0A \ No newline at end of file diff --git a/resources/examples/Flux_Commands/encode-csv b/resources/examples/Flux_Commands/encode-csv new file mode 100644 index 0000000..edc7196 --- /dev/null +++ b/resources/examples/Flux_Commands/encode-csv @@ -0,0 +1 @@ +https://metafacture.org/playground/?flux=%22https%3A//raw.githubusercontent.com/metafacture/metafacture-core/master/metafacture-runner/src/main/dist/examples/read/marc21/10.marc21%22%0A%7C+open-http%0A%7C+as-lines%0A%7C+decode-marc21%0A%7C+fix%28transformationFile%29%0A%7C+flatten%0A%7C+encode-csv%28includeHeader%3D%22TRUE%22%2C+separator%3D%22\t%22%2C+noQuotes%3D%22false%22%29%0A%7C+print%0A%3B&transformation=set_array%28%22title%22%29%0Ado+list%28path%3A+%22245%3F%3F.%3F%22%2C%22var%22%3A%22%24i%22%29%0A++copy_field%28%22%24i%22%2C%22title.%24append%22%29%0Aend%0Ajoin_field%28title%2C%22+%22%29%0Aset_array%28%22isbn%22%29%0Ado+list%28path%3A+%22020%3F%3F.a%22%2C%22var%22%3A%22%24i%22%29%0A++copy_field%28%22%24i%22%2Cisbn.%24append%29%0Aend%0Ajoin_field%28isbn%2C%22%2C%22%29%0Aretain%28%22_id%22%2C%22title%22%2C%22isbn%22%29 \ No newline at end of file diff --git a/resources/examples/Flux_Commands/encode-formeta b/resources/examples/Flux_Commands/encode-formeta new file mode 100644 index 0000000..d990bae --- /dev/null +++ b/resources/examples/Flux_Commands/encode-formeta @@ -0,0 +1 @@ +https://metafacture.org/playground/?flux=%22https%3A//raw.githubusercontent.com/metafacture/metafacture-core/master/metafacture-runner/src/main/dist/examples/read/pica/10.pica%22%0A%7C+open-http%0A%7C+as-lines%0A%7C+decode-pica%0A%7C+encode-formeta%28style%3D%22multiline%22%29%0A%7C+print%0A%3B \ No newline at end of file diff --git a/resources/examples/Flux_Commands/encode-literals b/resources/examples/Flux_Commands/encode-literals new file mode 100644 index 0000000..a9b0aed --- /dev/null +++ b/resources/examples/Flux_Commands/encode-literals @@ -0,0 +1 @@ +https://metafacture.org/playground/?flux=inputFile%0A%7C+open-file%0A%7C+as-lines%0A%7C+decode-pica%0A%7C+flatten%0A%7C+encode-literals%0A%7C+print%3B&data=001@+%1Fa5%1F01-2%1E001A+%1F01100%3A15-10-94%1E001B+%1F09999%3A12-06-06%1Ft16%3A10%3A17.000%1E001D+%1F09999%3A99-99-99%1E001U+%1F0utf8%1E001X+%1F00%1E002@+%1F0Aag%1E003@+%1F0482147350%1E006U+%1F094%2CP05%1E007E+%1F0U+70.16407%1E007I+%1FSo%1F074057548%1E011@+%1Fa1970%1E017A+%1Farh%1E021A+%1FaDie+@Berufsfreiheit+der+Arbeitnehmer+und+ihre+Ausgestaltung+in+vo%CC%88lkerrechtlichen+Vertra%CC%88gen%1FdEine+Grundrechtsbetrachtg%1E028A+%1F9106884905%1F7Tn3%1FAgnd%1F0106884905%1FaProjahn%1FdHorst+D.%1E033A+%1FpWu%CC%88rzburg%1E034D+%1FaXXXVIII%2C+165+S.%1E034I+%1Fa8%1E037C+%1FaWu%CC%88rzburg%2C+Jur.+F.%2C+Diss.+v.+7.+Aug.+1970%1E%0A001@+%1F01%1Fa5%1E001A+%1F01140%3A08-12-99%1E001B+%1F09999%3A05-01-08%1Ft22%3A57%3A29.000%1E001D+%1F09999%3A99-99-99%1E001U+%1F0utf8%1E001X+%1F00%1E002@+%1F0Aa%1E003@+%1F0958090564%1E004A+%1Ffkart.+%3A+DM+9.70%2C+EUR+4.94%2C+sfr+8.00%2C+S+68.00%1E006U+%1F000%2CB05%2C0285%1E007I+%1FSo%1F076088278%1E011@+%1Fa1999%1E017A+%1Farb%1Fasi%1E019@+%1FaXA-AT%1E021A+%1FaZukunft+Bildung%1FhPolitische+Akademie.+%5BHrsg.+von+Gu%CC%88nther+R.+Burkert-Dottolo+und+Bernhard+Moser%5D%1E028C+%1F9130681849%1F7Tp1%1FVpiz%1FAgnd%1F0130681849%1FE1952%1FaBurkert%1FdGu%CC%88nther+R.%1FBHrsg.%1E033A+%1FpWien%1FnPolit.+Akad.%1E034D+%1Fa79+S.%1E034I+%1Fa24+cm%1E036F+%1Fx299+12%1F9551720077%1FgAdn%1F7Tb1%1FAgnd%1F01040469-7%1FaPolitische+Akademie%1FgWien%1FYPA-Information%1FhPolitische+Akademie%2C+WB%1FpWien%1FJPolitische+Akad.%2C+WB%1Fl99%2C2%1E036F/01+%1Fx12%1F9025841467%1FgAdvz%1Fi2142105-5%1FYAktuelle+Fragen+der+Politik%1FhPolitische+Akademie%1FpWien%1FJPolitische+Akad.+der+O%CC%88VP%1FlBd.+2%1E045E+%1Fa22%1Fd18%1Fm370%1E047A+%1FSFE%1Fata%1E%0A001@+%1Fa5%1F01%1E001A+%1F01140%3A19-02-03%1E001B+%1F09999%3A19-06-11%1Ft01%3A20%3A13.000%1E001D+%1F09999%3A26-04-03%1E001U+%1F0utf8%1E001X+%1F00%1E002@+%1F0Aal%1E003@+%1F0361809549%1E004A+%1FfHlw.%1E006U+%1F000%2CL01%1E006U+%1F004%2CP01-s-41%1E006U+%1F004%2CP01-f-21%1E007G+%1FaDNB%1F0361809549%1E007I+%1FSo%1F072658383%1E007M+%1F04413/0275%1E011@+%1Fa1925%1E019@+%1FaXA-DXDE%1FaXA-DE%1E021A+%1FaHundert+Jahre+Buchdrucker-Innung+Hamburg%1FdWesen+u.+Werden+d.+Vereinigungen+Hamburger+Buchdruckereibesitzer+1825-1925+%3B+Gedenkschrift+zur+100.+Wiederkehr+d.+Gru%CC%88ndungstages%2C+verf.+im+Auftr.+d.+Vorstandes+d.+Buchdrucker-Innung+%28Freie+Innung%29+zu+Hamburg%1FhFriedrich+Voeltzer%1E028A+%1F9101386281%1F7Tp1%1FVpiz%1FAgnd%1F0101386281%1FE1895%1FaVo%CC%88ltzer%1FdFriedrich%1E033A+%1FpHamburg%1FnBuchdrucker-Innung+%28Freie+Innung%29%1E033A+%1FpHamburg%1Fn%5BVerlagsbuchh.+Broschek+%26+Co.%5D%1E034D+%1Fa44+S.%1E034I+%1Fa4%1E%0A001@+%1Fa5%1F01-3%1E001A+%1F01240%3A01-08-95%1E001B+%1F09999%3A24-09-10%1Ft17%3A42%3A20.000%1E001D+%1F09999%3A99-99-99%1E001U+%1F0utf8%1E001X+%1F00%1E002@+%1F0Af%1E003@+%1F0945184085%1E004A+%1F03-89007-044-2%1FfGewebe+%3A+DM+198.00%2C+sfr+198.00%2C+S+1386.00%1E006T+%1F095%2CN35%2C0856%1E006U+%1F095%2CA48%2C1186%1E006U+%1F010%2CP01%1E007I+%1FSo%1F061975997%1E011@+%1Fa1995%1E017A+%1Fara%1E021A+%1Fx213%1F9550711899%1FYNeues+Handbuch+der+Musikwissenschaft%1Fhhrsg.+von+Carl+Dahlhaus.+Fortgef.+von+Hermann+Danuser%1FpLaaber%1FJLaaber-Verl.%1FS48%1F03-89007-030-2%1FgAc%1E021B+%1FlBd.+13.%1FaRegister%1Fhzsgest.+von+Hans-Joachim+Hinrichsen%1E028C+%1F9121445453%1F7Tp3%1FVpiz%1FAgnd%1F0121445453%1FE1952%1FaHinrichsen%1FdHans-Joachim%1E034D+%1FaVIII%2C+408+S.%1E045V+%1F9090001001%1E047A+%1FSFE%1Fagb/fm%1E%0A001@+%1F01-2%1Fa5%1E001A+%1F01239%3A18-08-11%1E001B+%1F09999%3A05-09-11%1Ft23%3A31%3A44.000%1E001D+%1F01240%3A30-08-11%1E001U+%1F0utf8%1E001X+%1F00%1E002@+%1F0Af%1E003@+%1F01014417392%1E004A+%1Ffkart.%1E006U+%1F011%2CA37%1E007G+%1FaDNB%1F01014417392%1E007I+%1FSo%1F0752937239%1E010@+%1Fager%1E011@+%1Fa2011%1E017A+%1Fara%1Fasf%1E021A+%1Fxtr%1F91014809657%1F7Tp3%1FVpiz%1FAgnd%1F01034622773%1FE1958%1FaLu%CC%88beck%1FdMonika%1FYPersonalwirtschaft+mit+DATEV%1FhMonika+Lu%CC%88beck+%3B+Helmut+Lu%CC%88beck%1FpBodenheim%1FpWien%1FJHerdt%1FRXA-DE%1FS650%1FgAc%1E021B+%1FlTrainerbd.%1E032@+%1Fg11%1Fa1.+Ausg.%1E034D+%1Fa129+S.%1E034M+%1FaIll.%1E047A+%1FSFE%1Famar%1E047A+%1FSERW%1Fasal%1E047I+%1Fu%24%1Fc04%1FdDNB%1Fe1%1E \ No newline at end of file diff --git a/resources/examples/Flux_Commands/encode-marcxml b/resources/examples/Flux_Commands/encode-marcxml new file mode 100644 index 0000000..367e057 --- /dev/null +++ b/resources/examples/Flux_Commands/encode-marcxml @@ -0,0 +1 @@ +https://metafacture.org/playground/?flux=%22https%3A//raw.githubusercontent.com/gbv/Catmandu-Tutorial/master/data/marc.mrc%22%0A%7C+open-http%0A%7C+as-lines%0A%7C+decode-marc21%28emitLeaderAsWhole%3D%22TRUE%22%29%0A%7C+encode-marcxml%0A%7C+print%0A%3B \ No newline at end of file diff --git a/resources/examples/Flux_Commands/encode-xml b/resources/examples/Flux_Commands/encode-xml new file mode 100644 index 0000000..95fdc56 --- /dev/null +++ b/resources/examples/Flux_Commands/encode-xml @@ -0,0 +1 @@ +https://metafacture.org/playground/?flux=inputFile%0A%7C+open-file%0A%7Cas-lines%0A%7Cdecode-formeta%0A%7Cfix%28transformationFile%29%0A%7Cencode-xml%28rootTag%3D%22collection%22%29%0A%7Cprint%0A%3B&transformation=move_field%28_id%2C+id%29%0Amove_field%28a%2C+title%29%0Apaste%28author%2C+b.v%2C+b.n%2C+%27~aus%27%2C+c%29%0Aretain%28id%2C+title%2C+author%29&data=1%7Ba%3A+Faust%2C+b+%7Bn%3A+Goethe%2C+v%3A+JW%7D%2C+c%3A+Weimar%7D%0A2%7Ba%3A+R%C3%A4uber%2C+b+%7Bn%3A+Schiller%2C+v%3A+F%7D%2C+c%3A+Weimar%7D \ No newline at end of file diff --git a/resources/examples/Flux_Commands/extract-element b/resources/examples/Flux_Commands/extract-element new file mode 100644 index 0000000..61bd66e --- /dev/null +++ b/resources/examples/Flux_Commands/extract-element @@ -0,0 +1 @@ +https://metafacture.org/playground/?flux=%22https%3A//academic.oup.com/jmammal/article/95/5/943/984478%22%0A%7C+open-http%0A%7C+extract-element%28%22script%5Btype%3Dapplication/ld%2Bjson%5D%22%29%0A%7C+decode-json%0A%7C+encode-json%28prettyPrinting%3D%22true%22%29%0A%7C+print%0A%3B \ No newline at end of file diff --git a/resources/examples/Flux_Commands/filter-null-values b/resources/examples/Flux_Commands/filter-null-values new file mode 100644 index 0000000..9bcef3f --- /dev/null +++ b/resources/examples/Flux_Commands/filter-null-values @@ -0,0 +1 @@ +https://metafacture.org/playground/?flux=inputFile%0A%7C+open-file%0A%7C+as-records%0A%7C+decode-json%0A%7C+filter-null-values%0A%7C+encode-json%28prettyPrinting%3D%22true%22%29%0A%7C+print%0A%3B&data=%7B%0A++++%22not%22%3A%22empty%22%2C%0A++++%22empty%22%3A+null%0A%7D \ No newline at end of file diff --git a/resources/examples/Flux_Commands/filter-records-by-path b/resources/examples/Flux_Commands/filter-records-by-path new file mode 100644 index 0000000..f2de68d --- /dev/null +++ b/resources/examples/Flux_Commands/filter-records-by-path @@ -0,0 +1 @@ +https://metafacture.org/playground/?flux=%22https%3A//kalliope-verbund.info/sru%3Fversion%3D1.2%26operation%3DsearchRetrieve%26query%3Dead.repository.isil%3DDE-B1575%26recordSchema%3Dmods37%22%0A%7C+open-http%28accept%3D%22application/xml%22%29%0A%7C+decode-xml%0A%7C+handle-generic-xml%0A%7C+filter-records-by-path%28%22recordData.mods%22%29%0A%7C+fix%28transformationFile%29%0A%7C+encode-json%28prettyPrinting%3D%22true%22%29%0A%7C+print%0A%3B&transformation=copy_field%28%22titleInfo.title.value%22%2C%22title%22%29%0Acopy_field%28%22identifier.value%22%2C%22id%22%29%0Aretain%28%22title%22%2C%22id%22%29 \ No newline at end of file diff --git a/resources/examples/Flux_Commands/filter-strings b/resources/examples/Flux_Commands/filter-strings new file mode 100644 index 0000000..be58d01 --- /dev/null +++ b/resources/examples/Flux_Commands/filter-strings @@ -0,0 +1 @@ +https://metafacture.org/playground/?flux=inputFile%0A%7C+open-file%0A%7Cas-lines%0A%7Cfilter-strings%28%22%5EDeleted.%2A%22%2Cpassmatches%3D%22false%22%29%0A%7Cdecode-formeta%0A%7Cfix%28transformationFile%29%0A%7Cencode-xml%28rootTag%3D%22collection%22%29%0A%7Cprint%0A%3B&transformation=move_field%28_id%2C+id%29%0Amove_field%28a%2C+title%29%0Apaste%28author%2C+b.v%2C+b.n%2C+%27~aus%27%2C+c%29%0Aretain%28id%2C+title%2C+author%29&data=1%7Ba%3A+Faust%2C+b+%7Bn%3A+Goethe%2C+v%3A+JW%7D%2C+c%3A+Weimar%7D%0ADeleted%3A+2%7Ba%3A+R%C3%A4uber%2C+b+%7Bn%3A+Schiller%2C+v%3A+F%7D%2C+c%3A+Weimar%7D%0A3%7Ba%3A+Kritik+der+reinen+Vernunft%2C+b+%7Bn%3A+Kant%2C+v%3A+I%7D%2C+c%3A+K%C3%B6nigsberg%7D \ No newline at end of file diff --git a/resources/examples/Flux_Commands/filter-triples b/resources/examples/Flux_Commands/filter-triples new file mode 100644 index 0000000..a5ed4ca --- /dev/null +++ b/resources/examples/Flux_Commands/filter-triples @@ -0,0 +1 @@ +https://metafacture.org/playground/?flux=inputFile%0A%7C+open-file%0A%7C+as-lines%0A%7C+decode-pica%0A%7C+stream-to-triples%0A%7C+filter-triples%28predicatepattern%3D%22001.%2A%22%29%0A%7C+print%0A%3B&data=001@+%1F01%1Fa5%1E001A+%1F09999%3A07-04-01%1E001B+%1F09999%3A10-03-04%1Ft13%3A31%3A00.000%1E001D+%1F09999%3A07-04-01%1E001U+%1F0utf8%1E001X+%1F00%1E002@+%1F0Aal%1E003@+%1F0570346983%1E006U+%1F000%2CL01%1E007I+%1FSo%1F0720834513%1E007M+%1F01602/0263%1E011@+%1Fa1929%1E021A+%1FaDie+@Ehrenstatuen+der+Pa%CC%88pste%1E028A+%1F9118700561%1F7Tp1%1FVpiz%1FAgnd%1F0118700561%1FE1900%1FB1997%1FaHager%1FdWerner%1E033A+%1FpLeipzig%1E034D+%1Fa82+S.%1E034I+%1Fa4%1E037A+%1FaAuch+in+Buchh.+als%3A+Ro%CC%88mische+Forschungen%2C+hrsg.+v.+d.+Bibliotheca+Hertziana+in+Rom.+Bd+7.+1929.%1E037C+%1FaBasel%2C+Phil.-+hist.+Diss.%1E%0A001@+%1F01-2%1Fa5%1E001A+%1F01200%3A28-09-87%1E001B+%1F09999%3A29-12-07%1Ft19%3A41%3A36.000%1E001D+%1F09999%3A99-99-99%1E001U+%1F0utf8%1E001X+%1F00%1E002@+%1F0Aan%1E003@+%1F0871159031%1E004A+%1Ffgeh.+%28Pr.+nicht+mitget.%29%1E006U+%1F087%2CB42%2C0848%1E007I+%1FSo%1F0310869122%1E011@+%1Fa1987%1E021A+%1FaEinfach+klassisch%21%1FdEine+Orestie+mit+glu%CC%88ckl.+Ausgang%1FhWalter+Mehring+%281896+-+1981%29.+Mit+e.+Nachw.+hrsg.+von+Didier+Plassard.+Univ.+-+Gesamthochsch.+Siegen%1E028A+%1F9118579983%1F7Tp1%1FVpip%1FAgnd%1F0118579983%1FE1896%1FB1981%1FaMehring%1FdWalter%1E032@+%1Fg12%1Fa%282.+Aufl.%29%1E033A+%1FpSiegen%1FnUniv.+-+Gesamthochsch.%1E034D+%1Fa28+S.%1E034I+%1Fa21+cm%1E036F+%1Fx216%1F9010243046%1FgAdvz%1Fi19442-6%1FYVergessene+Autoren+der+Moderne%1FpSiegen%1FJUniv.-Gesamthochschule%1Fl16%1E045E+%1Fa59%1Fm810%1Fm820%1Fm830%1Fm839%1Fm840%1Fm850%1Fm860%1Fm870%1Fm880%1Fm890%1FmB%1E047A+%1FSFE%1Fabs%1E%0A001@+%1F01%1Fa5%1E001A+%1F09999%3A31-10-01%1E001B+%1F00101%3A07-08-09%1Ft17%3A28%3A39.000%1E001D+%1F09999%3A31-10-01%1E001U+%1F0utf8%1E001X+%1F00%1E002@+%1F0Aal%1E003@+%1F0572736959%1E006U+%1F000%2CL01%1E007I+%1FSo%1F072019536%1E007M+%1F02797/0022%1E010@+%1Fager%1E011@+%1Fa1916%1E021A+%1FaDorfheimat%1FdBilder+aus+der+Knabenzeit%1Fhvon+Franziskus+Nagler%1E028A+%1F9116880430%1F7Tp1%1FVpiz%1FAgnd%1F0116880430%1FE1873%1FB1957%1FaNagler%1FdFranciscus%1E032@+%1Fg13%1Fa3.+Aufl.%1E033A+%1FpMeissen%1FnBuchheim%1E034D+%1Fa208+S.%1E034I+%1Fa8%1E037A+%1FaIn+Fraktur%1E047E+%1Faagi-809Haerig%1E%0A001@+%1Fa5%1E001A+%1F01145%3A29-03-04%1E001B+%1F01145%3A27-04-05%1Ft18%3A02%3A05.000%1E001D+%1F09999%3A10-05-08%1E001U+%1F0utf8%1E001X+%1F00%1E002@+%1F0Acl%1E003@+%1F0560568487%1E007I+%1FSo%1F073290854%1E007M+%1F01769/0218%1E017A+%1Fagw%1E021A+%1FaMein+Hermannsland%1E033A+%1FpBielefeld%1FpLeipzig%1FnVelhagen+%26+Klasing%1E034I+%1Fa8%1E036G+%1FaVelhagen+%26+Klasings+Erga%CC%88nzungshefte+zu+deutschen+Lesebu%CC%88chern%1E042@+%1F0NN%1Fc34p3_vk.dat%1Fd1337%1Fe2004-03-29%1E%0A001@+%1F01-2%1Fa5%1E001A+%1F01130%3A27-10-05%1E001B+%1F09999%3A23-11-05%1Ft10%3A44%3A17.000%1E001D+%1F01140%3A03-11-05%1E001U+%1F0utf8%1E001X+%1F00%1E002@+%1F0Af%1E003@+%1F0976858223%1E004A+%1Ffkart.%1E006U+%1F005%2CB49%2C0021%1E007I+%1FSo%1F0723555963%1E011@+%1Fa2005%1Fn%5B2005%5D%1E017A+%1Farb%1E021A+%1Fx13%1F9957878923%1FYSoftware-Architektur%1FhFernuniversita%CC%88t+in+Hagen%1FpHagen%1FJFernuniv.%1FS004%1FgAc%1E021B+%1FlKurseinheit+3.%1FaGenerische+Architekturen+und+Komponentensysteme%1FhAutor%3A+A.+Poetzsch-Heffter.+Mitarb.%3A+N.+Rauch%1E032@+%1Fg16%1Fa%5B6.+Aufl.%5D%1E034D+%1FaS.+66+-+102%1E034I+%1FaIll.%1E047A+%1FSFE%1Fa%5BADH%1E047A+%1FSERW%1Farm%1E \ No newline at end of file diff --git a/resources/examples/Flux_Commands/flatten b/resources/examples/Flux_Commands/flatten new file mode 100644 index 0000000..d9d7e3c --- /dev/null +++ b/resources/examples/Flux_Commands/flatten @@ -0,0 +1 @@ +https://metafacture.org/playground/?flux=inputFile%0A%7C+open-file%0A%7C+as-records%0A%7C+decode-yaml%0A%7C+flatten%0A%7C+encode-json%28prettyPrinting+%3D+%22true%22%29%0A%7C+print%3B&data=I%3A%0A++++was%3A%0A++++++++a%3A%0A++++++++++++nested%3A%0A++++++++++++++++element \ No newline at end of file diff --git a/resources/examples/Flux_Commands/handle-generic-xml b/resources/examples/Flux_Commands/handle-generic-xml new file mode 100644 index 0000000..01f53ca --- /dev/null +++ b/resources/examples/Flux_Commands/handle-generic-xml @@ -0,0 +1 @@ +https://metafacture.org/playground/?flux=inputFile%0A%7Copen-file%0A%7Cdecode-xml%0A%7Chandle-generic-xml%0A%7Cencode-json%28prettyPrinting%3D%22true%22%29%0A%7Cprint%0A%3B&data=%3C%3Fxml+version%3D%221.0%22%3F%3E%0A%3Crecord%3E%0A++++%3Cfield1%3Ea%3C/field1%3E%0A++++%3Cfield2%3Eb%3C/field2%3E%0A%3C/record%3E \ No newline at end of file diff --git a/resources/examples/Flux_Commands/handle-marcxml b/resources/examples/Flux_Commands/handle-marcxml new file mode 100644 index 0000000..f9f9a35 --- /dev/null +++ b/resources/examples/Flux_Commands/handle-marcxml @@ -0,0 +1 @@ +https://metafacture.org/playground/?flux=%22https%3A//d-nb.info/1106253078/about/marcxml%22%0A%7C+open-http%28accept%3D%22application/xml%22%29%0A%7C+decode-xml%0A%7C+handle-marcxml%0A%7C+encode-json%28prettyPrinting%3D%22true%22%29%0A%7C+print%0A%3B \ No newline at end of file diff --git a/resources/examples/Flux_Commands/literal-to-object b/resources/examples/Flux_Commands/literal-to-object new file mode 100644 index 0000000..a58ece1 --- /dev/null +++ b/resources/examples/Flux_Commands/literal-to-object @@ -0,0 +1 @@ +https://metafacture.org/playground/?flux=inputFile%0A%7C+open-file%0A%7C+as-records%0A%7C+decode-json%0A%7C+literal-to-object%28pattern%3D%22url%22%29%0A%7C+open-http%0A%7C+as-records%0A%7C+print%0A%3B&data=%7B%0A++++%22url%22%3A+%22https%3A//d-nb.info/1186285524/about/marcxml%22%2C%0A++++%22name%22%3A+%22%C3%9Cber+Hannah+Arendt+/+Judith+N.+Shklar+%3B+herausgegeben+und+mit+einem+Nachwort+versehen+von+Hannes+Bajohr+%3B+aus+dem+Amerikanischen+%C3%BCbersetzt+von+Hannes+Bajohr+und+Tim+Rei%C3%9F+%22%0A%7D%0A%7B%0A++++%22url%22%3A+%22https%3A//d-nb.info/1232014680/about/marcxml%22%2C%0A++++%22name%22%3A+%22%C3%9Cber+Ungerechtigkeit+%3A+Erkundungen+zu+einem+moralischen+Gef%C3%BChl+/+Judith+N.+Shklar+%3B+aus+dem+Amerikanischen+von+Christiana+Goldmann+%3B+herausgegeben+und+neu+durchgesehen+von+Hannes+Bajohr+%22%0A%7D \ No newline at end of file diff --git a/resources/examples/Flux_Commands/match b/resources/examples/Flux_Commands/match new file mode 100644 index 0000000..63661a6 --- /dev/null +++ b/resources/examples/Flux_Commands/match @@ -0,0 +1 @@ +https://metafacture.org/playground/?flux=inputFile%0A%7C+open-file%0A%7C+as-records%0A%7C+match%28pattern%3D%22@%28type%7Cid%29%22%2C+replacement%3D%22%241%22%29%0A%7C+decode-json%0A%7C+encode-yaml%0A%7C+print%0A%3B&data=%7B%0A++++%22@id%22%3A+%22https%3A//metafacture.org/playground/%22%2C%0A++++%22@type%22%3A+%22Webpage%22%2C%0A++++%22name%22%3A+%22Metafacture+Playground%22%0A%7D \ No newline at end of file diff --git a/resources/examples/Flux_Commands/merge-same-ids b/resources/examples/Flux_Commands/merge-same-ids new file mode 100644 index 0000000..610646c --- /dev/null +++ b/resources/examples/Flux_Commands/merge-same-ids @@ -0,0 +1 @@ +https://metafacture.org/playground/?flux=inputFile%0A%7C+open-file%0A%7C+as-records%0A%7C+decode-yaml%0A%7C+stream-to-triples%28redirect%3D%22true%22%29%0A%7C+sort-triples%0A%7C+collect-triples%0A//+The+record+with+the+same+id+must+follow+each+other.%0A%7C+merge-same-ids%0A%7C+encode-json%28prettyPrinting%3D%22true%22%29%0A%7C+print%0A%3B&data=---%0A_id+%3A+testCase1%0Aname%3A+Justus%0A%0A---%0A_id+%3A+testCase2%0Aname%3A+Skinny%0A%0A---%0A_id+%3A+testCase1%0Aname%3A+Peter%0A%0A---%0A_id+%3A+testCase1%0Aname%3A+Bob%0A%0A---%0A_id+%3A+testCase2%0Aname%3A+Victor%0A%0A---%0A_id+%3A+testCase2%0Aname%3A+Cotta \ No newline at end of file diff --git a/resources/examples/Flux_Commands/morph b/resources/examples/Flux_Commands/morph new file mode 100644 index 0000000..b28ac32 --- /dev/null +++ b/resources/examples/Flux_Commands/morph @@ -0,0 +1 @@ +https://metafacture.org/playground/?flux=inputFile%0A%7Copen-file%0A%7Cas-lines%0A%7Cdecode-formeta%0A%7Cmorph%28transformationFile%29%0A%7Cencode-xml%28rootTag%3D%22collection%22%29%0A%7Cprint%0A%3B&transformation=%3C%3Fxml+version%3D%221.0%22+encoding%3D%22UTF-8%22%3F%3E%0A%3Cmetamorph+xmlns%3D%22http%3A//www.culturegraph.org/metamorph%22+xmlns%3Axsi%3D%22http%3A//www.w3.org/2001/XMLSchema-instance%22%0A%09version%3D%221%22%3E%0A%09%3Crules%3E%0A%09%09%3Cdata+source%3D%22_id%22+name%3D%22id%22/%3E%0A%09%09%3Cdata+source%3D%22a%22+name%3D%22title%22/%3E%0A%09%09%3Ccombine+value%3D%22%24%7Bfirst%7D+%24%7Blast%7D+aus+%24%7Bplace%7D%22+name%3D%22author%22%3E%0A%09%09%09%3Cdata+source%3D%22b.v%22+name%3D%22first%22+/%3E%0A%09%09%09%3Cdata+source%3D%22b.n%22+name%3D%22last%22+/%3E%0A%09%09%09%3Cdata+source%3D%22c%22+name%3D%22place%22+/%3E%0A%09%09%3C/combine%3E%0A%09%3C/rules%3E%0A%3C/metamorph%3E&data=1%7Ba%3A+Faust%2C+b+%7Bn%3A+Goethe%2C+v%3A+JW%7D%2C+c%3A+Weimar%7D%0A2%7Ba%3A+R%C3%A4uber%2C+b+%7Bn%3A+Schiller%2C+v%3A+F%7D%2C+c%3A+Weimar%7D \ No newline at end of file diff --git a/resources/examples/Flux_Commands/open-file b/resources/examples/Flux_Commands/open-file new file mode 100644 index 0000000..a598e9e --- /dev/null +++ b/resources/examples/Flux_Commands/open-file @@ -0,0 +1 @@ +https://metafacture.org/playground/?flux=inputFile%0A%7C+open-file%0A%7C+as-lines%0A%7C+decode-pica%0A%7C+encode-json%28prettyPrinting%3D%22true%22%29%0A%7C+print%3B&data=001@+%1Fa5%1F01-2%1E001A+%1F01100%3A15-10-94%1E001B+%1F09999%3A12-06-06%1Ft16%3A10%3A17.000%1E001D+%1F09999%3A99-99-99%1E001U+%1F0utf8%1E001X+%1F00%1E002@+%1F0Aag%1E003@+%1F0482147350%1E006U+%1F094%2CP05%1E007E+%1F0U+70.16407%1E007I+%1FSo%1F074057548%1E011@+%1Fa1970%1E017A+%1Farh%1E021A+%1FaDie+@Berufsfreiheit+der+Arbeitnehmer+und+ihre+Ausgestaltung+in+vo%CC%88lkerrechtlichen+Vertra%CC%88gen%1FdEine+Grundrechtsbetrachtg%1E028A+%1F9106884905%1F7Tn3%1FAgnd%1F0106884905%1FaProjahn%1FdHorst+D.%1E033A+%1FpWu%CC%88rzburg%1E034D+%1FaXXXVIII%2C+165+S.%1E034I+%1Fa8%1E037C+%1FaWu%CC%88rzburg%2C+Jur.+F.%2C+Diss.+v.+7.+Aug.+1970%1E%0A001@+%1F01%1Fa5%1E001A+%1F01140%3A08-12-99%1E001B+%1F09999%3A05-01-08%1Ft22%3A57%3A29.000%1E001D+%1F09999%3A99-99-99%1E001U+%1F0utf8%1E001X+%1F00%1E002@+%1F0Aa%1E003@+%1F0958090564%1E004A+%1Ffkart.+%3A+DM+9.70%2C+EUR+4.94%2C+sfr+8.00%2C+S+68.00%1E006U+%1F000%2CB05%2C0285%1E007I+%1FSo%1F076088278%1E011@+%1Fa1999%1E017A+%1Farb%1Fasi%1E019@+%1FaXA-AT%1E021A+%1FaZukunft+Bildung%1FhPolitische+Akademie.+%5BHrsg.+von+Gu%CC%88nther+R.+Burkert-Dottolo+und+Bernhard+Moser%5D%1E028C+%1F9130681849%1F7Tp1%1FVpiz%1FAgnd%1F0130681849%1FE1952%1FaBurkert%1FdGu%CC%88nther+R.%1FBHrsg.%1E033A+%1FpWien%1FnPolit.+Akad.%1E034D+%1Fa79+S.%1E034I+%1Fa24+cm%1E036F+%1Fx299+12%1F9551720077%1FgAdn%1F7Tb1%1FAgnd%1F01040469-7%1FaPolitische+Akademie%1FgWien%1FYPA-Information%1FhPolitische+Akademie%2C+WB%1FpWien%1FJPolitische+Akad.%2C+WB%1Fl99%2C2%1E036F/01+%1Fx12%1F9025841467%1FgAdvz%1Fi2142105-5%1FYAktuelle+Fragen+der+Politik%1FhPolitische+Akademie%1FpWien%1FJPolitische+Akad.+der+O%CC%88VP%1FlBd.+2%1E045E+%1Fa22%1Fd18%1Fm370%1E047A+%1FSFE%1Fata%1E%0A001@+%1Fa5%1F01%1E001A+%1F01140%3A19-02-03%1E001B+%1F09999%3A19-06-11%1Ft01%3A20%3A13.000%1E001D+%1F09999%3A26-04-03%1E001U+%1F0utf8%1E001X+%1F00%1E002@+%1F0Aal%1E003@+%1F0361809549%1E004A+%1FfHlw.%1E006U+%1F000%2CL01%1E006U+%1F004%2CP01-s-41%1E006U+%1F004%2CP01-f-21%1E007G+%1FaDNB%1F0361809549%1E007I+%1FSo%1F072658383%1E007M+%1F04413/0275%1E011@+%1Fa1925%1E019@+%1FaXA-DXDE%1FaXA-DE%1E021A+%1FaHundert+Jahre+Buchdrucker-Innung+Hamburg%1FdWesen+u.+Werden+d.+Vereinigungen+Hamburger+Buchdruckereibesitzer+1825-1925+%3B+Gedenkschrift+zur+100.+Wiederkehr+d.+Gru%CC%88ndungstages%2C+verf.+im+Auftr.+d.+Vorstandes+d.+Buchdrucker-Innung+%28Freie+Innung%29+zu+Hamburg%1FhFriedrich+Voeltzer%1E028A+%1F9101386281%1F7Tp1%1FVpiz%1FAgnd%1F0101386281%1FE1895%1FaVo%CC%88ltzer%1FdFriedrich%1E033A+%1FpHamburg%1FnBuchdrucker-Innung+%28Freie+Innung%29%1E033A+%1FpHamburg%1Fn%5BVerlagsbuchh.+Broschek+%26+Co.%5D%1E034D+%1Fa44+S.%1E034I+%1Fa4%1E%0A001@+%1Fa5%1F01-3%1E001A+%1F01240%3A01-08-95%1E001B+%1F09999%3A24-09-10%1Ft17%3A42%3A20.000%1E001D+%1F09999%3A99-99-99%1E001U+%1F0utf8%1E001X+%1F00%1E002@+%1F0Af%1E003@+%1F0945184085%1E004A+%1F03-89007-044-2%1FfGewebe+%3A+DM+198.00%2C+sfr+198.00%2C+S+1386.00%1E006T+%1F095%2CN35%2C0856%1E006U+%1F095%2CA48%2C1186%1E006U+%1F010%2CP01%1E007I+%1FSo%1F061975997%1E011@+%1Fa1995%1E017A+%1Fara%1E021A+%1Fx213%1F9550711899%1FYNeues+Handbuch+der+Musikwissenschaft%1Fhhrsg.+von+Carl+Dahlhaus.+Fortgef.+von+Hermann+Danuser%1FpLaaber%1FJLaaber-Verl.%1FS48%1F03-89007-030-2%1FgAc%1E021B+%1FlBd.+13.%1FaRegister%1Fhzsgest.+von+Hans-Joachim+Hinrichsen%1E028C+%1F9121445453%1F7Tp3%1FVpiz%1FAgnd%1F0121445453%1FE1952%1FaHinrichsen%1FdHans-Joachim%1E034D+%1FaVIII%2C+408+S.%1E045V+%1F9090001001%1E047A+%1FSFE%1Fagb/fm%1E%0A001@+%1F01-2%1Fa5%1E001A+%1F01239%3A18-08-11%1E001B+%1F09999%3A05-09-11%1Ft23%3A31%3A44.000%1E001D+%1F01240%3A30-08-11%1E001U+%1F0utf8%1E001X+%1F00%1E002@+%1F0Af%1E003@+%1F01014417392%1E004A+%1Ffkart.%1E006U+%1F011%2CA37%1E007G+%1FaDNB%1F01014417392%1E007I+%1FSo%1F0752937239%1E010@+%1Fager%1E011@+%1Fa2011%1E017A+%1Fara%1Fasf%1E021A+%1Fxtr%1F91014809657%1F7Tp3%1FVpiz%1FAgnd%1F01034622773%1FE1958%1FaLu%CC%88beck%1FdMonika%1FYPersonalwirtschaft+mit+DATEV%1FhMonika+Lu%CC%88beck+%3B+Helmut+Lu%CC%88beck%1FpBodenheim%1FpWien%1FJHerdt%1FRXA-DE%1FS650%1FgAc%1E021B+%1FlTrainerbd.%1E032@+%1Fg11%1Fa1.+Ausg.%1E034D+%1Fa129+S.%1E034M+%1FaIll.%1E047A+%1FSFE%1Famar%1E047A+%1FSERW%1Fasal%1E047I+%1Fu%24%1Fc04%1FdDNB%1Fe1%1E \ No newline at end of file diff --git a/resources/examples/Flux_Commands/open-http b/resources/examples/Flux_Commands/open-http new file mode 100644 index 0000000..f9f9a35 --- /dev/null +++ b/resources/examples/Flux_Commands/open-http @@ -0,0 +1 @@ +https://metafacture.org/playground/?flux=%22https%3A//d-nb.info/1106253078/about/marcxml%22%0A%7C+open-http%28accept%3D%22application/xml%22%29%0A%7C+decode-xml%0A%7C+handle-marcxml%0A%7C+encode-json%28prettyPrinting%3D%22true%22%29%0A%7C+print%0A%3B \ No newline at end of file diff --git a/resources/examples/Flux_Commands/print b/resources/examples/Flux_Commands/print new file mode 100644 index 0000000..f3ddebb --- /dev/null +++ b/resources/examples/Flux_Commands/print @@ -0,0 +1 @@ +https://metafacture.org/playground/?flux=%22Hello+World%22%0A%7C+print%3B \ No newline at end of file diff --git a/resources/examples/Flux_Commands/read-beacon b/resources/examples/Flux_Commands/read-beacon new file mode 100644 index 0000000..07a9390 --- /dev/null +++ b/resources/examples/Flux_Commands/read-beacon @@ -0,0 +1 @@ +https://metafacture.org/playground/?flux=inputFile%0A%7C+open-file%0A%7C+read-beacon%28metadatafilter%3D%22name%7Cisil%22%29%0A%7C+encode-formeta%28style%3D%22multiline%22%29%0A%7C+print%0A%3B%0A&data=%23FORMAT%3A+BEACON%0A%23VERSION%3A+0.1%0A%23NAME%3A+Austria-Forum%0A%23PREFIX%3A+http%3A//d-nb.info/gnd/%0A%23TARGET%3A+%0A%23FEED%3A+http%3A//www.andreas-praefcke.de/temp/BEACON-PND-AustriaForum.txt%0A%23CONTACT%3A+Andreas+Praefcke+%3Cmail@andreas-praefcke.de%3E+http%3A//de.wikipedia.org/wiki/Benutzer%3AAndreasPraefcke/PND+%28Hinweis%3A+der+Ersteller+der+BEACON-Datei+steht+in+keiner+Verbindung+zum+Projekt+Austria-Forum%29%0A%23MESSAGE%3A+Biographie+im+Austria-Forum%0A%23DESCRIPTION%3A+Biographie+im+Austria-Forum%0A%23INSTITUTION%3A+TU+Graz%0A%23TIMESTAMP%3A+2012-04-20T10%3A00%0A%23REVISIT%3A+monthly%0A%23EXAMPLES%3A+118535315%7C118762141%0A%23REMARK%3A+Stand+der+aufgenommenen+Personen%3A+Oktober+2010%0A100166393%7CHermann%2C+Franz+Benedikt%7Chttp%3A//www.austria-lexikon.at/af/Wissenssammlungen/Biographien/Hermann%252C_Franz_Benedikt%0A101079702%7CZessner-Spitzenberg%2C+Hans+Karl+von%7Chttp%3A//www.austria-lexikon.at/af/Wissenssammlungen/Biographien/Zessner-Spitzenberg%252C%2520Hans%2520Karl%2520von%0A101348274%7CGabriel%2C+Alfons%7Chttp%3A//www.austria-lexikon.at/af/Wissenssammlungen/Biographien/Gabriel%252C_Alfons%0A102249725%7CStigler%2C+Robert%7Chttp%3A//www.austria-lexikon.at/af/Wissenssammlungen/Biographien/Stigler%252C_Robert%0A102427593%7CArlt%2C+Ferdinand+von%7Chttp%3A//www.austria-lexikon.at/af/Wissenssammlungen/Biographien/Arlt%252C_Ferdinand_von%0A102461759%7CDivi%EF%BF%BD%2C+Prokop%7Chttp%3A//www.austria-lexikon.at/af/Wissenssammlungen/Biographien/Divi%25C5%25A1%252C_Prokop%0A102506736%7CLeopold+von+%EF%BF%BDsterreich%7Chttp%3A//www.austria-lexikon.at/af/Wissenssammlungen/Biographien/Leopold%2520von%2520%25C3%2596sterreich%0A102661960%7CMauthner%2C+Ludwig%7Chttp%3A//www.austria-lexikon.at/af/Wissenssammlungen/Biographien/Mauthner%252C%2520Ludwig%0A104048220%7CWickenburg%2C+Eduard+Graf%7Chttp%3A//www.austria-lexikon.at/af/Wissenssammlungen/Biographien/Wickenburg%252C_Eduard_Graf%0A104208899%7CPohl%2C+Johann+Emanuel%7Chttp%3A//www.austria-lexikon.at/af/Wissenssammlungen/Biographien/Pohl%252C_Johann_Emanuel%0A104241160%7CR%EF%BF%BDllig%2C+Karl+Leopold%7Chttp%3A//www.austria-lexikon.at/af/Wissenssammlungen/Erfinder/R%25C3%25B6llig%252C%2520Karl%2520Leopold%0A104379006%7CRad%2C+Jacob+Christoph%7Chttp%3A//www.austria-lexikon.at/af/Wissenssammlungen/Erfinder/Rad%252C%2520Jacob%2520Christoph%0A104594896%7CDor%2C+Milo%7Chttp%3A//www.austria-lexikon.at/af/Wissenssammlungen/Biographien/Dor%252C_Milo%0A104604484%7CAntoine%2C+Tassilo%7Chttp%3A//www.austria-lexikon.at/af/Wissenssammlungen/Biographien/Antoine%252C%2520Tassilo%0A104632798%7CSafar%2C+Peter%7Chttp%3A//www.austria-lexikon.at/af/Wissenssammlungen/Biographien/Safar%252C_Peter%0A105334774%7COlshausen-Sch%EF%BF%BDnberger%2C+K%EF%BF%BDthe%7Chttp%3A//www.austria-lexikon.at/af/Wissenssammlungen/Biographien/Olshausen-Sch%25C3%25B6nberger%252C_K%25C3%25A4the%0A105714828%7CGiesl-Gieslingen%2C+Adolph%7Chttp%3A//www.austria-lexikon.at/af/Wissenssammlungen/Erfinder/Giesl-Gieslingen%252C%2520Adolph%0A105759597%7CHabeck%2C+Fritz%7Chttp%3A//www.austria-lexikon.at/af/Wissenssammlungen/Biographien/Habeck%252C_Fritz%0A106017705%7CSchwarzkopf%2C+Paul%7Chttp%3A//www.austria-lexikon.at/af/Wissenssammlungen/Erfinder/Schwarzkopf%252C%2520Paul%0A106442589%7CLukesch%2C+Anton%7Chttp%3A//www.austria-lexikon.at/af/Wissenssammlungen/Biographien/Lukesch%252C_Anton%0A106904558%7COttawa%2C+Theodor%7Chttp%3A//www.austria-lexikon.at/af/Wissenssammlungen/Biographien/Ottawa%252C%2520Theodor%0A107436280%7C%EF%BF%BDbelh%EF%BF%BDr%2C+Richard%7Chttp%3A//www.austria-lexikon.at/af/Wissenssammlungen/Biographien/%25C3%259Cbelh%25C3%25B6r%252C%2520Richard%0A107547724%7CLamarr%2C+Hedy%7Chttp%3A//www.austria-lexikon.at/af/Wissenssammlungen/Biographien/Lamarr%252C_Hedy%0A107616521%7CMissong%2C+Alfred+sen.%7Chttp%3A//www.austria-lexikon.at/af/Wissenssammlungen/Biographien/Missong%252C%2520Alfred%2520sen.%0A107654105%7COrthofer%2C+Peter%7Chttp%3A//www.austria-lexikon.at/af/Wissenssammlungen/Biographien/Orthofer%252C_Peter%0A107808056%7CWinter%2C+Ernst+Florian+%7Chttp%3A//www.austria-lexikon.at/af/Wissenssammlungen/Biographien/Ernst_Florian_Winter%0A108981924%7CKopetz%2C+Hermann%7Chttp%3A//www.austria-lexikon.at/af/Wissenssammlungen/Biographien/Kopetz%252C_Hermann%0A109429729%7CJontes%2C+G%EF%BF%BDnther%7Chttp%3A//www.austria-lexikon.at/af/Wissenssammlungen/Biographien/Jontes%252C_G%25C3%25BCnther%0A109480945%7CSteinhauer%2C+Erwin%7Chttp%3A//www.austria-lexikon.at/af/Wissenssammlungen/Biographien/Steinhauer%252C_Erwin%0A109898605%7CWegscheider%2C+Wolfhard%7Chttp%3A//www.austria-lexikon.at/af/Wissenssammlungen/Biographien/Wegscheider%252C_Wolfhard%0A110087925%7CPuntscher-Riekmann%2C+Sonja%7Chttp%3A//www.austria-lexikon.at/af/Wissenssammlungen/Biographien/Puntscher-Riekmann%252C_Sonja%0A110213416%7CS%EF%BF%BDnkel%2C+Hans%7Chttp%3A//www.austria-lexikon.at/af/Wissenssammlungen/Biographien/S%25C3%25BCnkel%252C_Hans%0A110676629%7CSchmied%2C+Claudia%7Chttp%3A//www.austria-lexikon.at/af/Wissenssammlungen/Biographien/Schmied%252C_Claudia%0A110677498%7CAsp%EF%BF%BDck%2C+Ruth%7Chttp%3A//www.austria-lexikon.at/af/Wissenssammlungen/Biographien/Asp%25C3%25B6ck%252C_Ruth%0A \ No newline at end of file diff --git a/resources/examples/Flux_Commands/regex-decoder b/resources/examples/Flux_Commands/regex-decoder new file mode 100644 index 0000000..8d391a4 --- /dev/null +++ b/resources/examples/Flux_Commands/regex-decoder @@ -0,0 +1 @@ +https://metafacture.org/playground/?flux=inputFile%0A%7C+open-file%0A%7C+as-lines%0A//+only+catches+the+matching+records%0A%7C+regex-decode%28%22%28%3F%3Cid%3E\\w%2A%29\\s.%2Agestorben%3D%28%3F%3Cdeath%3E\\d%2A%29\\s.%2Ageboren%3D%28%3F%3Cbirth%3E\\d%2A%29%22%29%0A%7C+encode-formeta%0A%7C+print%0A%3B&data=100001823%09geboren%3D1765%09gestorben%3D1836%0A100004636%09gestorben%3D1825%0A100010423%09gestorben%3D1539%09geboren%3D1500%0A100018823%09gestorben%3D1854%09geboren%3D1798%0A100019935%09geboren%3D1675%09gestorben%3D1719%0A100043585%09gestorben%3D1838%09geboren%3D1756%0A100049621%09gestorben%3D1772%09geboren%3D1695%0A100053122%09gestorben%3D1810%09geboren%3D1762%0A100054188%09gestorben%3D1495%0A100059740%09geboren%3D1761%09gestorben%3D1833%0A100064663%09gestorben%3D1793%09geboren%3D1734%0A100067581%09gestorben%3D1595%09geboren%3D1546%0A100079776%09gestorben%3D1796%09geboren%3D1722%0A100094007%09gestorben%3D1834%09geboren%3D1759%0A100101364%09geboren%3D1694%0A100107613%09gestorben%3D1327%0A100125743%09gestorben%3D1813%09geboren%3D1744%0A100128157%09gestorben%3D1806%09geboren%3D1743%0A100149480%09gestorben%3D1514%0A100153119%09gestorben%3D1654%09geboren%3D1615%0A100157556%09gestorben%3D1859%09geboren%3D1799%0A100175368%09geboren%3D1576%09gestorben%3D1624%0A100177794%09gestorben%3D1778%09geboren%3D1715%0A100187323%09gestorben%3D1754%09geboren%3D1714%0A100189741%09gestorben%3D366%0A100229476%09geboren%3D1768%09gestorben%3D1824%0A100231535%09gestorben%3D1608%0A100232205%09gestorben%3D1852%09geboren%3D1794%0A100252869%09gestorben%3D1834%09geboren%3D1741%0A100253016%09geboren%3D1620%0A100277209%09gestorben%3D1744%09geboren%3D1684%0A100281141%09gestorben%3D1762%0A100295355%09geboren%3D1449%09gestorben%3D1519%0A100309739%09gestorben%3D1674%09geboren%3D1612%0A100310966%09gestorben%3D1820%0A100316514%09gestorben%3D1839%09geboren%3D1757%0A \ No newline at end of file