query-a47cae02ba0ac58f5f1f7699698dcddd

rq turtle/ttl

TODO

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 ?item ?itemLabel ?year ?isbn10 ?isbn13 WHERE {
  SERVICE wikibase:label { bd:serviceParam wikibase:language "ru,en". }
  ?item wdt:P50 wd:Q153796.
  ?item wdt:P31/wdt:P279* wd:Q386724.
  OPTIONAL { ?item wdt:P577 ?year. }
  OPTIONAL { ?item wdt:P957 ?isbn10. }
  OPTIONAL { ?item wdt:P212 ?isbn13. }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?isbn10"):::projected v4("?isbn13"):::projected v1("?item"):::projected v2("?year"):::projected a1((" ")) c6(["wd:Q153796"]):::iri c2(["bd:serviceParam"]):::iri c9(["wd:Q386724"]):::iri c4(["ru,en"]):::literal subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c2 --"wikibase:language"--> c4 end v1 --"wdt:P50"--> c6 v1 --"wdt:P31"--> a1 a1 --"wdt:P279"--> c9 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v1 -."wdt:P577".-> v2 end subgraph optional1["(optional)"] style optional1 fill:#bbf,stroke-dasharray: 5 5; v1 -."wdt:P957".-> v3 end subgraph optional2["(optional)"] style optional2 fill:#bbf,stroke-dasharray: 5 5; v1 -."wdt:P212".-> v4 end