Question: How many national cuisines belong to the country of Mongolia or are the main subject of The Dictator (produced by Jesse Louis Lasky)?
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> "national cuisine" .  { ?e <country> ?e_1 . ?e_1 <pred:name> "Mongolia" .  } UNION { ?e_1 <main_subject> ?e . ?e_1 <pred:name> "The Dictator" . ?e_1 <producer> ?e_2 . ?e_2 <pred:name> "Jesse Louis Lasky" .  } }
Program:
function: Find
inputs: Mongolia
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: national cuisine
function: Find
inputs: Jesse Louis Lasky
function: Relate
dependencies: 3
inputs: producer
backward
function: Find
inputs: The Dictator
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: main subject
forward
function: FilterConcept
dependencies: 7
inputs: national cuisine
function: Or
dependencies: 2
8
function: Count
dependencies: 9