Question: What is the association between Johnny Mercer (who is a member of the political party called the Conservative Party) and London (that is the twin administrative body to Los Angeles)?
Choices: academic degree
color
lyrics by
parent organization
work location
found
costume designer
natural product of taxon
season starts
contributor(s) to the creative work
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Johnny Mercer" . ?e_1 <member_of_political_party> ?e_3 . ?e_3 <pred:name> "Conservative Party" . ?e_2 <pred:name> "London" . ?e_4 <twinned_administrative_body> ?e_2 . ?e_4 <pred:name> "Los Angeles" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Conservative Party
function: Relate
dependencies: 0
inputs: member of political party
backward
function: Find
inputs: Johnny Mercer
function: And
dependencies: 1
2
function: Find
inputs: Los Angeles
function: Relate
dependencies: 4
inputs: twinned administrative body
forward
function: Find
inputs: London
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
Answer: work location