What is {political party} of {Jack Warner}, that has {number of seats} is {51.0} ?
What is the political party of Jack Warner, that has the 51.0 seats
What is the political party of Jack Warner, that has the 51.0 seats?
SELECT ?g WHERE { resource:Jack_Warner property:member_of_political_party ?g . ?g property:number_of_representatives_in_an_organization/legislature_or_won_in_elections ?f . FILTER ( CONTAINS ( ?f , '51.0' ) ) }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q72614> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P102>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?answer. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1410> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <51.0> . }
SELECT ?answer WHERE { wd:Q72614 wdt:P102 ?answer . ?answer wdt:P1410 ?x FILTER(contains(?x , '51.0'))}