Question: Who was a cast member of We Were Soldiers and is known by a pseudonym of Dan Roebuck?
Choices:
Sylvester Stallone
Max Fleischer
Daniel Roebuck
Richard Gere
Desmond Harrington
William Henry Harrison
David Byrne
Sam Elliott
Rahul Dev Burman
Simon Cowell
Program:
function: Find
inputs: We Were Soldiers
function: Relate
dependencies: 0
inputs: cast member
forward
function: FilterConcept
dependencies: 1
inputs: human
function: FindAll
function: FilterStr
dependencies: 3
inputs: pseudonym
Dan Roebuck
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> "We Were Soldiers" .  ?e <pseudonym> ?pv . ?pv <pred:value> "Dan Roebuck" .  }
Answer: Daniel Roebuck