Question: What is the character role of Colm Meaney in Star Trek: The Next Generation (the one whose start time is 1987-09-28)?
Choices:
John Doggett
Sybill Trelawney
Sammy Jo Carrington
Antonio Salieri
Manute
Elliot Carver
Wynnchel
Miles O'Brien
Christopher Pike
Carl Carlson
Answer: Miles O'Brien
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Star Trek: The Next Generation" . ?e_1 <start_time> ?pv . ?pv <pred:date> "1987-09-28"^^xsd:date . ?e_2 <pred:name> "Colm Meaney" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }
Program:
function: Find
inputs: Star Trek: The Next Generation
function: FilterDate
dependencies: 0
inputs: start time
1987-09-28
=
function: Find
inputs: Colm Meaney
function: QueryRelationQualifier
dependencies: 1
2
inputs: cast member
character role