query-5259b2fa74b44dd385c08687ab8d002e
: I am entirely sure what you mean. I don't think that there are any disambig pages on enwiki for only cities, towns, villages etc in the USA. This code gives some disambig pages on enwiki minus on cywiki. I sat a limit to 1000 pages. A query without a limit will timeout. Llywelyn2000@ } ) ?l_wikidata != ?en_wikipedia && "en" = )?l_wikidata(lang ( FILTER . ?l_wikidata label:rdfs ?item } https://cy.wikipedia.org/ isPartOf:schema ; ?item about:schema ?page_cy { MINUS . ?en_wikipedia name:schema ; https://en.wikipedia.org/ isPartOf:schema ; ?item about:schema [] . ?fips P882:wdt ?item { ?l_wikidata ?en_wikipedia ?item SELECT 14:16, 18 April 2020 (UTC) JuraAbove something slightly different (based on counties). --- 14:48, 18 April 2020 (UTC)) talk (Llywelyn2000. Thanks! en:https://en.wikipedia.org/wiki/Category:Country_subdivision_name_disambiguation_pagesWorks well, and I can sub with one of these: 14:20, 18 April 2020 (UTC)) talk (Llywelyn2000. Thanks... w:Category:Township name disambiguation pagesSo quick of you!!! Wonderful! Before I try them out, one cat which comes to mind is
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT DISTINCT ?l_wikidata ?dab ?page_en
{
?item wdt:P882 ?fips .
?item rdfs:label ?l_wikidata .
FILTER ( lang(?l_wikidata) = "en" )
?page_en schema:about ?dab ; schema:isPartOf <https://en.wikipedia.org/> ; schema:name ?l_wikidata .
?dab wdt:P31 wd:Q4167410 .
MINUS { ?page_cy schema:about ?dab ; schema:isPartOf <https://cy.wikipedia.org/> }
}