Question: Which independent recording label is the one used by the person who married Nas in 2005?
Choices:
Arista Records
Sugar Hill Records
Hollywood Records
XL Recordings
Ninja Tune
Geffen Records
Epic Records
Beggars Banquet Records
Interscope Records
Epitaph Records
Program:
function: Find
inputs: Nas
function: Relate
dependencies: 0
inputs: spouse
forward
function: QFilterYear
dependencies: 1
inputs: start time
2005
=
function: FilterConcept
dependencies: 2
inputs: human
function: Relate
dependencies: 3
inputs: record label
forward
function: FilterConcept
dependencies: 4
inputs: independent record label
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "independent record label" . ?e_1 <record_label> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_2 <spouse> ?e_1 . ?e_2 <pred:name> "Nas" . [ <pred:fact_h> ?e_2 ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e_1 ] <start_time> ?qpv . ?qpv <pred:year> 2005 .   }
Answer: Ninja Tune