Question: How many estates are in the land whose location is Kōbe or whose native label is تاج محل?
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> "estate in land" .  { ?e <location> ?e_1 . ?e_1 <pred:name> "Kōbe" .  } UNION { ?e <native_label> ?pv . ?pv <pred:value> "تاج محل" .  } }
Program:
function: Find
inputs: Kōbe
function: Relate
dependencies: 0
inputs: location
backward
function: FilterConcept
dependencies: 1
inputs: estate in land
function: FindAll
function: FilterStr
dependencies: 3
inputs: native label
تاج محل
function: FilterConcept
dependencies: 4
inputs: estate in land
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 1