Question: What is the relationship between Roots (the one whose end time is 1977-01-30) and Virginia (the one that is the origin of the name Virginia Beach)?
Choices: depicted by
convicted of
lifestyle
culture
film release region
commissioned by
grants
office held by head of government
narrative location
mountain range
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Roots" . ?e_1 <end_time> ?pv . ?pv <pred:date> "1977-01-30"^^xsd:date . ?e_2 <pred:name> "Virginia" . ?e_3 <named_after> ?e_2 . ?e_3 <pred:name> "Virginia Beach" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Roots
function: FilterDate
dependencies: 0
inputs: end time
1977-01-30
=
function: Find
inputs: Virginia Beach
function: Relate
dependencies: 2
inputs: named after
forward
function: Find
inputs: Virginia
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5
Answer: narrative location