query-5d480137779820761241d5002df97401
is on:if this is wikipedia group should do work, but for me it is also too slow in this form – if line for checking GROUPING/HAVINGįmho
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX schema: <http://schema.org/>
SELECT ?item ?articlecat (COUNT(?articleall) AS ?allarticles_count) {
?articlecat schema:about ?item;
schema:isPartOf <https://ca.wikipedia.org/>.
?articleall schema:about ?item;
schema:isPartOf/wikibase:wikiGroup "wikipedia".
}
GROUP BY ?item ?articlecat
HAVING (?allarticles_count = 1)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v5("?allarticles_count")
v4("?articleall"):::projected
v2("?articlecat"):::projected
v3("?item"):::projected
a1((" "))
c6(["wikipedia"]):::literal
c4([https://ca.wikipedia.org/]):::iri
f0[["?allarticles_count = '1^^xsd:integer'"]]
f0 --> v5
v2 --"schema:about"--> v3
v2 --"schema:isPartOf"--> c4
v4 --"schema:about"--> v3
v4 --"schema:isPartOf"--> a1
a1 --"wikibase:wikiGroup"--> c6
bind2[/"count(?articleall)"/]
v4 --o bind2
bind2 --as--o v5