Question: How many art schools are a part of the University of New South Wales or whose country is the U.K.?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 5
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "art school" .  { ?e <part_of> ?e_1 . ?e_1 <pred:name> "University of New South Wales" .  } UNION { ?e <country> ?e_1 . ?e_1 <pred:name> "United Kingdom" .  } }
Program:
function: Find
inputs: University of New South Wales
function: Relate
dependencies: 0
inputs: part of
backward
function: FilterConcept
dependencies: 1
inputs: art school
function: Find
inputs: United Kingdom
function: Relate
dependencies: 3
inputs: country
backward
function: FilterConcept
dependencies: 4
inputs: art school
function: Or
dependencies: 2
5
function: Count
dependencies: 6