Question: How many music pieces we know that influenced Robert Young (the one that is a member of Los Angeles Rams) or that were created after 1968 ?
Choices: 101
102
103
104
105
106
107
108
109
110
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "music" .  { ?e_1 <influenced_by> ?e . ?e_1 <pred:name> "Robert Young" . ?e_1 <member_of_sports_team> ?e_2 . ?e_2 <pred:name> "Los Angeles Rams" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1968 ) .  } }
Program:
function: Find
inputs: Los Angeles Rams
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Robert Young
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: influenced by
forward
function: FilterConcept
dependencies: 4
inputs: music
function: FindAll
function: FilterYear
dependencies: 6
inputs: inception
1968
>
function: FilterConcept
dependencies: 7
inputs: music
function: Or
dependencies: 5
8
function: Count
dependencies: 9
Answer: 107