Guest User

Untitled

a guest
Aug 19th, 2018
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. SELECT ?item ?itemLabel ?prop ?propLabel ?violation ?violationLabel ?constraint ?class ?classLabel WITH {
  2. SELECT DISTINCT ?item ?z1 ?s ?y WHERE {
  3. ?s wikibase:hasViolationForConstraint ?y.
  4. ?item ?z1 ?s ;
  5. wdt:P31 wd:Q11173 .
  6. }
  7. } AS %RESULTS {
  8. INCLUDE %RESULTS
  9. ?prop wikibase:claim ?z1 .
  10. OPTIONAL { ?y ps:P2302 ?violation }
  11. OPTIONAL { ?y pq:P1793 ?constraint }
  12. OPTIONAL { ?y pq:P2308 ?class }
  13. SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
  14. }
Add Comment
Please, Sign In to add comment