How many {military casualty classification} are to/by {prisoner of war} ?
What is the number of Military casualty Classifications are in the prisoners of war?
How many military casualty classification are in the prisoner of war?
SELECT ( COUNT ( ?l ) AS ?y ) { ?l property:military_casualty_classification resource:prisoner_of_war }
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/P1347> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q179637 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P1347 wd:Q179637 }
152