stanbol icon indicating copy to clipboard operation
stanbol copied to clipboard

Updated prepare script to work on "-current" version of DBpedia

Open alansaid opened this issue 10 years ago • 5 comments

This script will build the indexer, download the current version of DBPedia and run the indexer.

alansaid avatar Nov 26 '15 14:11 alansaid

I've found an error on the script, when downloading the Category information files, there is a 404 Error.

It reads:

# Category information
wget -c $DBPEDIA/$DBP_I18N/en/category_labels_en.nt.bz2
wget -c $DBPEDIA/$DBP_I18N/en/skos_categories_en.nt.bz2                                                                       
wget -c $DBPEDIA/$DBP_I18N/en/article_categories_en.nt.bz2

Changing to this works:

# Category information
wget -c $DBPEDIA/$DBP_I18N/en/category-labels_en.nt.bz2
wget -c $DBPEDIA/$DBP_I18N/en/skos-categories_en.nt.bz2                                                                       
wget -c $DBPEDIA/$DBP_I18N/en/article-categories_en.nt.bz2

the file names are actually separated by a "-" before the language, not a "_".

afduarte avatar Nov 26 '15 15:11 afduarte

Hi @afduarte Sorry about that, I forgot to update those lines. A fix has been pushed and is included in the pull request.

alansaid avatar Nov 27 '15 08:11 alansaid

It works fine now :)

afduarte avatar Nov 27 '15 11:11 afduarte

@rafaharo @westei any reason this request hasn't been merged?

alansaid avatar Dec 01 '16 13:12 alansaid

Hi @alansaid I will take a look to this ASAP, sorry I totally missed it

rafaharo avatar Dec 01 '16 15:12 rafaharo