Question: How many medicines are associated with Stack Exchange tag https://psychology.stackexchange.com/tags/neuroscience or have alcoholism as a health specialty?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "medicine" .  { ?e <Stack_Exchange_tag> ?pv . ?pv <pred:value> "https://psychology.stackexchange.com/tags/neuroscience" .  } UNION { ?e_1 <health_specialty> ?e . ?e_1 <pred:name> "alcoholism" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Stack Exchange tag
https://psychology.stackexchange.com/tags/neuroscience
function: FilterConcept
dependencies: 1
inputs: medicine
function: Find
inputs: alcoholism
function: Relate
dependencies: 3
inputs: health specialty
forward
function: FilterConcept
dependencies: 4
inputs: medicine
function: Or
dependencies: 2
5
function: Count
dependencies: 6