query-5f9c6928bee447c9e1e7c86c3476faeb
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX schema: <http://schema.org/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?item ?itemLabel ?article ?statementCount WHERE {
VALUES (?project ?maxStatementCount ?labelLanguage) {
(<https://he.wikipedia.org/> 10 "he") # adjust language and count here
# URL above must be https:// and include the trailing / !
}
?article a schema:Article;
schema:about ?item;
schema:isPartOf ?project.
?item wikibase:statements ?statementCount.
OPTIONAL { ?item rdfs:label ?itemLabel. FILTER(LANG(?itemLabel) = ?labelLanguage). }
FILTER(?statementCount < ?maxStatementCount).
}
LIMIT 1000
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v6("?article"):::projected
v7("?item"):::projected
v3("?itemLabel"):::projected
v6("?labelLanguage")
v6("?maxStatementCount")
v5("?project")
v1("?statementCount"):::projected
c2(["schema:Article"]):::iri
f0[["?statementCount < ?maxStatementCount"]]
f0 --> v1
f0 --> v6
bind1[/VALUES ?labelLanguage ?maxStatementCount ?project/]
bind1-->v5
bind1-->v6
bind1-->v6
bind10([https://he.wikipedia.org/])
bind10 --> bind1
bind11(["10^^xsd:integer"])
bind11 --> bind1
bind12(["he"])
bind12 --> bind1
v6 --"a"--> c2
v6 --"schema:about"--> v7
v6 --"schema:isPartOf"--> v5
v7 --"wikibase:statements"--> v1
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v7 -."rdfs:label".-> v3
end