Question: How many independent-record labels' Instagram username is ninjatunehq or headquarter location is London (the one whose local dialing code is 1737)?
Choices:
2
3
4
5
6
7
8
9
10
11
Answer: 3
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "independent record label" .  { ?e <Instagram_username> ?pv . ?pv <pred:value> "ninjatunehq" .  } UNION { ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> "London" . ?e_1 <local_dialing_code> ?pv . ?pv <pred:value> "1737" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Instagram username
ninjatunehq
function: FilterConcept
dependencies: 1
inputs: independent record label
function: Find
inputs: London
function: FilterStr
dependencies: 3
inputs: local dialing code
1737
function: Relate
dependencies: 4
inputs: headquarters location
backward
function: FilterConcept
dependencies: 5
inputs: independent record label
function: Or
dependencies: 2
6
function: Count
dependencies: 7