query-376fe115cca4e9465c28d08ef958cab5

rq turtle/ttl

What other information is available about J. K. Rowling books?Relevant properties are: publisher(P123), publication Date(P577), award received (P166) What other information is available about J. K. Rowling books?The relevant items and properties are: publisher(P123), publication Date(P577), award received (P166)

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?book ?bookLabel ?publisherLabel ?publicationDate ?awardsLabel
WHERE {
  ?book wdt:P50 wd:Q34660 .
  ?book wdt:P123 ?publisher;
        wdt:P577 ?publicationDate;
        wdt:P166 ?awards .

  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; v4("?awards") v1("?book"):::projected v3("?publicationDate"):::projected v2("?publisher") c2(["wd:Q34660"]):::iri c7(["bd:serviceParam"]):::iri c9(["#91;AUTO_LANGUAGE#93;,en"]):::literal v1 --"wdt:P50"--> c2 v1 --"wdt:P123"--> v2 v1 --"wdt:P577"--> v3 v1 --"wdt:P166"--> v4 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c7 --"wikibase:language"--> c9 end