Question: How many fictional people comprise the origin of Tarzana name, or that are known by tje Rocky nickname ?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "fictional human" .  { ?e_1 <named_after> ?e . ?e_1 <pred:name> "Tarzana" .  } UNION { ?e <nickname> ?pv . ?pv <pred:value> "Rocky" .  } }
Program:
function: Find
inputs: Tarzana
function: Relate
dependencies: 0
inputs: named after
forward
function: FilterConcept
dependencies: 1
inputs: fictional human
function: FindAll
function: FilterStr
dependencies: 3
inputs: nickname
Rocky
function: FilterConcept
dependencies: 4
inputs: fictional human
function: Or
dependencies: 2
5
function: Count
dependencies: 6