Question: What number of church buildings are named after James Stewart (the one whose date of birth is 1831-02-14)?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "church building" . ?e <named_after> ?e_1 . ?e_1 <pred:name> "James Stewart" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1831-02-14"^^xsd:date .   }
Program:
function: Find
inputs: James Stewart
function: FilterDate
dependencies: 0
inputs: date of birth
1831-02-14
=
function: Relate
dependencies: 1
inputs: named after
backward
function: FilterConcept
dependencies: 2
inputs: church building
function: Count
dependencies: 3