How many {candidate} are to/by {Emmanuel Macron} ?
I want to know more about the candidate Emmanuel Macron.
Who is the candidate Emmanuel Macron?
SELECT ( COUNT ( ?a ) AS ?t ) { ?a property:candidate resource:Emmanuel_Macron }
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/P726> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q3052772 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P726 wd:Q3052772 }
4