Question: What is the connection between The Phantom of the Opera (the one whose publication date is 1916) to German Empire (the one that has military conflicts with Austria-Hungary)?
Choices:
political ideology
dedicated to
start point
business division
musical conductor
vehicle normally used
family name
country of origin
appointed by
academic degree
Program:
function: Find
inputs: The Phantom of the Opera
function: FilterYear
dependencies: 0
inputs: publication date
1916
=
function: Find
inputs: Austria-Hungary
function: Relate
dependencies: 2
inputs: military conflicts
forward
function: Find
inputs: German Empire
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Phantom of the Opera" . ?e_1 <publication_date> ?pv . ?pv <pred:year> 1916 . ?e_2 <pred:name> "German Empire" . ?e_3 <military_conflicts> ?e_2 . ?e_3 <pred:name> "Austria-Hungary" . ?e_1 ?p ?e_2 .  }
Answer: country of origin