query-6ae17c8d0746fec780967cd59a01f35e
TODO
Use at
- https://query.wikidata.org/sparql
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/>
#defaultView:Graph
SELECT ?date ?item (CONCAT(?title, COALESCE((CONCAT(': ', (COALESCE(?subtitle_qualifier, ?subtitle)))), '')) AS ?itemLabel) (URI(CONCAT('https://doi.org/', ENCODE_FOR_URI(?doi))) AS ?doilink) ?linkTo WHERE {
?item wdt:P921 wd:Q65053087.
?item wdt:P921 wd:Q25325231.
?item wdt:P356 ?doi.
OPTIONAL { ?item wdt:P577 ?date. }
OPTIONAL { ?item wdt:P1476 ?title. }
OPTIONAL { ?item p:P1476 ?title_statement. ?title_statement pq:P1680 ?subtitle_qualifier. }
OPTIONAL { ?item wdt:P1680 ?subtitle. }
OPTIONAL { ?item wdt:P2860 ?linkTo. }
}
ORDER BY DESC(?date)
LIMIT 100
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?date"):::projected
v3("?doi"):::projected
v10("?doilink")
v2("?item"):::projected
v9("?itemLabel")
v8("?linkTo"):::projected
v7("?subtitle"):::projected
v6("?subtitle_qualifier"):::projected
v4("?title"):::projected
v5("?title_statement")
c2(["wd:Q65053087"]):::iri
c3(["wd:Q25325231"]):::iri
v2 --"p:direct/P921"--> c2
v2 --"p:direct/P921"--> c3
v2 --"p:direct/P356"--> v3
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:direct/P1476".-> v4
end
subgraph optional2["(optional)"]
style optional2 fill:#bbf,stroke-dasharray: 5 5;
v2 -."p:P1476".-> v5
v5 --"p:qualifier/P1680"--> v6
end
subgraph optional3["(optional)"]
style optional3 fill:#bbf,stroke-dasharray: 5 5;
v2 -."p:direct/P1680".-> v7
end
subgraph optional4["(optional)"]
style optional4 fill:#bbf,stroke-dasharray: 5 5;
v2 -."p:direct/P2860".-> v8
end
bind0[/"concat(?title,concat(': ',?subtitle_qualifier?subtitle)'')"/]
v4 --o bind0
v6 --o bind0
v7 --o bind0
bind0 --as--o v9
bind1[/"concat('https://doi.org/',encode-for-uri(?doi))"/]
v3 --o bind1
bind1 --as--o v10