Wikipedia and you likely have no contract. If you don't have to click "I agree" to access the data, its likely there is no contract. Therefore this is a pure IP law question. The ONLY IP law issue that I see is copyright. The DATA is not subject to copyright. Only the expression of that data. So copying the html and selling that IS potential copyright infringement. Copying the data in some other format and using that is not.