Question: Who is the person who stars in Desperate Housewives and was born in Berlin?
Choices:
Ken Adam
Ernst Lubitsch
John Slattery
Dominic Monaghan
Jon Polito
Eva Longoria
Walter Benjamin
Lois Smith
Wallace Shawn
Frederick II of Prussia
Program:
function: Find
inputs: Desperate Housewives
function: Relate
dependencies: 0
inputs: cast member
forward
function: FilterConcept
dependencies: 1
inputs: human
function: Find
inputs: Berlin
function: Relate
dependencies: 3
inputs: place of birth
backward
function: FilterConcept
dependencies: 4
inputs: human
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> "Desperate Housewives" .  ?e <place_of_birth> ?e_2 . ?e_2 <pred:name> "Berlin" .  }
Answer: Dominic Monaghan