query-0672987ecfa3fb3072ddde8f01fdff99
Content assessment grades for Wikipedia pages of Wikipedia articles returned in a SPARQL query? For example, starting with: content assessment gradeIs there a way to query the
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?article WHERE {
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
?item wdt:P131 wd:Q18424.
?article schema:about ?item .
?article schema:inLanguage "en" .
FILTER (SUBSTR(str(?article), 1, 25) = "https://en.wikipedia.org/")
}
ORDER BY (?itemLabel)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?article"):::projected
v3("?item"):::projected
v1("?itemLabel"):::projected
c5(["bd:serviceParam"]):::iri
c7(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c12(["en"]):::literal
c9(["wd:Q18424"]):::iri
f0[["substring(str(?article),'1^^xsd:integer','25^^xsd:integer') = 'https://en.wikipedia.org/'"]]
f0 --> v2
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c5 --"wikibase:language"--> c7
end
v3 --"wdt:P131"--> c9
v2 --"schema:about"--> v3
v2 --"schema:inLanguage"--> c12