Changeset 34948


Ignore:
Timestamp:
2021-03-01T22:58:00+13:00 (3 years ago)
Author:
davidb
Message:

Running a DBpedia SPARQL query to retrieve european countries added in

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/model-sites-dev/eurovision-lod/collect/eurovision/prepare/03-GEN-VOTING-METADATA.sh

    r34917 r34948  
    1919    mkdir "$prep_dir/metadata-votes"
    2020fi
     21
     22if [ ! -f voting-excel/dbpedia--european-countries.csv ] ; then
     23    ./DBPEDIA-LOD-SPARQL-QUERY.sh voting-excel/dbpedia--european-countries.sparql csv
     24    if [ $? != 0 ] ; then
     25    echo "Error: Failed to run DBpedia SPARQL query:" 1>&2
     26    echo "  voting-excel/dbpedia--european-countries.sparql" 1>&2
     27    exit 1
     28    fi
     29else
     30    echo "Detected:"
     31    echo "  voting-excel/dbpedia--european-countries.csv"
     32    echo "=> Skipping DBpedia SPARQL query to retrieve European countries in CSV format"   
     33fi
     34
    2135exit_status=0
    22 
    2336
    2437source  $prep_dir/my-python-env/bin/activate
Note: See TracChangeset for help on using the changeset viewer.