query-f63fa7d24169f86ce93655c0383279e1
Articles in cawiki without interwikisI tried two approaches to get articles without interwikis but both of them time out: 1: Selecting items with articles in cawiki and filtering out itens with articles in other projects:
Use at
- https://query.wikidata.org/sparql
PREFIX schema: <http://schema.org/>
SELECT ?item ?articlecat WHERE {
?articlecat schema:about ?item.
?articlecat schema:isPartOf <https://ca.wikipedia.org/>.
MINUS {
?article schema:about ?item.
MINUS {?article schema:isPartOf <https://ca.wikipedia.org/>.}
}
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?article")
v1("?articlecat"):::projected
v2("?item"):::projected
c3([https://ca.wikipedia.org/]):::iri
v1 --"schema:about"--> v2
v1 --"schema:isPartOf"--> c3
subgraph minus0["MINUS"]
style minus0 stroke-width:6px,fill:pink,stroke:red;
v3 --"schema:about"--> v2
subgraph minus1["MINUS"]
style minus1 stroke-width:6px,fill:pink,stroke:red;
v3 --"schema:isPartOf"--> c3
end
end