query-44f9edc5f2e14d5f701636c70b92e08d

rq turtle/ttl

DAB items without labels linked to enWS

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
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#>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?itemDescription ?sitelink ?page_titleEN WHERE {
 ?item wdt:P31 wd:Q4167410 . 

 ?sitelink schema:isPartOf <https://en.wikisource.org/>;
 schema:about ?item;
 schema:name ?page_titleEN .

 SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
 FILTER(NOT EXISTS {
   ?item rdfs:label ?lang_label.
   FILTER(LANG(?lang_label) = "en")
 })
}
ORDER BY ?sitelink

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?item"):::projected v2("?lang_label") v4("?page_titleEN"):::projected v1("?sitelink"):::projected c4(["wd:Q4167410"]):::iri c10(["bd:serviceParam"]):::iri c1(["en"]):::literal c6([https://en.wikisource.org/]):::iri f0[["not "]] subgraph f0e0["Exists Clause"] e0f0[["?lang_label = 'en'"]] e0f0 --> e0v1 e0v2 --"rdfs:label"--> e0v1 e0v2("?item"):::projected e0v1("?lang_label"):::projected end f0--EXISTS--> f0e0 f0 --> v2 f0 --> v3 f0 --> c2 f1[["?lang_label = 'en'"]] f1 --> v2 v3 --"rdfs:label"--> v2 v3 --"wdt:P31"--> c4 v1 --"schema:isPartOf"--> c6 v1 --"schema:about"--> v3 v1 --"schema:name"--> v4 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c10 --"wikibase:language"--> c1 end