Question: How many political ideologies are either different from government or are a topic in women's studies?
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 <different_from> ?e . ?e_1 <pred:name> "government" .  } UNION { ?e_1 <facet_of> ?e . ?e_1 <pred:name> "women's studies" .  } }
Program:
function: Find
inputs: government
function: Relate
dependencies: 0
inputs: different from
forward
function: FilterConcept
dependencies: 1
inputs: political ideology
function: Find
inputs: women's studies
function: Relate
dependencies: 3
inputs: facet of
forward
function: FilterConcept
dependencies: 4
inputs: political ideology
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2