As a user I would like to see all constraint violations in WDQS, so I can fix them.
GIVEN a constraint check is executed
WHEN a constraint violation is detected
THEN I should be able to query it with SPARQL.
GIVEN a constraint check is executed
WHEN no constraint violations is detected
THEN I constraint violations should no longer show up when queried with SPARQL
NOTE: At the moment constraints violations are only imported to WDQS if they are cached the moment WDQS pulls the rdfs for constraint violations for an item. There is a race condition between the WDQS poller and the constraints check execution and this is why only a fraction of constraint violations are imported.
When {T189458} is working we can create a dedicated event for when a constraint check is finished, so WDQS poller always pulls cached violations.
Tasks:
[ ] Create new event in the kafka data pipeline when a constraint check is finished. The event would include the entity ID that was being checked.
[ ] Listen to event in WDQS and pull the data for that specific item.