Question: What is the birth name of the fictional extraterrestrial whose number of children is not equal to 0?
Choices:
David Allan Stewart
Christopher Allen Lloyd
Stephen Jay Gould
Franklin Delano Roosevelt
Adam Richard Sandler
Mariah Carey
張發宗
Thomas Edward Lee
కొణిదెల శివశంకర వరప్రసాద్
Frederick Jay Rubin
Answer: Adam Richard Sandler
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "fictional extraterrestrial" . ?e <number_of_children> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != "0"^^xsd:double ) . ?e <birth_name> ?pv .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: number of children
0
!=
function: FilterConcept
dependencies: 1
inputs: fictional extraterrestrial
function: QueryAttr
dependencies: 2
inputs: birth name