Question: How many types of sport have a minimum number of players that is not 6.6 or are practiced by a columnist?
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> "type of sport" .  { ?e <minimum_number_of_players> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "6.6"^^xsd:double ) .  } UNION { ?e <practiced_by> ?e_1 . ?e_1 <pred:name> "columnist" .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: minimum number of players
6.6
!=
function: FilterConcept
dependencies: 1
inputs: type of sport
function: Find
inputs: columnist
function: Relate
dependencies: 3
inputs: practiced by
backward
function: FilterConcept
dependencies: 4
inputs: type of sport
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 3