Question: I want to know the number of constitutional monarchies that have demonym of thailandezi or military conflicts with Finland.
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "constitutional monarchy" .  { ?e <demonym> ?pv . ?pv <pred:value> "thailandezi" .  } UNION { ?e_1 <military_conflicts> ?e . ?e_1 <pred:name> "Finland" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: demonym
thailandezi
function: FilterConcept
dependencies: 1
inputs: constitutional monarchy
function: Find
inputs: Finland
function: Relate
dependencies: 3
inputs: military conflicts
forward
function: FilterConcept
dependencies: 4
inputs: constitutional monarchy
function: Or
dependencies: 2
5
function: Count
dependencies: 6