Question: How many inhabitants does the largest city in Canada have?
SPARQL query:
PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?num
WHERE {
        res:Canada onto:largestCity ?city . 
        ?city onto:populationTotal ?num .
}