query-e44e41919c28a2118c0716e2bef20a28

rq turtle/ttl

TODO

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX schema: <http://schema.org/>
SELECT DISTINCT ?item ?commonscat WHERE {
    ?item wdt:P373 ?commonscat .
    ?wikipedia schema:about ?item . 
    ?wikipedia schema:isPartOf ?site .
    ?site wikibase:wikiGroup "wikipedia" .
    MINUS { 
      ?enwp schema:about ?item .
      ?enwp schema:isPartOf <https://en.wikipedia.org/>
    } 
  } LIMIT 1000

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?commonscat"):::projected v5("?enwp") v1("?item"):::projected v4("?site") v3("?wikipedia") c6([https://en.wikipedia.org/]):::iri c5(["wikipedia"]):::literal v1 --"wdt:P373"--> v2 v3 --"schema:about"--> v1 v3 --"schema:isPartOf"--> v4 v4 --"wikibase:wikiGroup"--> c5 subgraph minus0["MINUS"] style minus0 stroke-width:6px,fill:pink,stroke:red; v5 --"schema:about"--> v1 v5 --"schema:isPartOf"--> c6 end