How many {patron} are to/by {Napoleon} ?
What type of patron was Napoleon?
SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P1962 wd:Q517 }
SELECT (COUNT(?sub) AS ?subs ) {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?sub .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1962> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q517 .
} 

What type of benefactor was Napoleon?