Question: How many subsidiaries are there of the company, headquartered in Los Angeles, whose Twitter username is UMG?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "subsidiary company" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> "Los Angeles" .  ?e <Twitter_username> ?pv . ?pv <pred:value> "UMG" .  }
Program:
function: Find
inputs: Los Angeles
function: Relate
dependencies: 0
inputs: headquarters location
backward
function: FilterConcept
dependencies: 1
inputs: subsidiary company
function: FindAll
function: FilterStr
dependencies: 3
inputs: Twitter username
UMG
function: FilterConcept
dependencies: 4
inputs: subsidiary company
function: And
dependencies: 2
5
function: Count
dependencies: 6