source: main/trunk/model-sites-dev/eurovision-lod/collect/eurovision/prepare/07-GEN-PROBLEM-LOD-LISTS.sh@ 35002

Last change on this file since 35002 was 35002, checked in by davidb, 3 years ago

Some of the work that used to be done here is not down in the '05' script

  • Property svn:executable set to *
File size: 1.2 KB
Line 
1#!/bin/bash
2
3echo ""
4
5echo "Generating Song (titles) problem list: problem-songs.html"
6./DBPEDIA-LOD-SPARQL-QUERY.sh problem-lod-lists/dbpedia-problem-songs.sparql html
7
8echo "Generating Entrant (artists) problem list: problem-entrants.html"
9./DBPEDIA-LOD-SPARQL-QUERY.sh problem-lod-lists/dbpedia-problem-entrants.sparql html
10
11echo "Generating Category in Year problem list: problem-category-in-year.html"
12
13#if [ ! -f problem-lod-lists/problem-category-in-year.sparql ] ; then
14# echo " Failed to detect SPARQL query: problem-lod-lists/problem-category-in-year.sparql"
15# echo " Running 'errata-categories/esc-wikipedia-download-and-detect-missing-cat-entries.py' to generate it"
16# echo " ... with output of running the command saved to: errata-categories/output--missing-cat-entries.txt"
17# cd errata-categories && ./esc-wikipedia-download-and-detect-missing-cat-entries.py > output--missing-cat-entries.txt && cd ..
18# if [ $? != 0 ] ; then
19# echo "Error encountered running ./esc-wikipedia-download-and-detect-missing-cat-entries.py" >&2
20# exit 1
21# fi
22#fi
23
24./DBPEDIA-LOD-SPARQL-QUERY.sh problem-lod-lists/dbpedia-problem-category-in-year.sparql html
25
26
27echo ""
Note: See TracBrowser for help on using the repository browser.