Question: Tell me how many London area is the place where Isaach Newton died or who has a TOID is 4000000074559233
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "area of London" .  { ?e_1 <place_of_death> ?e . ?e_1 <pred:name> "Isaac Newton" .  } UNION { ?e <TOID> ?pv . ?pv <pred:value> "4000000074559233" .  } }
Program:
function: Find
inputs: Isaac Newton
function: Relate
dependencies: 0
inputs: place of death
forward
function: FilterConcept
dependencies: 1
inputs: area of London
function: FindAll
function: FilterStr
dependencies: 3
inputs: TOID
4000000074559233
function: FilterConcept
dependencies: 4
inputs: area of London
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2