Question: Does the composer of Mission: Impossible (the one that has Vanessa Redgrave as a cast member) have more than 0 children?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <composer> ?e . ?e_1 <pred:name> "Mission: Impossible" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> "Vanessa Redgrave" .  ?e <number_of_children> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "0"^^xsd:double ) .  }
Program:
function: Find
inputs: Vanessa Redgrave
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Mission: Impossible
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: composer
forward
function: FilterConcept
dependencies: 4
inputs: human
function: QueryAttr
dependencies: 5
inputs: number of children
function: VerifyNum
dependencies: 6
inputs: 0
>
Answer: yes