Question: What is the relationship between Orlando (the one whose exploitation visa number is 79338) and Italy?
Choices:
subsidiary
terminus
country of origin
lifestyle
successful candidate
named after
occupation
territory overlaps
political alignment
position held
Program:
function: Find
inputs: Orlando
function: FilterStr
dependencies: 0
inputs: exploitation visa number
79338
function: Find
inputs: Italy
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Orlando" . ?e_1 <exploitation_visa_number> ?pv . ?pv <pred:value> "79338" . ?e_2 <pred:name> "Italy" . ?e_1 ?p ?e_2 .  }
Answer: country of origin