Question: How many literary genre do we know titled Gone with the Wind or that were nominated for National Book Award for Fiction ?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "literary genre" .  { ?e <title> ?pv . ?pv <pred:value> "Gone with the Wind" .  } UNION { ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "National Book Award for Fiction" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
Gone with the Wind
function: FilterConcept
dependencies: 1
inputs: literary genre
function: Find
inputs: National Book Award for Fiction
function: Relate
dependencies: 3
inputs: nominated for
backward
function: FilterConcept
dependencies: 4
inputs: literary genre
function: Or
dependencies: 2
5
function: Count
dependencies: 6