Question: How many rock music's inception time is not in 1978 or include famous people Asia (which is famous for art rock)?
Choices:
55
56
57
58
59
60
61
62
63
64
Answer: 60
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "rock music" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1978 ) .  } UNION { ?e <famous_people> ?e_1 . ?e_1 <pred:name> "Asia" . ?e_2 <famous_people> ?e_1 . ?e_2 <pred:name> "art rock" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1978
!=
function: FilterConcept
dependencies: 1
inputs: rock music
function: Find
inputs: art rock
function: Relate
dependencies: 3
inputs: famous people
forward
function: Find
inputs: Asia
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: famous people
backward
function: FilterConcept
dependencies: 7
inputs: rock music
function: Or
dependencies: 2
8
function: Count
dependencies: 9