Question: How many port cities have the ISNI 0000 0004 5987 8563 or are the filming location of Vicky Cristina Barcelona?
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> "port city" .  { ?e <ISNI> ?pv . ?pv <pred:value> "0000 0004 5987 8563" .  } UNION { ?e_1 <filming_location> ?e . ?e_1 <pred:name> "Vicky Cristina Barcelona" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ISNI
0000 0004 5987 8563
function: FilterConcept
dependencies: 1
inputs: port city
function: Find
inputs: Vicky Cristina Barcelona
function: Relate
dependencies: 3
inputs: filming location
forward
function: FilterConcept
dependencies: 4
inputs: port city
function: Or
dependencies: 2
5
function: Count
dependencies: 6