[Wikidata-tech] Script and API module for constraint checks