Query

            PREFIX awm:<http://muse.aucklandmuseum.com/databases/cenotaph#>

            SELECT ?occupation (COUNT(?occupation) AS ?numberOccupation)
            WHERE {
              ?person awm:hasOccupation ?hasOccupation .
              ?hasOccupation awm:nameOccupation ?occupation .
            }
            GROUP BY ?occupation
            ORDER BY DESC(?numberOccupation) ?occupation
            LIMIT 50

Results

      

Home