query-e6f1171fb7a5925836f340d8f5352495
Surprisingly, I can't find any post related to such a problem, although it seems unlikely that I'm the first to search articles without interwikis. 12:05, 25 July 2023 (UTC)) talk (Pere prlpzAny suggestion or optimization will be welcome. and filtered it to 1 – it also contains sister projects, but for this purpose it will be ok (You already know it's part of cawiki, so this is The One ;) ):wikibase:sitelinksYou can use precalculated
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX schema: <http://schema.org/>
SELECT ?item ?articlecat {
?articlecat schema:about ?item;
schema:isPartOf <https://ca.wikipedia.org/>.
?item wikibase:sitelinks ?sitelinks .
FILTER (?sitelinks = 1)
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?articlecat"):::projected
v3("?item"):::projected
v1("?sitelinks")
c4([https://ca.wikipedia.org/]):::iri
f0[["?sitelinks = '1^^xsd:integer'"]]
f0 --> v1
v2 --"schema:about"--> v3
v2 --"schema:isPartOf"--> c4
v3 --"wikibase:sitelinks"--> v1