Question: How many religions were either founded by Gautama Buddha or have an IAB code of 462?
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> "religion" .  { ?e_1 <found> ?e . ?e_1 <pred:name> "Gautama Buddha" .  } UNION { ?e <IAB_code> ?pv . ?pv <pred:value> "462" .  } }
Program:
function: Find
inputs: Gautama Buddha
function: Relate
dependencies: 0
inputs: found
forward
function: FilterConcept
dependencies: 1
inputs: religion
function: FindAll
function: FilterStr
dependencies: 3
inputs: IAB code
462
function: FilterConcept
dependencies: 4
inputs: religion
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2