query-f81c52ae591bc233be458e2bb5ece9fe
Listes des épisodes de She-Ra
Use at
- https://query.wikidata.org/sparql
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?order ?item ?avantLabel ?itemLabel ?suiviLabel WHERE
{
?item wdt:P31 wd:Q21191270 ;
wdt:P179 wd:Q48731484 .
?item p:P179 ?statement .
?statement pq:P1545 ?order .
OPTIONAL { ?item wdt:P156 ?suivi }
OPTIONAL { ?item wdt:P155 ?avant }
SERVICE wikibase:label { bd:serviceParam wikibase:language "fr,en" }
}
ORDER BY xsd:integer(?order)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v5("?avant")
v2("?item"):::projected
v1("?order"):::projected
v3("?statement")
v4("?suivi")
c4(["wd:Q48731484"]):::iri
c10(["bd:serviceParam"]):::iri
c12(["fr,en"]):::literal
c2(["wd:Q21191270"]):::iri
v2 --"p:direct/P31"--> c2
v2 --"p:direct/P179"--> c4
v2 --"p:P179"--> v3
v3 --"p:qualifier/P1545"--> v1
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."p:direct/P156".-> v4
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v2 -."p:direct/P155".-> v5
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c10 --"wikibase:language"--> c12
end