What is {follows} and {followed by} of {{Anne of Green Gables} has {series} as {Anne of Green Gables}}
Who played Anne of Green Gables after Green Gables as anne.
Mention the predecessor and the successor of Anne of Green Gables while playing in Green Gables as Anne
SELECT ?d ?c WHERE { ?n property:part_of_the_series resource:Anne_of_Green_Gables . resource:Anne_of_Green_Gables property:part_of_the_series ?n . ?n property:followed_by ?c . ?n property:follows ?d }
select distinct ?value1 ?value2 where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q565911> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P179> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q3209782>. ?statement <http://www.wikidata.org/entity/P580> ?value1 . ?statement <http://www.wikidata.org/entity/P2842> ?value2 } 
SELECT ?value1 ?value2 WHERE { wd:Q565911 p:P179 ?s . ?s ps:P179 wd:Q3209782 . ?s pq:P155 ?value1 . ?s pq:P156 ?value2 }