How many {dialect of} are to/by {Portuguese} ?
Which is the dialect of Portuguese?
What's the dialect of the Portuguese?
SELECT ( COUNT ( ?w ) AS ?p ) { ?w property:dialect_of resource:Portuguese }
SELECT (COUNT(?sub) AS ?subs ) {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?sub .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P4913> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q5146 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P4913 wd:Q5146 }
27