diff --git a/test/data/software/Datacite-software-reference.xml b/test/data/software/Datacite-software-reference.xml index 1f213a71..8ed905a9 100644 --- a/test/data/software/Datacite-software-reference.xml +++ b/test/data/software/Datacite-software-reference.xml @@ -23,7 +23,23 @@ 2003 - orms + 35 + 65 + 68 + 74 + 76 + 05 + 15 + 60 + 78 + 80 + 81 + 82 + 85 + 86 + 90 + 92 + orms English :none @@ -54,8 +70,8 @@ https://api.zbmath.org/v1/document/5167018 https://api.zbmath.org/v1/document/5128211 https://api.zbmath.org/v1/document/5251239 - https://api.zbmath.org/v1/document/6766231 https://api.zbmath.org/v1/document/5706020 + https://api.zbmath.org/v1/document/6766231 https://api.zbmath.org/v1/document/5244390 https://api.zbmath.org/v1/document/5762200 https://api.zbmath.org/v1/document/7099306 @@ -63,8 +79,8 @@ https://api.zbmath.org/v1/document/6669500 https://api.zbmath.org/v1/document/5187739 https://api.zbmath.org/v1/document/5670978 - https://api.zbmath.org/v1/document/5969946 https://api.zbmath.org/v1/document/7687320 + https://api.zbmath.org/v1/document/5969946 https://api.zbmath.org/v1/document/7914911 https://api.zbmath.org/v1/document/6220134 https://api.zbmath.org/v1/document/7099336 @@ -79,10 +95,10 @@ https://api.zbmath.org/v1/document/5784806 https://api.zbmath.org/v1/document/5510606 https://api.zbmath.org/v1/document/5982908 - https://api.zbmath.org/v1/document/7138575 - https://api.zbmath.org/v1/document/6669495 https://api.zbmath.org/v1/document/6449261 https://api.zbmath.org/v1/document/7055073 + https://api.zbmath.org/v1/document/6669495 + https://api.zbmath.org/v1/document/7138575 https://api.zbmath.org/v1/document/6910452 https://api.zbmath.org/v1/document/6265830 https://api.zbmath.org/v1/document/6908831 @@ -92,11 +108,11 @@ https://api.zbmath.org/v1/document/6443071 https://api.zbmath.org/v1/document/6128531 https://api.zbmath.org/v1/document/7271902 - https://api.zbmath.org/v1/document/5221096 https://api.zbmath.org/v1/document/7308040 + https://api.zbmath.org/v1/document/5221096 https://api.zbmath.org/v1/document/6054722 - https://api.zbmath.org/v1/document/7301661 https://api.zbmath.org/v1/document/7506624 + https://api.zbmath.org/v1/document/7301661 https://api.zbmath.org/v1/document/5827163 https://api.zbmath.org/v1/document/5244394 https://api.zbmath.org/v1/document/6897553 @@ -106,16 +122,16 @@ https://api.zbmath.org/v1/document/7644848 https://api.zbmath.org/v1/document/5862151 https://api.zbmath.org/v1/document/6911772 - https://api.zbmath.org/v1/document/5947775 https://api.zbmath.org/v1/document/5762238 + https://api.zbmath.org/v1/document/5947775 https://api.zbmath.org/v1/document/5187737 https://api.zbmath.org/v1/document/7908567 https://api.zbmath.org/v1/document/7631087 https://api.zbmath.org/v1/document/5801879 https://api.zbmath.org/v1/document/5798197 - https://api.zbmath.org/v1/document/7981588 https://api.zbmath.org/v1/document/5693879 https://api.zbmath.org/v1/document/7315215 + https://api.zbmath.org/v1/document/7981588 https://api.zbmath.org/v1/document/7539438 https://api.zbmath.org/v1/document/7495530 https://api.zbmath.org/v1/document/7516896 @@ -170,16 +186,16 @@ 10.1017/S0962492904000200 10.1016/j.compfluid.2005.07.005 10.1137/070707002 - 10.1137/16M1079221 10.1007/s10287-008-0080-5 + 10.1137/16M1079221 10.1137/050637315 10.1016/j.jcp.2010.03.028 10.1137/18M1181353 10.1017/S0962492919000035 10.1002/nme.4729 10.1007/s00200-007-0037-x - 10.1017/S0022112010005380 10.1007/978-3-031-25820-6 + 10.1017/S0022112010005380 10.1007/s10444-024-10176-x 2211.07572 10.1007/s00158-007-0105-7 @@ -200,11 +216,11 @@ 10.1016/j.jcp.2010.04.049 10.1002/gamm.201490037 10.1016/j.cma.2009.07.012 - 10.1007/s13160-019-00381-3 - 10.1002/nme.4711 10.1137/140980375 1501.06852 10.1016/j.cma.2015.07.009 + 10.1002/nme.4711 + 10.1007/s13160-019-00381-3 10.1016/j.cam.2017.11.035 1712.08872 10.1016/j.jnnfm.2011.06.006 @@ -218,12 +234,12 @@ 10.1007/s00466-011-0661-y 10.1137/18M1189348 1801.09809 - 10.1201/9781584888093 10.1016/j.camwa.2021.01.003 + 10.1201/9781584888093 10.1016/j.compfluid.2008.10.002 - 10.1016/j.jcp.2019.04.023 10.1016/j.jcp.2020.109706 1909.01467 + 10.1016/j.jcp.2019.04.023 10.1007/978-3-642-13872-0_15 10.1137/050622547 10.1016/j.compfluid.2018.02.028 @@ -234,18 +250,18 @@ 2012.07648 10.1007/978-3-642-19328-6_38 10.1007/s10596-012-9330-2 - 10.1260/174830108786231704 10.1016/j.jcp.2010.04.022 + 10.1260/174830108786231704 10.1007/s00200-007-0035-z 10.1145/3582492 2107.10561 10.1007/978-3-319-17353-5_12 10.1137/080714877 10.1016/j.cam.2010.07.002 - 10.1002/nme.7597 10.1080/10618560802238267 10.1007/978-3-030-47174-3_2 1905.00606 + 10.1002/nme.7597 10.1007/s10444-022-09931-9 2102.05367 10.1137/21M1411603 diff --git a/test/data/software/OpenAire-software-reference.xml b/test/data/software/OpenAire-software-reference.xml index 061a042d..36d48ad6 100644 --- a/test/data/software/OpenAire-software-reference.xml +++ b/test/data/software/OpenAire-software-reference.xml @@ -23,6 +23,22 @@ SuperLU-DIST + 35 + 65 + 68 + 74 + 76 + 05 + 15 + 60 + 78 + 80 + 81 + 82 + 85 + 86 + 90 + 92 orms @@ -48,8 +64,8 @@ https://api.zbmath.org/v1/document/5167018 https://api.zbmath.org/v1/document/5128211 https://api.zbmath.org/v1/document/5251239 - https://api.zbmath.org/v1/document/6766231 https://api.zbmath.org/v1/document/5706020 + https://api.zbmath.org/v1/document/6766231 https://api.zbmath.org/v1/document/5244390 https://api.zbmath.org/v1/document/5762200 https://api.zbmath.org/v1/document/7099306 @@ -57,8 +73,8 @@ https://api.zbmath.org/v1/document/6669500 https://api.zbmath.org/v1/document/5187739 https://api.zbmath.org/v1/document/5670978 - https://api.zbmath.org/v1/document/5969946 https://api.zbmath.org/v1/document/7687320 + https://api.zbmath.org/v1/document/5969946 https://api.zbmath.org/v1/document/7914911 https://api.zbmath.org/v1/document/6220134 https://api.zbmath.org/v1/document/7099336 @@ -73,10 +89,10 @@ https://api.zbmath.org/v1/document/5784806 https://api.zbmath.org/v1/document/5510606 https://api.zbmath.org/v1/document/5982908 - https://api.zbmath.org/v1/document/7138575 - https://api.zbmath.org/v1/document/6669495 https://api.zbmath.org/v1/document/6449261 https://api.zbmath.org/v1/document/7055073 + https://api.zbmath.org/v1/document/6669495 + https://api.zbmath.org/v1/document/7138575 https://api.zbmath.org/v1/document/6910452 https://api.zbmath.org/v1/document/6265830 https://api.zbmath.org/v1/document/6908831 @@ -86,11 +102,11 @@ https://api.zbmath.org/v1/document/6443071 https://api.zbmath.org/v1/document/6128531 https://api.zbmath.org/v1/document/7271902 - https://api.zbmath.org/v1/document/5221096 https://api.zbmath.org/v1/document/7308040 + https://api.zbmath.org/v1/document/5221096 https://api.zbmath.org/v1/document/6054722 - https://api.zbmath.org/v1/document/7301661 https://api.zbmath.org/v1/document/7506624 + https://api.zbmath.org/v1/document/7301661 https://api.zbmath.org/v1/document/5827163 https://api.zbmath.org/v1/document/5244394 https://api.zbmath.org/v1/document/6897553 @@ -100,16 +116,16 @@ https://api.zbmath.org/v1/document/7644848 https://api.zbmath.org/v1/document/5862151 https://api.zbmath.org/v1/document/6911772 - https://api.zbmath.org/v1/document/5947775 https://api.zbmath.org/v1/document/5762238 + https://api.zbmath.org/v1/document/5947775 https://api.zbmath.org/v1/document/5187737 https://api.zbmath.org/v1/document/7908567 https://api.zbmath.org/v1/document/7631087 https://api.zbmath.org/v1/document/5801879 https://api.zbmath.org/v1/document/5798197 - https://api.zbmath.org/v1/document/7981588 https://api.zbmath.org/v1/document/5693879 https://api.zbmath.org/v1/document/7315215 + https://api.zbmath.org/v1/document/7981588 https://api.zbmath.org/v1/document/7539438 https://api.zbmath.org/v1/document/7495530 https://api.zbmath.org/v1/document/7516896 diff --git a/test/data/software/plain_with_references.xml b/test/data/software/plain_with_references.xml index 92d2f135..6f0e7961 100644 --- a/test/data/software/plain_with_references.xml +++ b/test/data/software/plain_with_references.xml @@ -1,8 +1,23 @@ - 118 + 119 Li, X. S. Demmel, J. W. - + 35 + 65 + 68 + 74 + 76 + 05 + 15 + 60 + 78 + 80 + 81 + 82 + 85 + 86 + 90 + 92 zbMATH Open Web Interface contents unavailable due to conflicting licenses. http://crd-legacy.lbl.gov/~xiaoye/SuperLU/ @@ -34,8 +49,8 @@ 5167018 5128211 5251239 - 6766231 5706020 + 6766231 5244390 5762200 7099306 @@ -43,8 +58,8 @@ 6669500 5187739 5670978 - 5969946 7687320 + 5969946 7914911 6220134 7099336 @@ -59,10 +74,10 @@ 5784806 5510606 5982908 - 7138575 - 6669495 6449261 7055073 + 6669495 + 7138575 6910452 6265830 6908831 @@ -72,11 +87,11 @@ 6443071 6128531 7271902 - 5221096 7308040 + 5221096 6054722 - 7301661 7506624 + 7301661 5827163 5244394 6897553 @@ -86,16 +101,16 @@ 7644848 5862151 6911772 - 5947775 5762238 + 5947775 5187737 7908567 7631087 5801879 5798197 - 7981588 5693879 7315215 + 7981588 7539438 7495530 7516896 @@ -150,8 +165,8 @@ 5167018;10.1017/S0962492904000200 5128211;10.1016/j.compfluid.2005.07.005 5251239;10.1137/070707002 - 6766231;10.1137/16M1079221 5706020;10.1007/s10287-008-0080-5 + 6766231;10.1137/16M1079221 5244390;10.1137/050637315 5762200;10.1016/j.jcp.2010.03.028 7099306;10.1137/18M1181353 @@ -159,8 +174,8 @@ 6669500;10.1002/nme.4729 5187739;10.1007/s00200-007-0037-x 5670978 - 5969946;10.1017/S0022112010005380 7687320;10.1007/978-3-031-25820-6 + 5969946;10.1017/S0022112010005380 7914911;10.1007/s10444-024-10176-x;2211.07572 6220134;10.1007/s00158-007-0105-7 7099336;10.1137/17M1153674;1710.08779 @@ -175,10 +190,10 @@ 5784806;10.1016/j.jcp.2010.04.049 5510606;10.1002/gamm.201490037 5982908;10.1016/j.cma.2009.07.012 - 7138575;10.1007/s13160-019-00381-3 - 6669495;10.1002/nme.4711 6449261;10.1137/140980375;1501.06852 7055073;10.1016/j.cma.2015.07.009 + 6669495;10.1002/nme.4711 + 7138575;10.1007/s13160-019-00381-3 6910452;10.1016/j.cam.2017.11.035;1712.08872 6265830;10.1016/j.jnnfm.2011.06.006 6908831;10.1145/2786977;1404.0447 @@ -188,11 +203,11 @@ 6443071;10.1007/978-3-319-17073-2 6128531;10.1007/s00466-011-0661-y 7271902;10.1137/18M1189348;1801.09809 - 5221096;10.1201/9781584888093 7308040;10.1016/j.camwa.2021.01.003 + 5221096;10.1201/9781584888093 6054722;10.1016/j.compfluid.2008.10.002 - 7301661;10.1016/j.jcp.2019.04.023 7506624;10.1016/j.jcp.2020.109706;1909.01467 + 7301661;10.1016/j.jcp.2019.04.023 5827163;10.1007/978-3-642-13872-0_15 5244394;10.1137/050622547 6897553;10.1016/j.compfluid.2018.02.028 @@ -202,16 +217,16 @@ 7644848;10.1016/j.cma.2022.115775;2012.07648 5862151;10.1007/978-3-642-19328-6_38 6911772;10.1007/s10596-012-9330-2 - 5947775;10.1260/174830108786231704 5762238;10.1016/j.jcp.2010.04.022 + 5947775;10.1260/174830108786231704 5187737;10.1007/s00200-007-0035-z 7908567;10.1145/3582492;2107.10561 7631087;10.1007/978-3-319-17353-5_12 5801879;10.1137/080714877 5798197;10.1016/j.cam.2010.07.002 - 7981588;10.1002/nme.7597 5693879;10.1080/10618560802238267 7315215;10.1007/978-3-030-47174-3_2;1905.00606 + 7981588;10.1002/nme.7597 7539438;10.1007/s10444-022-09931-9;2102.05367 7495530;10.1137/21M1411603 7516896;10.1080/10618562.2016.1205737 @@ -266,8 +281,8 @@ 2007 2007 2008 - 2017 2010 + 2017 2008 2010 2019 @@ -275,8 +290,8 @@ 2016 2007 2010 - 2011 2023 + 2011 2024 2013 2019 @@ -291,9 +306,9 @@ 2010 2009 2011 + 2015 2019 2016 - 2015 2019 2018 2014 @@ -304,11 +319,11 @@ 2015 2013 2020 - 2007 2021 + 2007 2012 - 2021 2022 + 2021 2010 2008 2018 @@ -318,16 +333,16 @@ 2023 2011 2018 - 2011 2010 + 2011 2007 2024 2022 2010 2010 - 2025 2010 2021 + 2025 2022 2022 2022 @@ -377,14 +392,14 @@ 930 SuperLU - - 503 - LAPACK - 679 PARDISO + + 503 + LAPACK + 426 hypre @@ -405,6 +420,10 @@ 830 ScaLAPACK + + 23170 + GitHub + 4827 mctoolbox @@ -414,8 +433,8 @@ WSMP - 23170 - GitHub + 20382 + CSparse 4218 @@ -437,10 +456,6 @@ 3216 BLAS - - 3516 - deal.ii - 2005 diff --git a/test/test_extract_tags.py b/test/test_extract_tags.py index dd7ee9e5..85cac908 100644 --- a/test/test_extract_tags.py +++ b/test/test_extract_tags.py @@ -21,28 +21,7 @@ def test_software(): 'https://api.zbmath.org/v1/software/12', headers=headers) real_tags = extract_tags(r.json()['result']) - assert real_tags == ['(optics),', - '2010:', - '60J70', - '65C50', - '78A05', - '78A45', - '82D25', - 'Appl.', - 'Crystals', - 'Diffraction,', - 'Geometric', - 'MSC', - 'Other', - 'computational', - 'diffusion', - 'in', - 'of', - 'optics,', - 'probability,', - 'problems', - 'scattering', - 'theory,'] + assert real_tags == ['60', '65', '78', '82'] diff --git a/xslt/software/xslt-software-Codemeta.xslt b/xslt/software/xslt-software-Codemeta.xslt index a1e121dc..3bd7a3b3 100644 --- a/xslt/software/xslt-software-Codemeta.xslt +++ b/xslt/software/xslt-software-Codemeta.xslt @@ -51,12 +51,21 @@ - - - https://swmath.org/software/ - - - + + + https://swmath.org/software/ + + + + + + + + + + + + @@ -217,13 +226,22 @@ - - + + - https://api.zbmath.org/v1/software/ - + https://api.zbmath.org/v1/software/ + + + + + + + + - - + + + +