Question: What is the ordinal of Beauty and the Beast series, released in Canada, counting Tim Allen (Twitter username TimAnimation) as the crew member?
Choices:
32
90
12
40
171
33
31
17
20
25
Answer: 17
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Beauty and the Beast" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> "Canada" . ?e_2 <pred:name> "Tim Allen" . ?e_2 <Twitter_username> ?pv . ?pv <pred:value> "TimAnimation" . ?e_1 <film_crew_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <film_crew_member> ; <pred:fact_t> ?e_2 ] <series_ordinal> ?qpv .  }
Program:
function: Find
inputs: Canada
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Beauty and the Beast
function: And
dependencies: 1
2
function: Find
inputs: Tim Allen
function: FilterStr
dependencies: 4
inputs: Twitter username
TimAnimation
function: QueryRelationQualifier
dependencies: 3
5
inputs: film crew member
series ordinal