query-70bfca72614427ced7614848a0155b4c

rq turtle/ttl

Llywelyn2000Jura1(P882)FIPS 6-4

Use at

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:P31/wdt:P279* wd:Q486972 . # item is human settlement
  ?item wdt:P17 wd:Q30 . # item is in US
  ?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/> }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v4("?dab"):::projected v2("?item") v1("?l_wikidata"):::projected v5("?page_cy") v3("?page_en"):::projected a1((" ")) c12(["wd:Q4167410"]):::iri c6(["wd:Q30"]):::iri c13([https://cy.wikipedia.org/]):::iri c4(["wd:Q486972"]):::iri c10([https://en.wikipedia.org/]):::iri f0[["?l_wikidata = 'en'"]] f0 --> v1 v2 --"wdt:P31"--> a1 a1 --"wdt:P279"--> c4 v2 --"wdt:P17"--> c6 v2 --"rdfs:label"--> v1 v3 --"schema:about"--> v4 v3 --"schema:isPartOf"--> c10 v3 --"schema:name"--> v1 v4 --"wdt:P31"--> c12 subgraph minus1["MINUS"] style minus1 stroke-width:6px,fill:pink,stroke:red; v5 --"schema:about"--> v4 v5 --"schema:isPartOf"--> c13 end