Question: What is the number of MTV Video Music Awards that are won by Lauryn Hill or were received by the Beastie Boys (that originate in the United States of America)?
Choices: 2
3
4
5
6
7
8
9
10
11
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "MTV Video Music Award" .  { ?e <winner> ?e_1 . ?e_1 <pred:name> "Lauryn Hill" .  } UNION { ?e_1 <award_received> ?e . ?e_1 <pred:name> "Beastie Boys" . ?e_1 <country_of_origin> ?e_2 . ?e_2 <pred:name> "United States of America" .  } }
Program:
function: Find
inputs: Lauryn Hill
function: Relate
dependencies: 0
inputs: winner
backward
function: FilterConcept
dependencies: 1
inputs: MTV Video Music Award
function: Find
inputs: United States of America
function: Relate
dependencies: 3
inputs: country of origin
backward
function: Find
inputs: Beastie Boys
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: award received
forward
function: FilterConcept
dependencies: 7
inputs: MTV Video Music Award
function: Or
dependencies: 2
8
function: Count
dependencies: 9
Answer: 4