Question: What's the relationship between Spain and the Peninsular War?
Choices:
patron saint
airline alliance
studied by
sibling
editor
subject has role
from fictional universe
occupation
programming language
country
Program:
function: Find
inputs: Peninsular War
function: Find
inputs: Spain
function: QueryRelation
dependencies: 0
1
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Peninsular War" . ?e_2 <pred:name> "Spain" . ?e_1 ?p ?e_2 .  }
Answer: country