query-7dc5b45b74f01013599db7681e9b852c
schema:about, FILTER (SUBSTR))
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 ?article ?sujetLabel WHERE {
?article schema:about ?sujet .
?sujet wdt:P6379 wd:Q2338135.
FILTER((SUBSTR(STR(?article), 11 , 15 )) = ".wikipedia.org/")
?article schema:inLanguage ?lang.
FILTER ( ?lang = "fr" )
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?article"):::projected
v1("?lang")
v3("?sujet")
c10(["bd:serviceParam"]):::iri
c12(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c7(["wd:Q2338135"]):::iri
f0[["?lang = 'fr'"]]
f0 --> v1
f1[["substring(str(?article),'11^^xsd:integer','15^^xsd:integer') = '.wikipedia.org/'"]]
f1 --> v2
v2 --"schema:about"--> v3
v3 --"wdt:P6379"--> c7
v2 --"schema:inLanguage"--> v1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c10 --"wikibase:language"--> c12
end