What is {follows} and {followed by} of {{Saladin} has {noble title} as {emir of Damascus}}
Who is the follower of the emir of Damascus and who is followed by him?
Who follows the emir of Damascus Saladin and who does he follow?
SELECT ?a ?x WHERE { ?w property:followed_by ?x . ?w property:noble_title resource:emir_of_Damascus . ?w property:follows ?a . resource:Saladin property:noble_title ?w }
select distinct ?value1 ?value2 where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q8581> . ?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/Q54493575>. ?statement <http://www.wikidata.org/entity/P580> ?value1 . ?statement <http://www.wikidata.org/entity/P2842> ?value2 } 
SELECT ?value1 ?value2 WHERE { wd:Q8581 p:P97 ?s . ?s ps:P97 wd:Q54493575 . ?s pq:P155 ?value1 . ?s pq:P156 ?value2 }