Question: How many capitals are a common property of Warner Home Video or Roundhead?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "capital" .  { ?e_1 <properties_for_this_type> ?e . ?e_1 <pred:name> "Warner Home Video" .  } UNION { ?e_1 <properties_for_this_type> ?e . ?e_1 <pred:name> "Roundhead" .  } }
Program:
function: Find
inputs: Warner Home Video
function: Relate
dependencies: 0
inputs: properties for this type
forward
function: FilterConcept
dependencies: 1
inputs: capital
function: Find
inputs: Roundhead
function: Relate
dependencies: 3
inputs: properties for this type
forward
function: FilterConcept
dependencies: 4
inputs: capital
function: Or
dependencies: 2
5
function: Count
dependencies: 6