query-bd1014cfaa50d1b1e251e6263e716ccb
20 criteria for 2 or 3 focus languages 07:45, 4 March 2021 (UTC) Jura. --- Wikidata:Lexicographical data/Focus languages/RequirementsCould be interesting to have a query that finds the language(s) described in 11:42, 4 March 2021 (UTC) pagetalk / TomT0m author — can be written but not succintly or easily). Some of the criteria seems also hard to capture ( « The group has at least two members who can communicate in English and who are willing to be the long-term communication facilitators. » for example) Seems impossible to do here, I don’t think we even have informations like community size (do we?). https://web.imt-atlantique.fr/x-info/sdemasse/gccat/Calldifferent.htmlI can imagine easily a query that finds languages that finds candidates. Finding (a) set(s) of candidates is beyond what can be easily done in sparql because it would require something like an « alldiff » constraint ( Some should be possible. Here are two criteria partially:
Use at
- https://query.wikidata.org/sparql
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 p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?lang ?langLabel
{
?wp wdt:P31 wd:Q10876391; wdt:P407 ?lang . # (7a) language edition
?lang p:P1098 [ ps:P1098 ?speakers ] . FILTER( ?speakers > 3000000) # (5)
FILTER( ?lang != wd:Q1860 ) # not English
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}