Question: What is the connection between Bayreuth to German Empire (the one that is replaced by Weimar Republic)?
Choices:
home world
official language
country
developer
use
parent club
set in period
architect
native language
located on terrain feature
Answer: country
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Bayreuth" . ?e_2 <pred:name> "German Empire" . ?e_3 <replaces> ?e_2 . ?e_3 <pred:name> "Weimar Republic" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Bayreuth
function: Find
inputs: Weimar Republic
function: Relate
dependencies: 1
inputs: replaces
forward
function: Find
inputs: German Empire
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4