Question: What is the relationship between Exeter, which is 47 square kilometers, and Devon, where Torquay is located?
Choices:
make-up artist
depicts
capital of
enclave within
student of
worshipped by
production company
located in the administrative territorial entity
has dialect (DEPRECATED)
color
Answer: capital of
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Exeter" . ?e_1 <area> ?pv . ?pv <pred:unit> "square kilometre" . ?pv <pred:value> "47"^^xsd:double . ?e_2 <pred:name> "Devon" . ?e_3 <located_in_the_administrative_territorial_entity> ?e_2 . ?e_3 <pred:name> "Torquay" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Exeter
function: FilterNum
dependencies: 0
inputs: area
47 square kilometre
=
function: Find
inputs: Torquay
function: Relate
dependencies: 2
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Devon
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5