Question: What is the number of crimes for the country Belize or that is Ellen Page's conviction.
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "crime" .  { ?e <country> ?e_1 . ?e_1 <pred:name> "Belize" .  } UNION { ?e_1 <convicted_of> ?e . ?e_1 <pred:name> "Ellen Page" .  } }
Program:
function: Find
inputs: Belize
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: crime
function: Find
inputs: Ellen Page
function: Relate
dependencies: 3
inputs: convicted of
forward
function: FilterConcept
dependencies: 4
inputs: crime
function: Or
dependencies: 2
5
function: Count
dependencies: 6