Question: How many businesses do we recognize that represent the production company of The Transformers: The Movie or that make Tyrone Power (the one whose ISNI is 0000 0000 6667 3751) a manager ?
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> "business" .  { ?e_1 <production_company> ?e . ?e_1 <pred:name> "The Transformers: The Movie" .  } UNION { ?e <director/manager> ?e_1 . ?e_1 <pred:name> "Tyrone Power" . ?e_1 <ISNI> ?pv . ?pv <pred:value> "0000 0000 6667 3751" .  } }
Program:
function: Find
inputs: The Transformers: The Movie
function: Relate
dependencies: 0
inputs: production company
forward
function: FilterConcept
dependencies: 1
inputs: business
function: Find
inputs: Tyrone Power
function: FilterStr
dependencies: 3
inputs: ISNI
0000 0000 6667 3751
function: Relate
dependencies: 4
inputs: director/manager
backward
function: FilterConcept
dependencies: 5
inputs: business
function: Or
dependencies: 2
6
function: Count
dependencies: 7