Question: Which In the Name of the King cast member has at least one child?
Choices:
John Rhys-Davies
Jennifer Ehle
Chris Martin
Matt Stone
Burt Reynolds
Leelee Sobieski
George Lopez
Ron Perlman
Anna Gunn
Melissa Leo
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: number of children
0
>
function: FilterConcept
dependencies: 1
inputs: human
function: Find
inputs: In the Name of the King
function: Relate
dependencies: 3
inputs: cast member
forward
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 <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> "In the Name of the King" .  }
Answer: John Rhys-Davies