Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SELECT ?item ?itemLabel ?prop ?propLabel ?violation ?violationLabel ?constraint ?class ?classLabel WITH {
- SELECT DISTINCT ?item ?z1 ?s ?y WHERE {
- ?s wikibase:hasViolationForConstraint ?y.
- ?item ?z1 ?s .
- }
- } AS %RESULTS {
- INCLUDE %RESULTS
- ?prop wikibase:claim ?z1 ;
- wdt:P31 wd:Q19833835 .
- OPTIONAL { ?y ps:P2302 ?violation }
- OPTIONAL { ?y pq:P1793 ?constraint }
- OPTIONAL { ?y pq:P2308 ?class }
- SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
- }
Add Comment
Please, Sign In to add comment