Question: How many real estate properties are associated with the Islamic faith or with the sport of soccer?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "real property" .  { ?e <religion> ?e_1 . ?e_1 <pred:name> "Islam" .  } UNION { ?e <sport> ?e_1 . ?e_1 <pred:name> "association football" .  } }
Program:
function: Find
inputs: Islam
function: Relate
dependencies: 0
inputs: religion
backward
function: FilterConcept
dependencies: 1
inputs: real property
function: Find
inputs: association football
function: Relate
dependencies: 3
inputs: sport
backward
function: FilterConcept
dependencies: 4
inputs: real property
function: Or
dependencies: 2
5
function: Count
dependencies: 6