Question: How is The Hours that was nominated for a Pulitzer Prize for Fiction related to the USA?
Choices:
contributor(s) to the creative work
geography of topic
architect
programming paradigm
voice actor
occupation
airline alliance
country of origin
based on
operating system
Answer: country of origin
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Hours" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> "Pulitzer Prize for Fiction" . ?e_2 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Pulitzer Prize for Fiction
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: The Hours
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: QueryRelation
dependencies: 3
4