Datasets are difficult.
They pose no originality, and this is handled differently in different jurisdictions. Some jurisdictions have sui generis database rights, which are handled similarly to, but distinct from copyright.
In the United States for example, databases are not under any protection at all. No license can be attached to it, because it holds nothing that can be licensed in the first place.
The EU does recognize database rights, with a term of 15 years after first publication.
Different countries have different laws, and it will be almost impossible to write a license that would be effective across different jurisdictions.
Having specific license terms that interact with database rights and copyright would be an even more difficult task. It would, in theory, probably be possible to draft a license that places restrictions on software that interacts with datasets, or places license restrictions on datasets that incorporate your data set that would be valid for a specific country, or for the EU, but as far as I know, this hasn't been tried.
Open datasets are generally handled under a CC Zero public domain dedication. Despite there being plenty of problems with CC Zero, it least it's somewhat portable, in that it means roughly the same across jurisdictions.