Question: How many children does the screenwriter of Brothers (published 2010-03-25) have?
Choices:
9
1
4
7
11
12
1 son
3
3 son
0
Answer: 3
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <screenwriter> ?e . ?e_1 <pred:name> "Brothers" . ?e_1 <publication_date> ?pv_1 . ?pv_1 <pred:date> "2010-03-25"^^xsd:date . ?e <number_of_children> ?pv .  }
Program:
function: Find
inputs: Brothers
function: FilterDate
dependencies: 0
inputs: publication date
2010-03-25
=
function: Relate
dependencies: 1
inputs: screenwriter
forward
function: FilterConcept
dependencies: 2
inputs: human
function: QueryAttr
dependencies: 3
inputs: number of children