query: PREFIX wd: <http://www.wikidata.org/entity/>
  PREFIX wdt: <http://www.wikidata.org/prop/direct/>
  PREFIX wikibase: <http://wikiba.se/ontology#>
  PREFIX p: <http://www.wikidata.org/prop/>
  PREFIX ps: <http://www.wikidata.org/prop/statement/>
  PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
  PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
  #Sample query to start a list of statements using the qualifer P794
  
  SELECT ?item ?itemLabel ?property ?propertyLabel ?value ?valueLabel ?qualifierP794value ?qualifierP794valueLabel
  WHERE
  {
      ?prop pq:P794 ?qualifierP794value .
    	hint:Query hint:optimizer "None" .	
  	?item ?p ?prop . 
  	?property wikibase:claim ?p .  
    	?property wikibase:statementProperty ?ps .
      ?prop ?ps ?value .      
    wd:P921 wikibase:claim ?p
  	SERVICE wikibase:label { bd:serviceParam wikibase:language "en"  }    
  }
  LIMIT 200