What is the {film trilogy} for {series} of {Once Upon a Time in the West}
What film set of three is Once Upon a Time within the West portion of?
What film trilogy is Once Upon a Time in the West part of?
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:film_trilogy . resource:Once_Upon_a_Time_in_the_West property:part_of_the_series ?w }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q168154> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P179> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj . ?obj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q13593818> } 
 select distinct ?obj where { wd:Q168154 wdt:P179 ?obj . ?obj wdt:P31 wd:Q13593818 } 
America trilogy