How many {exhibition history} are to/by {Indianapolis Museum of Art} ?
Which is the number of history exhibitions at the Indianapolis Museum of Art?
How many history exhibitions are at the Indianapolis Museum of Art?
SELECT ( COUNT ( ?h ) AS ?y ) { ?h property:exhibition_history resource:Indianapolis_Museum_of_Art }
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/P608> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q1117704 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P608 wd:Q1117704 }
4