Changeset 34988


Ignore:
Timestamp:
2021-04-04T12:05:07+12:00 (3 years ago)
Author:
davidb
Message:

Making space for new preparation script to generate metadata for missing category entries

File:
1 moved

Legend:

Unmodified
Added
Removed
  • main/trunk/model-sites-dev/eurovision-lod/collect/eurovision/prepare/06-GEN-PROBLEM-LOD-LISTS.sh

    r34987 r34988  
    1414./DBPEDIA-LOD-SPARQL-QUERY.sh problem-lod-lists/dbpedia-problem-entrants.sparql html
    1515
     16echo "Generating Category in Year problem list: problem-category-in-year.html"
     17
     18if [ ! -f problem-lod-lists/problem-category-in-year.sparql ] ; then
     19    echo "  Failed to detect SPARQL query: problem-lod-lists/problem-category-in-year.sparql"
     20    echo "  Running 'errata-categories/esc-wikipedia-download-and-detect-missing-cat-entries.py' to generate it"
     21    echo "  ... with output of running the command saved to: errata-categories/output--missing-cat-entries.txt"   
     22    cd errata-categories && ./esc-wikipedia-download-and-detect-missing-cat-entries.py > output--missing-cat-entries.txt && cd ..
     23    if [ $? != 0 ] ; then
     24    echo "Error encountered running ./esc-wikipedia-download-and-detect-missing-cat-entries.py" >&2
     25    exit 1
     26    fi
     27fi
     28
     29
     30./DBPEDIA-LOD-SPARQL-QUERY.sh problem-lod-lists/dbpedia-problem-category-in-year.sparql html
     31
    1632
    1733#echo "Generating *combined* Song and Entrant problem list: problem-songs-and-entrants.html"
Note: See TracChangeset for help on using the changeset viewer.