Question: What number of rock music features the famous person Kid Rock or were not founded in 1978?
Choices:
60
61
62
63
64
65
66
67
68
69
Answer: 60
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "rock music" .  { ?e <famous_people> ?e_1 . ?e_1 <pred:name> "Kid Rock" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1978 ) .  } }
Program:
function: Find
inputs: Kid Rock
function: Relate
dependencies: 0
inputs: famous people
backward
function: FilterConcept
dependencies: 1
inputs: rock music
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1978
!=
function: FilterConcept
dependencies: 4
inputs: rock music
function: Or
dependencies: 2
5
function: Count
dependencies: 6