query-1ab0da2e56fd72ed332c5e834100f333
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX schema: <http://schema.org/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?article ?sitelink ?statements
WHERE
{
?item wikibase:statements ?statements.
?item wikibase:sitelinks ?sitelinks.
FILTER(?statements <4)
FILTER(?sitelinks <2)
?article schema:about ?item ;
schema:isPartOf <https://fi.wikipedia.org/> ;
schema:name ?sitelink .
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],fi,en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?article"):::projected
v3("?item"):::projected
v5("?sitelink"):::projected
v1("?sitelinks")
v2("?statements"):::projected
c10(["bd:serviceParam"]):::iri
c7([https://fi.wikipedia.org/]):::iri
c12(["#91;AUTO_LANGUAGE#93;,fi,en"]):::literal
f0[["?sitelinks < '2^^xsd:integer'"]]
f0 --> v1
f1[["?statements < '4^^xsd:integer'"]]
f1 --> v2
v3 --"wikibase:statements"--> v2
v3 --"wikibase:sitelinks"--> v1
v4 --"schema:about"--> v3
v4 --"schema:isPartOf"--> c7
v4 --"schema:name"--> v5
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c10 --"wikibase:language"--> c12
end