Question: How many political ideologies are the same as the political ideology of Alan Moore, the citizen of UK ?
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> "political ideology" . ?e_1 <political_ideology> ?e . ?e_1 <pred:name> "Alan Moore" . ?e_1 <country_of_citizenship> ?e_2 . ?e_2 <pred:name> "United Kingdom" .   }
Program:
function: Find
inputs: United Kingdom
function: Relate
dependencies: 0
inputs: country of citizenship
backward
function: Find
inputs: Alan Moore
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: political ideology
forward
function: FilterConcept
dependencies: 4
inputs: political ideology
function: Count
dependencies: 5
Answer: 1