Question: What is the relationship between American Idol (the one whose genre is reality television) and 59th Primetime Emmy Awards?
Choices:
substitute/deputy/replacement of office/officeholder
statistical leader
series spin-off
present in work
official color
award received
airline alliance
approved by
officially opened by
broadcast by
Answer: award received
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "American Idol" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "reality television" . ?e_2 <pred:name> "59th Primetime Emmy Awards" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: reality television
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: American Idol
function: And
dependencies: 1
2
function: Find
inputs: 59th Primetime Emmy Awards
function: QueryRelation
dependencies: 3
4