Question: How many literary works whose title is Sense and Sensibility or whose ISBN-13 is 978-972-23-4916-1?
Choices:
2
3
4
5
6
7
8
9
10
11
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "literary work" .  { ?e <title> ?pv . ?pv <pred:value> "Sense and Sensibility" .  } UNION { ?e <ISBN-13> ?pv . ?pv <pred:value> "978-972-23-4916-1" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
Sense and Sensibility
function: FilterConcept
dependencies: 1
inputs: literary work
function: FindAll
function: FilterStr
dependencies: 3
inputs: ISBN-13
978-972-23-4916-1
function: FilterConcept
dependencies: 4
inputs: literary work
function: Or
dependencies: 2
5
function: Count
dependencies: 6