Question: What number of unitary states are Council of Europe founders or have a common border with Romania (a release region of Think Like a Man)?
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> "unitary state" .  { ?e <found> ?e_1 . ?e_1 <pred:name> "Council of Europe" .  } UNION { ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Romania" . ?e_2 <film_release_region> ?e_1 . ?e_2 <pred:name> "Think like a Man" .  } }
Program:
function: Find
inputs: Council of Europe
function: Relate
dependencies: 0
inputs: found
backward
function: FilterConcept
dependencies: 1
inputs: unitary state
function: Find
inputs: Think like a Man
function: Relate
dependencies: 3
inputs: film release region
forward
function: Find
inputs: Romania
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: shares border with
forward
function: FilterConcept
dependencies: 7
inputs: unitary state
function: Or
dependencies: 2
8
function: Count
dependencies: 9
Answer: 4