Question: The team member of F.C. Zenit St. Petersburg who joined on 2012-01-01 holds how many different jobs?
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> "occupation" . ?e_1 <position_played_on_team_/_speciality> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_1 <member_of_sports_team> ?e_2 . ?e_2 <pred:name> "F.C. Zenit St. Petersburg" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv . ?qpv <pred:date> "2012-01-01"^^xsd:date .   }
Program:
function: Find
inputs: F.C. Zenit St. Petersburg
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: QFilterDate
dependencies: 1
inputs: start time
2012-01-01
=
function: FilterConcept
dependencies: 2
inputs: human
function: Relate
dependencies: 3
inputs: position played on team / speciality
forward
function: FilterConcept
dependencies: 4
inputs: occupation
function: Count
dependencies: 5