daily pastebin goal
44%
SHARE
TWEET

Untitled

a guest Aug 19th, 2018 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top