Question: How many movie genres have Joe Jackson (the one that is a member of Toronto Argonauts) as their composer, and a duration over 9.3 hours?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film genre" . ?e <composer> ?e_1 . ?e_1 <pred:name> "Joe Jackson" . ?e_1 <member_of_sports_team> ?e_2 . ?e_2 <pred:name> "Toronto Argonauts" .  ?e <duration> ?pv . ?pv <pred:unit> "hour" . ?pv <pred:value> ?v . FILTER ( ?v > "9.3"^^xsd:double ) .  }
Program:
function: Find
inputs: Toronto Argonauts
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Joe Jackson
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: composer
backward
function: FilterConcept
dependencies: 4
inputs: film genre
function: FindAll
function: FilterNum
dependencies: 6
inputs: duration
9.3 hour
>
function: FilterConcept
dependencies: 7
inputs: film genre
function: And
dependencies: 5
8
function: Count
dependencies: 9
Answer: 0