what is the {point in time} for {Sarah Michelle Gellar} has {award received} as {Teen Choice Award for Best Villain} ?
In what year did Sarah Michelle Gellar win the Teen Choice Award for Best Villain?
When did Sarah Michelle Gellar win the Teen Choice Award for Best Villain?
SELECT ?e WHERE { ?m property:point_in_time ?e . resource:Sarah_Michelle_Gellar property:award_received ?m . ?m property:award_received resource:Teen_Choice_Award_for_Best_Villain }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q180665> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P166> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q17011060> .
?statement <http://www.wikidata.org/entity/P585> ?value. 
} 

SELECT ?value WHERE { wd:Q180665 p:P166 ?s . ?s ps:P166 wd:Q17011060 . ?s pq:P585 ?value}