Question: What is the relationship between Prince (the one whose composer is Shankar Jaikishan) to India (the one whose inflation rate is 5.1 percentage)?
Choices:
location of final assembly
twinned administrative body
located on terrain feature
military conflicts
published in
country of origin
exported to
derivative work
honorific prefix
contains settlement
Program:
function: Find
inputs: Shankar Jaikishan
function: Relate
dependencies: 0
inputs: composer
backward
function: Find
inputs: Prince
function: And
dependencies: 1
2
function: Find
inputs: India
function: FilterNum
dependencies: 4
inputs: inflation rate
5.1 percentage
=
function: QueryRelation
dependencies: 3
5
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Prince" . ?e_1 <composer> ?e_3 . ?e_3 <pred:name> "Shankar Jaikishan" . ?e_2 <pred:name> "India" . ?e_2 <inflation_rate> ?pv . ?pv <pred:unit> "percentage" . ?pv <pred:value> "5.1"^^xsd:double . ?e_1 ?p ?e_2 .  }
Answer: country of origin