Question: How many awards for literature were earned by Joe Haldeman or are affiliated with the website www.theguardian.com/books/guardianchildrensfictionprize?
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> "literary award" .  { ?e <winner> ?e_1 . ?e_1 <pred:name> "Joe Haldeman" .  } UNION { ?e <official_website> ?pv . ?pv <pred:value> "http://www.theguardian.com/books/guardianchildrensfictionprize" .  } }
Program:
function: Find
inputs: Joe Haldeman
function: Relate
dependencies: 0
inputs: winner
backward
function: FilterConcept
dependencies: 1
inputs: literary award
function: FindAll
function: FilterStr
dependencies: 3
inputs: official website
http://www.theguardian.com/books/guardianchildrensfictionprize
function: FilterConcept
dependencies: 4
inputs: literary award
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 9