Question: How is Renaissance (the one whose color is black-and-white) related to Paris (the one that is the capital of Second French Empire) ?
Choices:
platform
conferred by
feast day
founded by
political ideology
replaced by
candidacy in election
narrative location
killed by
conflict
Program:
function: Find
inputs: black-and-white
function: Relate
dependencies: 0
inputs: color
backward
function: Find
inputs: Renaissance
function: And
dependencies: 1
2
function: Find
inputs: Second French Empire
function: Relate
dependencies: 4
inputs: capital
forward
function: Find
inputs: Paris
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Renaissance" . ?e_1 <color> ?e_3 . ?e_3 <pred:name> "black-and-white" . ?e_2 <pred:name> "Paris" . ?e_4 <capital> ?e_2 . ?e_4 <pred:name> "Second French Empire" . ?e_1 ?p ?e_2 .  }
Answer: narrative location