Question: What is the title of Elektra (the one that uses the language German)?
Choices:
Howard the Duck
La Belle et la Bête
The Lives of a Bengal Lancer
Resident Evil: Retribution
Inglourious Basterds
City Slickers
Stop! Or My Mom Will Shoot
Gibraltar
硫黄島からの手紙
Elektra
Program:
function: Find
inputs: German
function: Relate
dependencies: 0
inputs: language of work or name
backward
function: Find
inputs: Elektra
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: title
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Elektra" . ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:name> "German" .  ?e <title> ?pv .  }
Answer: Elektra