Question: How many first-level administrative country subdivisions are a part of Australia (whose subreddit is australia) or have the postal code 44-49?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 3
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "first-level administrative country subdivision" .  { ?e <part_of> ?e_1 . ?e_1 <pred:name> "Australia" . ?e_1 <subreddit> ?pv . ?pv <pred:value> "australia" .  } UNION { ?e <postal_code> ?pv . ?pv <pred:value> "44-49" .  } }
Program:
function: Find
inputs: Australia
function: FilterStr
dependencies: 0
inputs: subreddit
australia
function: Relate
dependencies: 1
inputs: part of
backward
function: FilterConcept
dependencies: 2
inputs: first-level administrative country subdivision
function: FindAll
function: FilterStr
dependencies: 4
inputs: postal code
44-49
function: FilterConcept
dependencies: 5
inputs: first-level administrative country subdivision
function: Or
dependencies: 3
6
function: Count
dependencies: 7