Question: How many religious buildings have the patron saint John Ford (who is educated at the University of Tulsa) and the ARCHON code 119?
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> "religious building" . ?e <patron_saint> ?e_1 . ?e_1 <pred:name> "John Ford" . ?e_1 <educated_at> ?e_2 . ?e_2 <pred:name> "University of Tulsa" .  ?e <ARCHON_code> ?pv . ?pv <pred:value> "119" .  }
Program:
function: Find
inputs: University of Tulsa
function: Relate
dependencies: 0
inputs: educated at
backward
function: Find
inputs: John Ford
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: patron saint
backward
function: FilterConcept
dependencies: 4
inputs: religious building
function: FindAll
function: FilterStr
dependencies: 6
inputs: ARCHON code
119
function: FilterConcept
dependencies: 7
inputs: religious building
function: And
dependencies: 5
8
function: Count
dependencies: 9
Answer: 0