Question: How many land estates have religious buildings related to Catholic Church religion positioned there?
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> "estate in land" . ?e_1 <location> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "religious building" . ?e_1 <religion> ?e_3 . ?e_3 <pred:name> "Catholic Church" .   }
Program:
function: Find
inputs: Catholic Church
function: Relate
dependencies: 0
inputs: religion
backward
function: FilterConcept
dependencies: 1
inputs: religious building
function: Relate
dependencies: 2
inputs: location
forward
function: FilterConcept
dependencies: 3
inputs: estate in land
function: Count
dependencies: 4