What is {start time} and {end time} of {{Alfred Marshall} has {residence} as {Marshall House, Cambridge}}
From when and till when did Alfred Marshall live in Marshall House, Cambridge?
From when and until when did Alfred Marshall reside in Marshall House, Cambridge?
SELECT ?t ?l WHERE { resource:Alfred_Marshall property:residence ?x . ?x property:residence resource:Marshall_House,_Cambridge . ?x property:end_time ?l . ?x property:start_time ?t }
select distinct ?value1 ?value2 where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q13529> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P551> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q6773623>. ?statement <http://www.wikidata.org/entity/P580> ?value1 . ?statement <http://www.wikidata.org/entity/P2842> ?value2 } 
SELECT ?value1 ?value2 WHERE { wd:Q13529 p:P551 ?s . ?s ps:P551 wd:Q6773623 . ?s pq:P580 ?value1 . ?s pq:P582 ?value2 }