Question: How many German states belonged to Nazi Germany or served as the burial place of Danny Huston ?
Choices: 3
4
5
6
7
8
9
10
11
12
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state of Germany" .  { ?e <country> ?e_1 . ?e_1 <pred:name> "Nazi Germany" .  } UNION { ?e_1 <place_of_burial> ?e . ?e_1 <pred:name> "Danny Huston" .  } }
Program:
function: Find
inputs: Nazi Germany
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: state of Germany
function: Find
inputs: Danny Huston
function: Relate
dependencies: 3
inputs: place of burial
forward
function: FilterConcept
dependencies: 4
inputs: state of Germany
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 3