what is the {parliamentary group} for {Michael Collins} has {position held} as {Deputy to the Dáil} ?
Michael collins served what parliamentary group in Dail?
What parliamentary group had Michael Collins as Deputy to the Dáil ?
SELECT ?i WHERE { ?q property:position_held resource:Teachta_Dála . resource:Michael_Collins property:position_held ?q . ?q property:parliamentary_group ?i }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q173196> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P39> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q654291> .
?statement <http://www.wikidata.org/entity/P4100> ?value. 
} 

SELECT ?value WHERE { wd:Q173196 p:P39 ?s . ?s ps:P39 wd:Q654291 . ?s pq:P4100 ?value}