Question: How many political ideologies are the quality of libertarianism or are the political ideology of Tony Curtis (whose name is Tony Curtis in native language)?
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 <has_quality> ?e . ?e_1 <pred:name> "libertarianism" .  } UNION { ?e_1 <political_ideology> ?e . ?e_1 <pred:name> "Tony Curtis" . ?e_1 <name_in_native_language> ?pv . ?pv <pred:value> "Tony Curtis" .  } }
Program:
function: Find
inputs: libertarianism
function: Relate
dependencies: 0
inputs: has quality
forward
function: FilterConcept
dependencies: 1
inputs: political ideology
function: Find
inputs: Tony Curtis
function: FilterStr
dependencies: 3
inputs: name in native language
Tony Curtis
function: Relate
dependencies: 4
inputs: political ideology
forward
function: FilterConcept
dependencies: 5
inputs: political ideology
function: Or
dependencies: 2
6
function: Count
dependencies: 7
Answer: 0