Question: How many government forms are imported from Algeria and include the legislative body French National Assembly?
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> "form of government" . ?e_1 <exported_to> ?e . ?e_1 <pred:name> "Algeria" .  ?e <legislative_body> ?e_2 . ?e_2 <pred:name> "French National Assembly" .  }
Program:
function: Find
inputs: Algeria
function: Relate
dependencies: 0
inputs: exported to
forward
function: FilterConcept
dependencies: 1
inputs: form of government
function: Find
inputs: French National Assembly
function: Relate
dependencies: 3
inputs: legislative body
backward
function: FilterConcept
dependencies: 4
inputs: form of government
function: And
dependencies: 2
5
function: Count
dependencies: 6
Answer: 1