query: # Properties of national heroes of Indonesia ordered by property frequency
  SELECT ?directProp ?pLabel (COUNT(?directProp) AS ?propFreq)
  WHERE {
      ?itemID wdt:P166 wd:Q1369309 .  # items with award received National Hero of Indonesia
      {                               # focus on direct properties
        ?itemID ?directProp _:bnode .
        ?prop wikibase:directClaim ?directProp .
        ?prop rdfs:label ?pLabel
        FILTER(LANG(?pLabel)="en")
      }
  } GROUP BY ?directProp ?pLabel ORDER BY DESC(?propFreq)