Question: How many types of sport have a maximum number of players greater than 2.4 or whose OSM tag or key is Tag:sport=rugby_league?
Choices:
1
2
3
4
5
6
7
8
9
10
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: maximum number of players
2.4
>
function: FilterConcept
dependencies: 1
inputs: type of sport
function: FindAll
function: FilterStr
dependencies: 3
inputs: OSM tag or key
Tag:sport=rugby_league
function: FilterConcept
dependencies: 4
inputs: type of sport
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "type of sport" .  { ?e <maximum_number_of_players> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "2.4"^^xsd:double ) .  } UNION { ?e <OSM_tag_or_key> ?pv . ?pv <pred:value> "Tag:sport=rugby_league" .  } }
Answer: 3