What is {notable work} of {Thomas Nagel} that is {publication date} is {2012-0-0} ?
Name Thomas Nagel's 2012 published work
What notable work did Thomas Nagel publish in 2012?
SELECT ?e WHERE { ?u property:publication_date ?s . ?u property:notable_work ?e . FILTER ( CONTAINS ( YEAR ( ?s ) , '2012' ) ) . resource:Thomas_Nagel property:notable_work ?u }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q350239> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P800> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P577> <2012-0-0>
} 

SELECT ?obj WHERE { wd:Q350239 p:P800 ?s . ?s ps:P800 ?obj . ?s pq:P577 ?x filter(contains(YEAR(?x),'2012')) }