Prefixes in SPARQL queries over dbpedia.org/sparql

Hi, DBPedians!
I am doing two queries over OpenLink Virtuoso SPARQL Query Editor public interface (with the default http:/dbpedia.org as the named graph).

SELECT DISTINCT ?uri WHERE { 
<http://dbpedia.org/resource/Pakistan> <http://dbpedia.org/ontology/language> ?uri }

and

PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX dbr: <http://dbpedia.org/resource/>
SELECT DISTINCT ?uri WHERE{
dbr:Pakistan dbo:language ?uri.
}

I would expect the results to be the same, as only the prefix form has been introduced in the second query, however, they differ.
On Mozilla Firefox the first query returns 22 rows, the second one - only two rows.
On Google Chrome the results are vice versa - 2 rows for the first query, 22 rows for the second query.
Microsoft Edge seems to offer 22 result rows in both cases.

Am I alone to receive such strange answers? What could be the reason for this, and what could be possible remedies? I am sorry, if I am overlooking something very simple.

With thanks in advance,
Best,

Kārlis