WikibaseIntegrator
WikibaseIntegrator copied to clipboard
Check constraints before adding statement
To take WBI to the next level I propose to enable optional checking of whether the statement violates a constraint using the plnode API.
see https://plnode.toolforge.org/
That seem interesting. Thank you. I'll finish the rewrite of WBI before implementing new things.
Indeed interesting! But right now plnode is adapted to Wikidata. AFAIK, the third-party Wikibase instances do not use constraints so far.
Indeed interesting! But right now plnode is adapted to Wikidata. AFAIK, the third-party Wikibase instances do not use constraints so far.
Yeah, after a second check and reading the source of the tool, it seem the tool is too Wikidata-oriented. QualityConstraints can be installed on a Wikibase instance, but this tool has hardcoded Constraints.
I'll keep in mind the constraint check.
I removed the default then, as this tool should just work. Maybe we can have Wikibase read all constraints of the wikibase installation and compile an internal database? Or improve the module you mentioned with an API?