Download all works to sqlite3

[데이터 예시](http://dbpedia.org/sparql?default-graph-uri=http%3A%2F%2Fdbpedia.org&query=++++++++PREFIX+dbpedia-owl%3A+%3Chttp%3A%2F%2Fdbpedia.org%2Fontology%2F%3E%0D%0A++++++++PREFIX+dbpprop%3A+%3Chttp%3A%2F%2Fdbpedia.org%2Fproperty%2F%3E%0D%0A++++++++SELECT+DISTINCT+%0D%0A++++++++++++STRAFTER%28+STR%28%3Fwork%29%2C+%22http%3A%2F%2Fdbpedia.org%2Fresource%2F%22%29+as+%3Fwork%0D%0A++++++++++++%28group_concat%28STRAFTER%28+STR%28%3Fauthor%29%2C+%22http%3A%2F%2Fdbpedia.org%2Fresource%2F%22%29+%3B+SEPARATOR%3D%22%2C+%22%29+as+%3Fauthor%29%0D%0A++++++++WHERE+%7B%0D%0A++++++++++++%3Fwork+%3Fp+%3Fauthor%0D%0A++++++++FILTER%28%0D%0A++++++++++++%28+%3Fp+%3D+dbpprop%3Aauthor+%7C%7C+%3Fp+%3D+dbpedia-owl%3Aauthor+%7C%7C+%3Fp+%3D+dbpedia-owl%3Awriter+%29+%0D%0A++++++++++++%26%26+STRSTARTS%28STR%28%3Fwork%29%2C+%22http%3A%2F%2Fdbpedia.org%2F%22%29%29+%0D%0A++++++++%7D%0D%0A++++++++GROUP+BY+%3Fwork%0D%0A++++++++LIMIT+10&format=text%2Fhtml&timeout=30000&debug=on)

위 링크처럼 데이터가 들어가게 됩니다. 
work하나에 author가 여러명 있는 경우 ,를 사용해서 덧붙이게 됩니다.

Maybe these three lines (appending to query) could use string formatting:
https://docs.python.org/2/library/string.html#format-string-syntax