query-d98e78587b974b2f04f4243defb16847

rq turtle/ttl

Film items without P1476, having articles in French Wikipedia. WD:BR. To scrap and import original title+lang SELECT ?item ?itemLabel WHERE { ?item wdt:P31 wd:Q11424 . MINUS { ?item wdt:P1476 [] } . FILTER EXISTS { ?wen schema:about ?item . ?wen schema:inLanguage "fr" } SERVICE wikibase:label { bd:serviceParam wikibase:language "en,fr,de,es,ro,ru" } } GROUP BY ?item ?itemLabel ORDER BY ?itemLabel

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 bd: <http://www.bigdata.com/rdf#>
#Film items without P1476, having articles in French Wikipedia. WD:BR. To scrap and import original title+lang
SELECT ?item ?itemLabel WHERE {
    ?item wdt:P31 wd:Q11424 .
    MINUS { ?item wdt:P1476 [] } .
    FILTER EXISTS { ?wen schema:about ?item . ?wen schema:inLanguage "fr" }
  SERVICE wikibase:label { bd:serviceParam wikibase:language "en,fr,de,es,ro,ru" }
}
GROUP BY ?item ?itemLabel
ORDER BY ?itemLabel

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?item"):::projected v1("?itemLabel"):::projected v2("?wen") a1((" ")) c8(["bd:serviceParam"]):::iri c3(["fr"]):::literal c5(["wd:Q11424"]):::iri c10(["en,fr,de,es,ro,ru"]):::literal f0[[" "]] subgraph f0e0["Exists Clause"] e0v1 --"schema:about"--> e0v2 e0v1 --"schema:inLanguage"--> e0c3 e0v2("?item"):::projected e0v1("?wen"):::projected e0c3(["fr"]):::literal end f0--EXISTS--> f0e0 f0 --> v2 f0 --> c1 f0 --> v3 f0 --> c2 f0 --> c3 v2 --"schema:about"--> v3 v2 --"schema:inLanguage"--> c3 v3 --"wdt:P31"--> c5 subgraph minus1["MINUS"] style minus1 stroke-width:6px,fill:pink,stroke:red; v3 --"wdt:P1476"--> a1 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c8 --"wikibase:language"--> c10 end