Question: How numerous course of grant that's won by Michel Legrand or whose official site is http://www.bafta.org/
Choices:
11
12
13
14
15
16
17
18
19
20
Answer: 13
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "class of award" .  { ?e <winner> ?e_1 . ?e_1 <pred:name> "Michel Legrand" .  } UNION { ?e <official_website> ?pv . ?pv <pred:value> "http://www.bafta.org/" .  } }
Program:
function: Find
inputs: Michel Legrand
function: Relate
dependencies: 0
inputs: winner
backward
function: FilterConcept
dependencies: 1
inputs: class of award
function: FindAll
function: FilterStr
dependencies: 3
inputs: official website
http://www.bafta.org/
function: FilterConcept
dependencies: 4
inputs: class of award
function: Or
dependencies: 2
5
function: Count
dependencies: 6