Question: What are the number of social groups which have Mission Revival architecture as a part or is the family of George V ?
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> "social group" .  { ?e_1 <part_of> ?e . ?e_1 <pred:name> "Mission Revival architecture" .  } UNION { ?e_1 <family> ?e . ?e_1 <pred:name> "George V" .  } }
Program:
function: Find
inputs: Mission Revival architecture
function: Relate
dependencies: 0
inputs: part of
forward
function: FilterConcept
dependencies: 1
inputs: social group
function: Find
inputs: George V
function: Relate
dependencies: 3
inputs: family
forward
function: FilterConcept
dependencies: 4
inputs: social group
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 1