Question: The 446-page Midnight's Children has what connection to India, which is in a diplomatic relationship with Indonesia?
Choices:
sexual orientation
narrative location
culture
patron saint
occupant
color
language of work or name
territory overlaps
developer
allegiance
Answer: narrative location
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Midnight's Children" . ?e_1 <number_of_pages> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "446"^^xsd:double . ?e_2 <pred:name> "India" . ?e_3 <diplomatic_relation> ?e_2 . ?e_3 <pred:name> "Indonesia" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Midnight's Children
function: FilterNum
dependencies: 0
inputs: number of pages
446
=
function: Find
inputs: Indonesia
function: Relate
dependencies: 2
inputs: diplomatic relation
forward
function: Find
inputs: India
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5