What is {followed by} and {follows} of {{Louis II of Italy} has {noble title} as {monarch of Italy}}
Who is the monarch of Italy that followed Louis II?
Who was the follower of Louis II of Italy who has a noble title as monarch of Italy?
SELECT ?q ?p WHERE { resource:Louis_II_of_Italy property:noble_title ?i . ?i property:noble_title resource:monarch_of_Italy . ?i property:follows ?p . ?i property:followed_by ?q }
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/Q271148>. ?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:Q271148 . ?s pq:P156 ?value1 . ?s pq:P155 ?value2 }