Question: What is the independent city of Germany whose country is the Weimar Republic and street address is Marktplatz?
Choices:
Anna Faris
Frankfurt (Oder)
Weimar
1992 Winter Olympics
Glen Campbell
Bayreuth
Coburg
Ulm
Baden-Baden
Mediterranean Sea
Program:
function: Find
inputs: Weimar Republic
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: independent city of Germany
function: FindAll
function: FilterStr
dependencies: 3
inputs: located at street address
Marktplatz
function: FilterConcept
dependencies: 4
inputs: independent city of Germany
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "independent city of Germany" . ?e <country> ?e_1 . ?e_1 <pred:name> "Weimar Republic" .  ?e <located_at_street_address> ?pv . ?pv <pred:value> "Marktplatz" .  }
Answer: Baden-Baden