Question: How many elements of Protestantism match the religion of James Stewart, born 20th May 1908, and were also the official religion of Holy Roman Empire ?
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> "Protestantism" . ?e_1 <religion> ?e . ?e_1 <pred:name> "James Stewart" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1908-05-20"^^xsd:date .  ?e_2 <official_religion> ?e . ?e_2 <pred:name> "Holy Roman Empire" .  }
Program:
function: Find
inputs: James Stewart
function: FilterDate
dependencies: 0
inputs: date of birth
1908-05-20
=
function: Relate
dependencies: 1
inputs: religion
forward
function: FilterConcept
dependencies: 2
inputs: Protestantism
function: Find
inputs: Holy Roman Empire
function: Relate
dependencies: 4
inputs: official religion
forward
function: FilterConcept
dependencies: 5
inputs: Protestantism
function: And
dependencies: 3
6
function: Count
dependencies: 7
Answer: 0