Question: How many real properties have the religion of Islam or are the death place of David Robb (who received a Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series)?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
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_1 <place_of_death> ?e . ?e_1 <pred:name> "David Robb" . ?e_1 <award_received> ?e_2 . ?e_2 <pred:name> "Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series" .  } }
Program:
function: Find
inputs: Islam
function: Relate
dependencies: 0
inputs: religion
backward
function: FilterConcept
dependencies: 1
inputs: real property
function: Find
inputs: Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series
function: Relate
dependencies: 3
inputs: award received
backward
function: Find
inputs: David Robb
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: place of death
forward
function: FilterConcept
dependencies: 7
inputs: real property
function: Or
dependencies: 2
8
function: Count
dependencies: 9