Question: Given that Ben Sahar is a member of Hertha BSC, how many matches have been played by the team?
Choices:
91
161
55
18
51
47
120
4
6
121
Answer: 18
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Ben Sahar" . ?e_2 <pred:name> "Hertha BSC" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <number_of_matches_played/races/starts> ?qpv .  }
Program:
function: Find
inputs: Ben Sahar
function: Find
inputs: Hertha BSC
function: QueryRelationQualifier
dependencies: 0
1
inputs: member of sports team
number of matches played/races/starts