what is the {point in time} for {Terry Pratchett} has {nominated for} as {Locus Award for Best Fantasy Novel} ?
Terry Pratchett was nominated for the Locus Award for Best Fantasy Novel in which year?
When was Terry Pratchett nominated for the Locus Award for Best Fantasy Novel?
SELECT ?v WHERE { ?j property:nominated_for resource:Locus_Award_for_Best_Fantasy_Novel . ?j property:point_in_time ?v . resource:Terry_Pratchett property:nominated_for ?j }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q46248> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1411> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q607354> .
?statement <http://www.wikidata.org/entity/P585> ?value. 
} 

SELECT ?value WHERE { wd:Q46248 p:P1411 ?s . ?s ps:P1411 wd:Q607354 . ?s pq:P585 ?value}