What is {date of death} and {date of birth} of {{Louis IX of France} has {child} as {John Tristan, Count of Valois}}
When is { the date of death } and { the date of birth } of { { France's Louis IX } who has { child } as { Count of Valois } }?
When is {date of death} and {date of birth} of {{Louis IX of France} who has {child} as {John Tristan, Count of Valois}}?
SELECT ?t ?c WHERE { ?v property:date_of_birth ?c . ?v property:date_of_death ?t . ?v property:child resource:John_Tristan,_Count_of_Valois . resource:Louis_IX_of_France property:child ?v }
select distinct ?value1 ?value2 where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q346> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P40> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q648617>. ?statement <http://www.wikidata.org/entity/P580> ?value1 . ?statement <http://www.wikidata.org/entity/P2842> ?value2 } 
SELECT ?value1 ?value2 WHERE { wd:Q346 p:P40 ?s . ?s ps:P40 wd:Q648617 . ?s pq:P570 ?value1 . ?s pq:P569 ?value2 }