Question: The minimum required players is fewer than 3.8 for how many different sport types?
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> "type of sport" . ?e <minimum_number_of_players> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "3.8"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: minimum number of players
3.8
<
function: FilterConcept
dependencies: 1
inputs: type of sport
function: Count
dependencies: 2