query-1b53af87912872a3ce6e850b1352fd3d

rq turtle/ttl

Harry Potter in music ]reply[13:41, 5 September 2018 (UTC)) talk (Simon Villeneuve. Thank you. I correct other like thisIt was a mistake and Hi, P155/P156. And honestly I doubt that we need such sequence as "discography of a composer". Some kind of such list we can generate by Sparql on the basis of publication dates:qualifiers with (P361)part of without qualifiers there, isn't it? So it is better to use (P156)followed by /(P155)follows - it would be very ambiguous to use (Q199)1 ! I believe that the sequence should be clear, and in your cases it is far from being obvious. Look at SimonHello, ]reply[10:48, 6 September 2018 (UTC)) talk (Simon VilleneuveCan you just discuss here rather than only cancel my modifications ? -- ]reply[13:48, 5 September 2018 (UTC)) talk (Simon VilleneuveFinally, I read more about this and I think it's correct. The sequence is the discography of the composer John Williams. Isn't correct ?

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?label ?year WHERE {
  ?item wdt:P31 wd:Q4176708.
  ?item wdt:P86 wd:Q363241.
  OPTIONAL{?item wdt:P577 ?year.}
  SERVICE wikibase:label {
    bd:serviceParam wikibase:language "ru".
    ?item rdfs:label ?label.
  }
}
ORDER BY ASC(?year)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?item"):::projected v3("?label"):::projected v1("?year"):::projected c4(["wd:Q363241"]):::iri c7(["bd:serviceParam"]):::iri c9(["ru"]):::literal c2(["wd:Q4176708"]):::iri v2 --"wdt:P31"--> c2 v2 --"wdt:P86"--> c4 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P577".-> v1 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c7 --"wikibase:language"--> c9 v2 --"rdfs:label"--> v3 end