Question: How many sciences are practiced by a geologist or whose Stack Exchange tag is https://stackoverflow.com/tags/geography?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: geologist
function: Relate
dependencies: 0
inputs: practiced by
backward
function: FilterConcept
dependencies: 1
inputs: science
function: FindAll
function: FilterStr
dependencies: 3
inputs: Stack Exchange tag
https://stackoverflow.com/tags/geography
function: FilterConcept
dependencies: 4
inputs: science
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> "science" .  { ?e <practiced_by> ?e_1 . ?e_1 <pred:name> "geologist" .  } UNION { ?e <Stack_Exchange_tag> ?pv . ?pv <pred:value> "https://stackoverflow.com/tags/geography" .  } }
Answer: 2