Question: How many media franchise that is a common belongings of horse or that has character Son Goku.
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "media franchise" .  { ?e_1 <properties_for_this_type> ?e . ?e_1 <pred:name> "horse" .  } UNION { ?e <characters> ?e_1 . ?e_1 <pred:name> "Son Goku" .  } }
Program:
function: Find
inputs: horse
function: Relate
dependencies: 0
inputs: properties for this type
forward
function: FilterConcept
dependencies: 1
inputs: media franchise
function: Find
inputs: Son Goku
function: Relate
dependencies: 3
inputs: characters
backward
function: FilterConcept
dependencies: 4
inputs: media franchise
function: Or
dependencies: 2
5
function: Count
dependencies: 6