Question: How many Screen Actors Guild Awards were won by someone who was married to Brad Pitt until 2nd October 2005 ?
Choices: 0
1
2
3
4
5
6
7
8
9
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:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_2 <spouse> ?e_1 . ?e_2 <pred:name> "Brad Pitt" . [ <pred:fact_h> ?e_2 ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e_1 ] <end_time> ?qpv . ?qpv <pred:date> "2005-10-02"^^xsd:date .   }
Program:
function: Find
inputs: Brad Pitt
function: Relate
dependencies: 0
inputs: spouse
forward
function: QFilterDate
dependencies: 1
inputs: end time
2005-10-02
=
function: FilterConcept
dependencies: 2
inputs: human
function: Relate
dependencies: 3
inputs: winner
backward
function: FilterConcept
dependencies: 4
inputs: Screen Actors Guild Award
function: Count
dependencies: 5
Answer: 1