Question: What number of series Law & Order (the one with the origins in the United States of America) is associated with English-language Showtime ?
Choices:
68
4
64
49
2
26
151
34
36
31
Answer: 151
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Showtime" . ?e_1 <language_of_work_or_name> ?e_3 . ?e_3 <pred:name> "English" . ?e_2 <pred:name> "Law & Order" . ?e_2 <country_of_origin> ?e_4 . ?e_4 <pred:name> "United States of America" . ?e_1 <part_of_the_series> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <part_of_the_series> ; <pred:fact_t> ?e_2 ] <series_ordinal> ?qpv .  }
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: language of work or name
backward
function: Find
inputs: Showtime
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: Relate
dependencies: 4
inputs: country of origin
backward
function: Find
inputs: Law & Order
function: And
dependencies: 5
6
function: QueryRelationQualifier
dependencies: 3
7
inputs: part of the series
series ordinal