Question: What is the relationship between Norfolk, population 242937, and Virginia Beach?
Choices:
doctoral student
territory claimed by
location of formation
subsidiary
shares border with
exclave of
located in time zone
from fictional universe
sponsor
present in work
Program:
function: Find
inputs: Norfolk
function: FilterNum
dependencies: 0
inputs: population
242937
=
function: Find
inputs: Virginia Beach
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Norfolk" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "242937"^^xsd:double . ?e_2 <pred:name> "Virginia Beach" . ?e_1 ?p ?e_2 .  }
Answer: shares border with