Question: How many unitary states are the birthplace of Suresh Gopi or the residence of Elizabeth Sarnoff?
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> "unitary state" .  { ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Suresh Gopi" .  } UNION { ?e_1 <residence> ?e . ?e_1 <pred:name> "Elizabeth Sarnoff" .  } }
Program:
function: Find
inputs: Suresh Gopi
function: Relate
dependencies: 0
inputs: place of birth
forward
function: FilterConcept
dependencies: 1
inputs: unitary state
function: Find
inputs: Elizabeth Sarnoff
function: Relate
dependencies: 3
inputs: residence
forward
function: FilterConcept
dependencies: 4
inputs: unitary state
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 0