Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
This query is marked as a draft
This query has been published
by
Grouah
.
Toggle Highlighting
SQL
SELECT ?item ?qid (GROUP_CONCAT(CONCAT("[",str(?sitelink)," ", ?lang,"]"); separator=", ") as ?wp) (GROUP_CONCAT(DISTINCT(?enlabel)) as ?enlabels) (COUNT(distinct ?sitelink) as ?count) WHERE { ?item wdt:P31 wd:Q5398426 . ?item wdt:P364 [] . BIND(xsd:integer(STRAFTER(str(?item), "Q")) AS ?qid) . OPTIONAL { ?sitelink schema:about ?item . ?sitelink schema:inLanguage ?lang . } . FILTER NOT EXISTS { ?wfr schema:about ?item . ?wfr schema:inLanguage "fr" } OPTIONAL { ?item rdfs:label ?enlabel . FILTER(lang(?enlabel)="en") } FILTER EXISTS { ?wikip schema:about ?item; schema:isPartOf ?wiki . FILTER regex (str(?wiki), ".+.wikipedia.org"). } } GROUP BY ?item ?qid ORDER BY DESC(?qid) LIMIT 300
By running queries you agree to the
Cloud Services Terms of Use
and you irrevocably agree to release your SQL under
CC0 License
.
Submit Query
Stop Query
All SQL code is licensed under
CC0 License
.
Checking query status...