I have an idea for a client-server software project which involves using information from Wikipedia, but I am not sure about what the conditions for using it in regards of licensing and copyrights would be in my case.
My planned architecture: On the server side there is a script which fetches articles from a wikipedia database dump, extracts certain pieces of data (numbers, names, dates, etc.) from them and writes those into a database. The main server application reads data from that database, does some processing on it and includes it as part of the service it provides to the client application (e.g. Android app).
My main question now is: Am I allowed to do this and if yes, under which conditions?
I have read through the Creative Commons Attribution-ShareAlike 3.0 and the GNU Free Documentation License, applying to Wikipedia articles. It is clear to me what the conditions are when using artices in textual form, but in my case I only have small ckunks of information taken from the text. Do the same restrictions still apply and if yes, how would I comply with them? One of the restrictions is for example, that if I modify the content of the article, I need to apply the same license to the result. Would that mean I need to put my database under the license or the individual pieces of data within? And how would attributing the source or the author work in this scenario? Storing a reference to the containing Wikipedia article for every single piece of data would not really be feasable for my current project concept. Furthermore what would it mean for the main application and the service it provides?
Would there be any additional problems or limitations if this was done as a commercial software?
I will start this project if I know that there will be no problems regarding legal issues, so it would be great if someone could clarify this for me or point me into the right direction.