Question: How many rivers comprise the river mouth of Ohio River or were located in French First Republic ?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "river" .  { ?e_1 <mouth_of_the_watercourse> ?e . ?e_1 <pred:name> "Ohio River" .  } UNION { ?e <country> ?e_1 . ?e_1 <pred:name> "French First Republic" .  } }
Program:
function: Find
inputs: Ohio River
function: Relate
dependencies: 0
inputs: mouth of the watercourse
forward
function: FilterConcept
dependencies: 1
inputs: river
function: Find
inputs: French First Republic
function: Relate
dependencies: 3
inputs: country
backward
function: FilterConcept
dependencies: 4
inputs: river
function: Or
dependencies: 2
5
function: Count
dependencies: 6