I am trying to run a local version of the wikidata query service.
Following along with these instructions: https://www.mediawiki.org/wiki/Wikidata_query_service/User_Manual#Standalone_service, I downloaded version 0.2.4 of the service from Maven central, and then downloaded the 20171009 entities file called "wikidata-20171009-all-BETA.ttl.gz" from this directory: https://dumps.wikimedia.org/wikidatawiki/entities/20171009/.
I then tried to run the munge.sh script on the ttl.gz file:
./munge.sh -f wiki_dumps/20171009/wikidata-20171009-all-BETA.ttl.gz -d wiki_dumps/20171009/split -l en -s
This step seemed to work for the first 1760000 entities, in steps of 10000, but then failed giving me the following error:
14:27:09.118 [main] ERROR org.wikidata.query.rdf.tool.Munge - Fatal error munging RDF
java.lang.RuntimeException: org.openrdf.rio.RDFParseException: Illegal language tag char: ':' [line 269428203]