query-1320347b44e0b9770d3dae20715ce4bc

rq turtle/ttl

Adithyak1997

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?publication_date ?full_work_available_at ?archive_url WHERE {
  ?item wdt:P31 wd:Q88163834.
  ?item wdt:P921 wd:Q87821859.
  OPTIONAL { ?item wdt:P577 ?publication_date. }
  OPTIONAL {
    ?item p:P953 ?p953s.
    ?p953s ps:P953 ?full_work_available_at.
    OPTIONAL { ?p953s pq:P1065 ?archive_url }
  }
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
ORDER BY DESC (?publication_date)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v5("?archive_url"):::projected v4("?full_work_available_at"):::projected v2("?item"):::projected v3("?p953s") v1("?publication_date"):::projected c4(["wd:Q87821859"]):::iri c10(["bd:serviceParam"]):::iri c12(["#91;AUTO_LANGUAGE#93;,en"]):::literal c2(["wd:Q88163834"]):::iri v2 --"p:direct/P31"--> c2 v2 --"p:direct/P921"--> c4 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v2 -."p:direct/P577".-> v1 end subgraph optional1["(optional)"] style optional1 fill:#bbf,stroke-dasharray: 5 5; v2 -."p:P953".-> v3 v3 --"p:statement/P953"--> v4 subgraph optional2["(optional)"] style optional2 fill:#bbf,stroke-dasharray: 5 5; v3 -."p:qualifier/P1065".-> v5 end end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c10 --"wikibase:language"--> c12 end