Question: How many independent record labels were started before 1999 or how many are there that are headquartered in New York that has a population of 13479142?
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> "independent record label" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1990 ) .  } UNION { ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> "New York" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "13479142"^^xsd:double .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1990
<
function: FilterConcept
dependencies: 1
inputs: independent record label
function: Find
inputs: New York
function: FilterNum
dependencies: 3
inputs: population
13479142
=
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
Answer: 3