query-0187e0053c01d99a899e4970201e9843
Récupérer la liste des éléments à partir d'une liste de noms de pages Wikipédia
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 DISTINCT ?string ?item ?itemLabel WHERE {
VALUES ?string {
"Paris"@fr
"Meudon"@fr
"Bellevue (quartier de Meudon)"@fr
}
?sitelink schema:about ?item;
schema:isPartOf <https://fr.wikipedia.org/>;
schema:name ?string.
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]" }
}
ORDER BY ?itemLabel
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?item"):::projected
v1("?itemLabel"):::projected
v3("?sitelink")
v2("?string"):::projected
c6(["bd:serviceParam"]):::iri
c8(["#91;AUTO_LANGUAGE#93;"]):::literal
c3([https://fr.wikipedia.org/]):::iri
bind0[/VALUES ?string/]
bind0-->v2
bind00([sParis^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#langString>"])
bind00 --> bind0
bind01([sMeudon^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#langString>"])
bind01 --> bind0
bind02([sBellevue (quartier de Meudon)^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#langString>"])
bind02 --> bind0
v3 --"schema:about"--> v4
v3 --"schema:isPartOf"--> c3
v3 --"schema:name"--> v2
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
end