Question: How many market towns are the residence of Peter O'Toole or are the twinned administrative body of New York City?
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> "market town" .  { ?e_1 <residence> ?e . ?e_1 <pred:name> "Peter O'Toole" .  } UNION { ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> "New York City" .  } }
Program:
function: Find
inputs: Peter O'Toole
function: Relate
dependencies: 0
inputs: residence
forward
function: FilterConcept
dependencies: 1
inputs: market town
function: Find
inputs: New York City
function: Relate
dependencies: 3
inputs: twinned administrative body
forward
function: FilterConcept
dependencies: 4
inputs: market town
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 0