Question: What are the number of sports whose IAB code is 497 or that is practiced by curator ?
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> "sport" .  { ?e <IAB_code> ?pv . ?pv <pred:value> "497" .  } UNION { ?e <practiced_by> ?e_1 . ?e_1 <pred:name> "curator" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: IAB code
497
function: FilterConcept
dependencies: 1
inputs: sport
function: Find
inputs: curator
function: Relate
dependencies: 3
inputs: practiced by
backward
function: FilterConcept
dependencies: 4
inputs: sport
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 1