Question: How is the Jon Favreau belonging to the Democratic Party related to the Jon Favreau of Italian American ethnicity?
Choices:
instrumentation
field of this occupation
programming paradigm
product or material produced
works in collection
properties for this type
different from
costume designer
military rank
worshipped by
Answer: different from
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Jon Favreau" . ?e_1 <member_of_political_party> ?e_3 . ?e_3 <pred:name> "Democratic Party" . ?e_2 <pred:name> "Jon Favreau" . ?e_2 <ethnic_group> ?e_4 . ?e_4 <pred:name> "Italian American" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Democratic Party
function: Relate
dependencies: 0
inputs: member of political party
backward
function: Find
inputs: Jon Favreau
function: And
dependencies: 1
2
function: Find
inputs: Italian American
function: Relate
dependencies: 4
inputs: ethnic group
backward
function: Find
inputs: Jon Favreau
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7