What is {writer} of {On Liberty}, that has {birth date} is {1806-5-20} ?
Who is the creator of On Liberty who's birthday is May 20, 1806?
Who is the writer of On Liberty who's birthday is May 20, 1806?
SELECT ?k WHERE { FILTER ( CONTAINS ( YEAR ( ?t ) , '1806' ) ) . resource:On_Liberty property:author ?k . ?k property:date_of_birth ?t }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1055881> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P50>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?answer. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P569> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <1806-5-20> . }
SELECT ?answer WHERE { wd:Q1055881 wdt:P50 ?answer . ?answer wdt:P569 ?x FILTER(contains(YEAR(?x),'1806'))}
John Stuart Mill