Question: Who are the politicians in John F. Kennedy's family who ended their government position after 1940?
Answer(s):
answer: Ted Kennedy
answer: Robert F. Kennedy

SPARQL query:
#MANUAL SPARQL
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT DISTINCT ?x
WHERE {
	FILTER (?x != ns:m.0d3k14)
	{ 
	  # Parents
	  ns:m.0d3k14 ns:people.person.parents ?x .
	}
	UNION
	{
	  # Children
	  ns:m.0d3k14 ns:people.person.children ?x .
	}
	UNION
	{
	  # Siblings
	  ns:m.0d3k14 ns:people.person.sibling_s ?y .
	  ?y ns:people.sibling_relationship.sibling ?x .
	}
	UNION
	{
	  # Spouse
	  ns:m.0d3k14 ns:people.person.spouse_s ?y .
	  ?y ns:people.marriage.spouse ?x .
	  ?y ns:people.marriage.type_of_union ns:m.04ztj .
	  FILTER (NOT EXISTS {?y ns:people.marriage.to []})
	}?x ns:government.politician.government_positions_held ?c .
?c ns:government.government_position_held.to ?num .
FILTER (?num > "1940"^^xsd:dateTime) . 
}