Question: How many military branches have 'Through Adversity to the Stars' as their motto, or, belong to Rick Springfield's allegiance?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "military branch" .  { ?e <allegiance> ?e_1 . ?e_1 <pred:name> "Rick Springfield" .  } UNION { ?e <motto_text> ?pv . ?pv <pred:value> "Through adversity to the stars" .  } }
Program:
function: Find
inputs: Rick Springfield
function: Relate
dependencies: 0
inputs: allegiance
backward
function: FilterConcept
dependencies: 1
inputs: military branch
function: FindAll
function: FilterStr
dependencies: 3
inputs: motto text
Through adversity to the stars
function: FilterConcept
dependencies: 4
inputs: military branch
function: Or
dependencies: 2
5
function: Count
dependencies: 6