Thanks Stas!
Thanks for spotting that. I didn't enable URL rewriting on my Mediawiki instance, thus the index.php is exposed.
I just manually replaced my own url with the www.wikidata.org, thus the weird combination.
One more thing - do the tools support https URLs?
Cheers Miguel
On Thu., 23 Mar. 2017, 07:10 Stas Malyshev, smalyshev@wikimedia.org wrote:
Hi!
First I used the included dumpRdf.php to create the RDF file, attached.
Then I did the munge step. It produced the errors, attached.
Notice something weird: in your RDF, the wdata prefix is:
@prefix wdata: http://www.wikidata.org/wiki/index.php/Special:EntityData/ .
Usually it is expected to be http://www.wikidata.org/wiki/Special:EntityData/
Also, if you're running your own instance, you may want to set up a different URL for wikidata prefix by setting conceptBaseUri (see docs/options.wiki). You may then also want to use -w option for munger to set up correct hostname for your setup and also -DwikibaseHost when you're running Blazegraph/updater.
-- Stas Malyshev smalyshev@wikimedia.org
Wikidata-tech mailing list Wikidata-tech@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-tech