Question: Connie Willis or Cory Doctorow earned how many awards for literature?
Choices:
6
7
8
9
10
11
12
13
14
15
Program:
function: Find
inputs: Connie Willis
function: Relate
dependencies: 0
inputs: winner
backward
function: FilterConcept
dependencies: 1
inputs: literary award
function: Find
inputs: Cory Doctorow
function: Relate
dependencies: 3
inputs: winner
backward
function: FilterConcept
dependencies: 4
inputs: literary award
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "literary award" .  { ?e <winner> ?e_1 . ?e_1 <pred:name> "Connie Willis" .  } UNION { ?e <winner> ?e_1 . ?e_1 <pred:name> "Cory Doctorow" .  } }
Answer: 12