[This](https://w.wiki/46iF) SPARQL query returns all the regexes to validate a given ID. - [ ] Make a template out of the query, the first pattern should be a variable - [ ] fill it with an ID property - [ ] in case of no matches, discard the ID Reported [here](https://www.wikidata.org/w/index.php?title=Topic:Wfiiq9ty2k040c9f&topic_showPostId=wgypkgj0qlzj6614#flow-post-wgypkgj0qlzj6614).