Question: What is the connection between Norfolk (the one whose area is 249.682967 square kilometre) to Portsmouth (the one that is the birthplace of Missy Elliott)?
Choices:
based on
organisation directed from the office or person
film distribute region
location of final assembly
season starts
shares border with
office held by head of government
indigenous to
legislative body
student
Answer: shares border with
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Norfolk" . ?e_1 <area> ?pv . ?pv <pred:unit> "square kilometre" . ?pv <pred:value> "249.682967"^^xsd:double . ?e_2 <pred:name> "Portsmouth" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> "Missy Elliott" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Norfolk
function: FilterNum
dependencies: 0
inputs: area
249.682967 square kilometre
=
function: Find
inputs: Missy Elliott
function: Relate
dependencies: 2
inputs: place of birth
forward
function: Find
inputs: Portsmouth
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5