What is {child} of {Pedro I} and {date of death}
What are the three phases of water and what are their respective pressures?
Who is Pedro I's child and when were they born?
SELECT ?v ?m WHERE { ?l property:date_of_death ?v . . resource:Pedro_I_of_Brazil property:child ?l . ?l property:child ?m }
select distinct ?dataprop1 ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q939> . ?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> ?obj . ?statement <http://www.wikidata.org/entity/P580> ?dataprop1 . } 
SELECT ?value1 ?obj WHERE { wd:Q939 p:P40 ?s . ?s ps:P40 ?obj . ?s pq:P570 ?value1 . }