query-849f880868d1cc45b06c68cf4827a85f

rq turtle/ttl

TODO

Use at

PREFIX ps: <http://www.wikidata.org/prop/statement/>
select ?item where {
    {{IfThenConstraint                                              # if then selects all the items which are selected by the "if" and removes all those who do match the "then". The result is supposed to be the constraint violation. 
          |if={{Multiple values|official website|?item}}            #"multiple values" selects all the items with several official website claims
                 ?item ps:P586 ?websitestatement.                   #this line selects all those statements

          |then={{qualified by|?websitestatement|P407,P1001,P2360}} #"qualified by" filters the statemetnts who are qualified by any of P401, P1001 and P2360
    }}
}

Query found at