what is the {end time} for {All My Children} has {original network} as {The Online Network} ?
When was the final time of  All My Children on the original network and The Online Network?
What was the end time for All My Children on the original network and The Online Network?
SELECT ?l WHERE { ?y property:original_broadcaster resource:The_Online_Network . resource:All_My_Children property:original_broadcaster ?y . ?y property:end_time ?l }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q205474> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P449> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q22566818> .
?statement <http://www.wikidata.org/entity/P582> ?value. 
} 

SELECT ?value WHERE { wd:Q205474 p:P449 ?s . ?s ps:P449 wd:Q22566818 . ?s pq:P582 ?value}