Question: How many authors are out there who work in the field of  300 (the one whose ISBN-13 is 978-1-56971-402-7) or in the field of poetry ?
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> "author" .  { ?e <field_of_this_occupation> ?e_1 . ?e_1 <pred:name> "300" . ?e_1 <ISBN-13> ?pv . ?pv <pred:value> "978-1-56971-402-7" .  } UNION { ?e <field_of_this_occupation> ?e_1 . ?e_1 <pred:name> "poetry" .  } }
Program:
function: Find
inputs: 300
function: FilterStr
dependencies: 0
inputs: ISBN-13
978-1-56971-402-7
function: Relate
dependencies: 1
inputs: field of this occupation
backward
function: FilterConcept
dependencies: 2
inputs: author
function: Find
inputs: poetry
function: Relate
dependencies: 4
inputs: field of this occupation
backward
function: FilterConcept
dependencies: 5
inputs: author
function: Or
dependencies: 3
6
function: Count
dependencies: 7
Answer: 1