query-ae2a09c5635c39622c88a9aa040cdb8d

rq turtle/ttl

قائمة حلقات المسلسل التلفزيوني سمبسنز حسب الموسم The Simpsons television series episodes list by season Llista d'episodis de sèrie televisiva Els Simpsons per temporada Seznam epizod televizního seriálu Simpsonovi podle sezóny The Simpsons television series episodes list by season The Simpsons television series episodes list by season The Simpsons television series episodes list by season The Simpsons television series episodes list by season The Simpsons television series episodes list by season The Simpsons television series episodes list by season The Simpsons television series episodes list by season Liste des épisodes de la série télévisée Les Simpson par saison רשימת פרקי סדרת הטלוויזיה משפחת סיפסון לפי עונה The Simpsons television series episodes list by season The Simpsons television series episodes list by season Elenco degli episodi della serie televisiva The Simpsons per stagione The Simpsons television series episodes list by season The Simpsons television series episodes list by season The Simpsons television series episodes list by season The Simpsons television series episodes list by season The Simpsons television series episodes list by season The Simpsons televisieserie afleveringen lijst per seizoen The Simpsons television series episodes list by season The Simpsons television series episodes list by season The Simpsons television series episodes list by season Список серий мультсериала «Симпсоны» по сезонам The Simpsons television series episodes list by season Avsnittslista för teveserien Simpsons efter säsong The Simpsons television series episodes list by season Sezona göre Simpsonlar bölümleri listesi Список епізодів телесеріалу «Сімпсони» за сезонами The Simpsons television series episodes list by season 按季列出《辛普森一家》电视连续剧集

Use at

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 ?show ?showLabel ?seasonNumber ?episode ?episodeLabel
WHERE {
  BIND(wd:Q886 as ?show) .
  ?season wdt:P179 ?show;
          wdt:P527 ?episode;
          p:P179 [pq:P1545 ?seasonNumber] .
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" }
}
ORDER BY xsd:integer(?seasonNumber)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v4("?episode"):::projected v3("?season") v1("?seasonNumber"):::projected v2("?show"):::projected a1((" ")) c6(["bd:serviceParam"]):::iri c8(["#91;AUTO_LANGUAGE#93;,mul,en"]):::literal bind0[/"'wd:Q886'"/] bind0 --as--o v2 v3 --"p:direct/P179"--> v2 v3 --"p:direct/P527"--> v4 a1 --"p:qualifier/P1545"--> v1 v3 --"p:P179"--> a1 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c6 --"wikibase:language"--> c8 end