Question: Brothers, with a 45-minute run-time, has what connection to Star Trek: The Next Generation, abbreviated TNG?
Choices:
part of the series
sponsor
diplomatic relation
place of death
medical treatment
dedicated to
owner of
location of formation
contributor(s) to the creative work
conflict
Answer: part of the series
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Brothers" . ?e_1 <duration> ?pv . ?pv <pred:unit> "minute" . ?pv <pred:value> "45"^^xsd:double . ?e_2 <pred:name> "Star Trek: The Next Generation" . ?e_2 <short_name> ?pv_1 . ?pv_1 <pred:value> "TNG" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Brothers
function: FilterNum
dependencies: 0
inputs: duration
45 minute
=
function: Find
inputs: Star Trek: The Next Generation
function: FilterStr
dependencies: 2
inputs: short name
TNG
function: QueryRelation
dependencies: 1
3