When was Nigel Farage a member of the European Parliament?
SELECT ?value WHERE { wd:Q318471 p:P39 ?s . ?s ps:P39 wd:Q27169 . ?s pq:P580 ?value}
nigel farage: Q318471 member of the european parliament: Q27169