Question: How many record labels are owned by Metro-Goldwyn-Mayer or have an inception time not in 1945?
Choices: 130
131
132
133
134
135
136
137
138
139
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "record label" .  { ?e <owned_by> ?e_1 . ?e_1 <pred:name> "Metro-Goldwyn-Mayer" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1945 ) .  } }
Program:
function: Find
inputs: Metro-Goldwyn-Mayer
function: Relate
dependencies: 0
inputs: owned by
backward
function: FilterConcept
dependencies: 1
inputs: record label
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1945
!=
function: FilterConcept
dependencies: 4
inputs: record label
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 138