Question: What is the connection between Giant (the one that origins from Uruguay) to Germany?
Choices:
sport
mountain range
main subject
exported to
has parts of the class
distribution
destination point
chairperson
operator
country of origin
Program:
function: Find
inputs: Uruguay
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Giant
function: And
dependencies: 1
2
function: Find
inputs: Germany
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Giant" . ?e_1 <country_of_origin> ?e_3 . ?e_3 <pred:name> "Uruguay" . ?e_2 <pred:name> "Germany" . ?e_1 ?p ?e_2 .  }
Answer: country of origin