I'd like to ask a more general question and then I'd like to ask a more detailed one based on my specific case.
Suppose that I'm writing a software I'm planning to release under the terms of the AGPLv3 (or the GPLv3) and that software uses data taken from Wikipedia in order to work (basically, the software would take real data from Wikipedia and then use it to generate fake data. All the text on Wikipedia is under CC-BY-SA 3.0. I understand that I can use the data provided that I release any derivative work under the same (or compatible) license.
I now have the general question:
- If I put the data in a text file and then I tell my software to go fetch that data from that text file, is the software defined a derivative work of the data? What if I hard-code that data in a source code file?
- Is the data my software generates under the CC-BY-SA 3.0 license? I understand that the output of a (A)GPLv3 program is not under the (A)GPL, but is it so with this license?
Then to the more specific question: the data I'd like to use from Wikipedia is composed of:
- World country names
- World country flags (I took the main colors of the world country flags out either from the image
- City names of different countries
- Names and surnames of people of different countries (I'd like to use them even unmodified)
For the first point I'm pretty sure the list of world countries is public knowledge and hence in the public domain. For the second point, while the images of the flags are public knowledge (even Wikipedia acknowledges so), the description from where I extracted some color information (see, for instance the "flag colors" section of this page) would be under the CC-BY-SA license. For the third and fourth points... I don't know.
The problem is that I do not want to distribute my software under the CC-BY-SA license because even Creative Commons itself acknowledges it's not a good idea. Instead, I'd like to use either the GPLv3 or the AGPLv3 (if possible, both with the "or later" clause).
Thanks in advance.