You can also use the Wikimedia Commons API made by Magnus:
https://tools.wmflabs.org/magnus-toolserver/commonsapi.php
It will also gives you metadata about the image (so you'll be able to cite the author of the image when you reuse it).
Is the same metadata also available in the Turtle/HDT dump?