Translations:Project:SPARQL/examples/39/en

From Resistance in Belgium

SELECT ?organisation ?organisationLabel (COUNT(?person) AS ?numberOfMembers) WHERE {

 ?person wdt:P1 wd:Q2 .              # Selects all elements that are (P1) persons (Q2)
 ?person wdt:P52 ?organisation .     # Filters by membership in an organisation ("member of", P52)