what is the {object has role} for {power} has {significant person} as {Niccolò Machiavelli} ?
Niccolò Machiavelli played a leader and historical figure in what role?
What role did Niccolò Machiavelli play as a leader and historical figure?
SELECT ?r WHERE { ?f property:significant_person resource:Niccolò_Machiavelli . resource:Power property:significant_person ?f . ?f property:object_has_role ?r }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q25107> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P3342> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q1399> .
?statement <http://www.wikidata.org/entity/P3831> ?value. 
} 

SELECT ?value WHERE { wd:Q25107 p:P3342 ?s . ?s ps:P3342 wd:Q1399 . ?s pq:P3831 ?value}