Question: What television originally broadcasted Pretty Little Liars, which stopped running on 2017-06-27?
Choices:
NBC
CITV
CTV Television Network
TV Asahi
ESPN
Global Television Network
Korean Broadcasting System
Lifetime
Univision
Freeform
Answer: Freeform
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television station" . ?e_1 <original_network> ?e . ?e_1 <pred:name> "Pretty Little Liars" . ?e_1 <end_time> ?pv . ?pv <pred:date> "2017-06-27"^^xsd:date .   }
Program:
function: Find
inputs: Pretty Little Liars
function: FilterDate
dependencies: 0
inputs: end time
2017-06-27
=
function: Relate
dependencies: 1
inputs: original network
forward
function: FilterConcept
dependencies: 2
inputs: television station
function: What
dependencies: 3