Question: How many writings were authored by Ian Fleming, born on 28th May 1908?
Choices:
4
5
6
7
8
9
10
11
12
13
Answer: 10
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "written work" . ?e <author> ?e_1 . ?e_1 <pred:name> "Ian Fleming" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1908-05-28"^^xsd:date .   }
Program:
function: Find
inputs: Ian Fleming
function: FilterDate
dependencies: 0
inputs: date of birth
1908-05-28
=
function: Relate
dependencies: 1
inputs: author
backward
function: FilterConcept
dependencies: 2
inputs: written work
function: Count
dependencies: 3