query-447368d17542c1961f89154ab863964b

rq turtle/ttl

TODO

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
SELECT ?item ?article_es ?title
WHERE
{
  ?item wdt:P31 / wdt:P279* wd:Q178790 . # item is an instance of (a subclass of) labor union

  # item has article in Spanish Wikipedia
  ?article_es schema:about ?item .
  ?article_es schema:isPartOf <https://es.wikipedia.org/> .
  ?article_es schema:name ?title .

  MINUS
  {
    # item has no article in English Wikipedia
    ?article_en schema:about ?item .
    ?article_en schema:isPartOf <https://en.wikipedia.org/> .
  }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v4("?article_en") v2("?article_es"):::projected v1("?item"):::projected v3("?title"):::projected a1((" ")) c8([https://en.wikipedia.org/]):::iri c3(["wd:Q178790"]):::iri c6([https://es.wikipedia.org/]):::iri v1 --"wdt:P31"--> a1 a1 --"wdt:P279"--> c3 v2 --"schema:about"--> v1 v2 --"schema:isPartOf"--> c6 v2 --"schema:name"--> v3 subgraph minus0["MINUS"] style minus0 stroke-width:6px,fill:pink,stroke:red; v4 --"schema:about"--> v1 v4 --"schema:isPartOf"--> c8 end