How many {affiliation} are to/by {Hebrew University of Jerusalem} ?
What countries share borders with Chile?
What is the affiliation of the Hebrew University of Jerusalem?
SELECT ( COUNT ( ?z ) AS ?d ) { ?z property:affiliation resource:Hebrew_University_of_Jerusalem }
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/P1416> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q174158 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P1416 wd:Q174158 }
15