Question: Which cast member of The West Wing who plays the character Sam Seaborn has more than 0 kids?
Choices: Richard Gere
Babyface
Max Fleischer
James E. Reilly
Sylvester Stallone
Paul Simon
Simon Cowell
Rob Lowe
William Henry Harrison
David Byrne
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <number_of_children> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "0"^^xsd:double ) . ?e_1 <cast_member> ?e . ?e_1 <pred:name> "The West Wing" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e ] <character_role> ?qpv . ?qpv <pred:value> "Sam Seaborn" .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: number of children
0
>
function: FilterConcept
dependencies: 1
inputs: human
function: Find
inputs: The West Wing
function: Relate
dependencies: 3
inputs: cast member
forward
function: QFilterStr
dependencies: 4
inputs: character role
Sam Seaborn
function: FilterConcept
dependencies: 5
inputs: human
function: And
dependencies: 2
6
function: What
dependencies: 7
Answer: Rob Lowe