Question: How many sport types have Bruce Campbell (the one whose date of birth is 1909-10-20) on a sport team and the OSM tag or key of Tag:sport=handball?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "type of sport" . ?e_1 <sport> ?e . ?e_1 <pred:name> "Bruce Campbell" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1909-10-20"^^xsd:date .  ?e <OSM_tag_or_key> ?pv_1 . ?pv_1 <pred:value> "Tag:sport=handball" .  }
Program:
function: Find
inputs: Bruce Campbell
function: FilterDate
dependencies: 0
inputs: date of birth
1909-10-20
=
function: Relate
dependencies: 1
inputs: sport
forward
function: FilterConcept
dependencies: 2
inputs: type of sport
function: FindAll
function: FilterStr
dependencies: 4
inputs: OSM tag or key
Tag:sport=handball
function: FilterConcept
dependencies: 5
inputs: type of sport
function: And
dependencies: 3
6
function: Count
dependencies: 7