Changeset 35851 for main/trunk
- Timestamp:
- 2022-01-02T17:42:35+13:00 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/model-sites-dev/eurovision-lod/collect/eurovision/prepare/01-DOWNLOAD-ESC-LOD-DATA--SMALL.sh
r35842 r35851 1 1 #!/bin/bash 2 2 3 ./01-DOWNLOAD-ESC-LOD-DATA.sh local--countries-in-esc-by-year-just-2015--with-errata.sparql 3 if [ $# = 0 ] ; then 4 YEAR=2015 5 sparql_file="local--countries-in-esc-by-year-just-2015--with-errata.sparql" 6 else 4 7 8 YEAR=$1 9 sparql_file="local--countries-in-esc-by-year-just-$YEAR--with-errata.sparql" 10 11 cat errata-lod/local--countries-in-esc-by-year-just-YYYY--with-errata.sparql.in \ 12 | sed "s/YYYY/$YEAR/g" > "errata-lod/$sparql_file" 13 fi 14 15 echo "" 16 echo "Small collection SPARQL download restricting entries to the year:" 17 echo " $YEAR" 18 echo "" 19 20 ./01-DOWNLOAD-ESC-LOD-DATA.sh $sparql_file
Note:
See TracChangeset
for help on using the changeset viewer.