Question: What is the connection between Luther (the one whose number of seasons is 4) to London (the one that is the headquarter location of Grays Athletic F.C.)?
Choices:
presenter
voice actor
risk factor
set in period
place served by transport hub
culture
narrative location
father
platform
director
Program:
function: Find
inputs: Luther
function: FilterNum
dependencies: 0
inputs: number of seasons
4
=
function: Find
inputs: Grays Athletic F.C.
function: Relate
dependencies: 2
inputs: headquarters location
forward
function: Find
inputs: London
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Luther" . ?e_1 <number_of_seasons> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "4"^^xsd:double . ?e_2 <pred:name> "London" . ?e_3 <headquarters_location> ?e_2 . ?e_3 <pred:name> "Grays Athletic F.C." . ?e_1 ?p ?e_2 .  }
Answer: narrative location