Question: How many Screen Actors Guild Award were won by James Garner, father of 2 children, or by Steven Van Zandt?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "Screen Actors Guild Award" .  { ?e <winner> ?e_1 . ?e_1 <pred:name> "James Garner" . ?e_1 <number_of_children> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "2"^^xsd:double .  } UNION { ?e <winner> ?e_1 . ?e_1 <pred:name> "Steven Van Zandt" .  } }
Program:
function: Find
inputs: James Garner
function: FilterNum
dependencies: 0
inputs: number of children
2
=
function: Relate
dependencies: 1
inputs: winner
backward
function: FilterConcept
dependencies: 2
inputs: Screen Actors Guild Award
function: Find
inputs: Steven Van Zandt
function: Relate
dependencies: 4
inputs: winner
backward
function: FilterConcept
dependencies: 5
inputs: Screen Actors Guild Award
function: Or
dependencies: 3
6
function: Count
dependencies: 7