Hi Greg,

thanks for your interest! We are currently working hard on improving the
property constraint system.
We have implemented a UI integration on item pages and the possibility to
use SPARQL for constraint checks. We are also working on importing
constraints from property statements instead of templates.
You will find more information in the help portal [1] and the Phabricator
board [2].

For using your own SPARQL queries and creating violation lists you could
use Magnus' tool listera [3]

Cheers,
Jonas

[1] https://www.wikidata.org/wiki/Help:Property_constraints_portal
[2] https://phabricator.wikimedia.org/tag/wikibase-quality-constraints/
[3] https://en.wikipedia.org/wiki/Template:Wikidata_list



2017-06-13 18:50 GMT+02:00 Greg S <[email protected]>:

> I would like to implement a version of constraint violations reporting (
> https://www.wikidata.org/wiki/Wikidata:Database_
> reports/Constraint_violations) (example (https://www.
> wikidata.org/wiki/Wikidata:Database_reports/Constraint_
> violations/P698#Single_value)) using some pre-specified SPARQL queries,
> to run only on my Talk page. Basically, I would like to have a page
> containing a handful of SPARQL queries, which would get run on a schedule
> (every week), and the output included into the page (as a table/list/etc).
> This seems really similar to what the constraint violations reporting is
> doing, but I'm having trouble figuring out how it works. It looks like
> there is a bot (https://www.wikidata.org/wiki/User:KrBot) that is
> fetching the constraints from each property's talk page and running the
> checks on a schedule. Is that correct? I cannot seem to find any
> documentation or source code. Has anyone else implemented something like
> this? Is there a way to execute a SPARQL query from a module?
>
> _______________________________________________
> Wikidata mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/wikidata
>
>


-- 
Jonas Kress
Software Developer

Wikimedia Deutschland e. V. | Tempelhofer Ufer 23-24 | 10963 Berlin
Phone: +49 (0)30 219 158 26-0
http://wikimedia.de

Imagine a world, in which every single human being can freely share in the
sum of all knowledge. That‘s our commitment.

Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e. V.
Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg unter
der Nummer 23855 B. Als gemeinnützig anerkannt durch das Finanzamt für
Körperschaften I Berlin, Steuernummer 27/681/51985.
_______________________________________________
Wikidata mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata

Reply via email to