What is {end time} and {follows} of {{Louis II of Italy} has {noble title} as {emperor of Occident}}
When did the Louis II of Italy title as Emperor of Occident end?
When did the Louis II of Italy title as Emperor of Occident end?
SELECT ?m ?p WHERE { resource:Louis_II_of_Italy property:noble_title ?q . ?q property:follows ?p . ?q property:noble_title resource:emperor_of_Occident . ?q property:end_time ?m }
select distinct ?value1 ?value2 where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q215204> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P97> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q23906200>. ?statement <http://www.wikidata.org/entity/P580> ?value1 . ?statement <http://www.wikidata.org/entity/P2842> ?value2 } 
SELECT ?value1 ?value2 WHERE { wd:Q215204 p:P97 ?s . ?s ps:P97 wd:Q23906200 . ?s pq:P582 ?value1 . ?s pq:P155 ?value2 }