Changeset 34838


Ignore:
Timestamp:
2021-02-13T22:55:05+13:00 (3 years ago)
Author:
davidb
Message:

Changed to work with errata sub-dir scripts

Location:
main/trunk/model-sites-dev/eurovision-lod/collect/eurovision/prepare
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/model-sites-dev/eurovision-lod/collect/eurovision/prepare/01-DOWNLOAD-ESC-LOD-DATA.sh

    r34750 r34838  
    11#!/bin/bash
    22
    3 echo "Downloading SPARQL query: countries-in-esc-by-year.sparql"
     3#echo "Downloading SPARQL query: countries-in-esc-by-year.sparql"
    44
    5 ./DBPEDIA-LOD-SPARQL-QUERY.sh countries-in-esc-by-year.sparql
     5echo "local--countries-in-esc-by-year-after-1956--with-errata.sparql"
     6
     7##./DBPEDIA-LOD-SPARQL-QUERY.sh countries-in-esc-by-year.sparql
     8
     9cd errata \
     10    && date > runtime-log-$$.txt && ./LOCAL-LOD-QUERY.sh ./local--countries-in-esc-by-year-after-1956--with-errata.sparql  && date >> runtime-log-$$.txt
     11
  • main/trunk/model-sites-dev/eurovision-lod/collect/eurovision/prepare/02-COPY-TO-IMPORT.sh

    r34697 r34838  
    33
    44echo "Copying:"
    5 echo "  countries-in-esc-by-year.json -> ../import/countries-in-esc-by-year.json"
    65
    7 /bin/cp countries-in-esc-by-year.json ../import/.
     6#/bin/cp countries-in-esc-by-year.json ../import/.
     7
     8
     9for f in "local--countries-in-esc-by-year-after-1956--with-errata.json" ; do
     10   
     11    echo "  errata/$f -> ../import/sparqlresults-$f"
     12   
     13    /bin/cp "errata/$f" "../import/sparqlresults-$f"
     14done
     15   
     16
     17
     18
Note: See TracChangeset for help on using the changeset viewer.