Question: How many TV production companies have an ISNI of 0000 0000 9350 6633 or are the distributor of Lost in Space (whose number of episodes is 83)?
Choices:
2
3
4
5
6
7
8
9
10
11
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "TV production company" .  { ?e <ISNI> ?pv . ?pv <pred:value> "0000 0000 9350 6633" .  } UNION { ?e_1 <distributor> ?e . ?e_1 <pred:name> "Lost in Space" . ?e_1 <number_of_episodes> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "83"^^xsd:double .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ISNI
0000 0000 9350 6633
function: FilterConcept
dependencies: 1
inputs: TV production company
function: Find
inputs: Lost in Space
function: FilterNum
dependencies: 3
inputs: number of episodes
83
=
function: Relate
dependencies: 4
inputs: distributor
forward
function: FilterConcept
dependencies: 5
inputs: TV production company
function: Or
dependencies: 2
6
function: Count
dependencies: 7