Question: How many national association football teams have members among whose the statistical leader is Lionel Messi or whose member is  Bob Roberts (the one whose date of death is 1950-03-24) ?
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> "national association football team" .  { ?e <statistical_leader> ?e_1 . ?e_1 <pred:name> "Lionel Messi" .  } UNION { ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:name> "Bob Roberts" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> "1950-03-24"^^xsd:date .  } }
Program:
function: Find
inputs: Lionel Messi
function: Relate
dependencies: 0
inputs: statistical leader
backward
function: FilterConcept
dependencies: 1
inputs: national association football team
function: Find
inputs: Bob Roberts
function: FilterDate
dependencies: 3
inputs: date of death
1950-03-24
=
function: Relate
dependencies: 4
inputs: member of sports team
forward
function: FilterConcept
dependencies: 5
inputs: national association football team
function: Or
dependencies: 2
6
function: Count
dependencies: 7