Question: What does India (which has diplomatic relations with Guatemala) have to do with Goa (whose area is 3702 square kilometres)?
Choices:
connects with
contains administrative territorial entity
successful candidate
capital of
appears in the form of
operator
statistical leader
location of final assembly
architectural style
occupation
Answer: contains administrative territorial entity
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "India" . ?e_1 <diplomatic_relation> ?e_3 . ?e_3 <pred:name> "Guatemala" . ?e_2 <pred:name> "Goa" . ?e_2 <area> ?pv . ?pv <pred:unit> "square kilometre" . ?pv <pred:value> "3702"^^xsd:double . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Guatemala
function: Relate
dependencies: 0
inputs: diplomatic relation
backward
function: Find
inputs: India
function: And
dependencies: 1
2
function: Find
inputs: Goa
function: FilterNum
dependencies: 4
inputs: area
3702 square kilometre
=
function: QueryRelation
dependencies: 3
5