query-004988ec45456fe940221de016fbb61c

rq turtle/ttl

Language with the most native speakers ]reply[19:24, 17 March 2019 (UTC) 2600:1702:31B0:9CE0:88D2:6234:431D:51F0Hi, I'd like to point that Mandarin Chinese is the language with the most first-language speakers. Could I please point it out somewhere? - :(P1098)number of speakers, writers, or signers It can be derived from

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT distinct ?lang ?langLabel ?number WHERE
{
  ?lang wdt:P31/wdt:P279* wd:Q315.
  ?lang wdt:P1098 ?number.
  MINUS { ?lang p:P1098 [ ps:P1098 ?number; pq:P518 wd:Q125421 ] }
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
ORDER BY DESC(?number)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?lang"):::projected v1("?number"):::projected a1((" ")) a2((" ")) c7(["wd:Q125421"]):::iri c10(["bd:serviceParam"]):::iri c3(["wd:Q315"]):::iri c12(["#91;AUTO_LANGUAGE#93;,en"]):::literal v2 --"p:direct/P31"--> a1 a1 --"p:direct/P279"--> c3 v2 --"p:direct/P1098"--> v1 subgraph minus0["MINUS"] style minus0 stroke-width:6px,fill:pink,stroke:red; a2 --"p:statement/P1098"--> v1 a2 --"p:qualifier/P518"--> c7 v2 --"p:P1098"--> a2 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c10 --"wikibase:language"--> c12 end