#/bin/sh 


# 10 language versions
VERSIONS="nl pl sv it ja es ru fr de en"

for i in `echo $VERSIONS` ;do
	#ls ../core-i18n` ; do
	echo $i
	mkdir -p data/$i/raw

	for a in `find ../core-i18n/$i -name "*.ttl.bz2"  | grep 'instance_types_transitive_wkd_uris\|geo_coordinates_wkd_uris\|geo_coordinates_mappingbased_wkd_uris\|labels_wkd_uris\|mappingbased_objects_wkd_uris\|mappingbased_literals_wkd_uris'` ; do
	 	cp $a data/$i/raw 
	done
done

# wikidata

WIKIDATA="../core-i18n/wikidata/mappingbased_objects_uncleaned_redirected_wikidata.ttl.bz2
../core-i18n/wikidata/instance_types_transitive_wikidata.ttl.bz2
../core-i18n/wikidata/geo_coordinates_wikidata.ttl.bz2
../core-i18n/wikidata/labels_wikidata.ttl.bz2"

for i in `echo $WIKIDATA` ; do
	echo $i
	mkdir -p data/wikidata/raw
	cp $i data/wikidata/raw
done

