query-d7ec8d746f5adb357f2afe79448b0b53
Input = List of DOI; Output = QID+label+desc with OpenRefine. Published inPerfect to prepare reconciliation of
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?doi ?itemLabel ?itemDescription ?published_inLabel WHERE {
VALUES ?doi { '10.1126/SCIENCE.156.3775.636'
'10.1145/358027.358042' }
?item wdt:P356 ?doi .
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
OPTIONAL { ?item wdt:P1433 ?published_in. }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?doi"):::projected
v2("?item"):::projected
v3("?published_in")
c3(["bd:serviceParam"]):::iri
c5(["#91;AUTO_LANGUAGE#93;,en"]):::literal
bind0[/VALUES ?doi/]
bind0-->v1
bind00(["10.1126/SCIENCE.156.3775.636"])
bind00 --> bind0
bind01(["10.1145/358027.358042"])
bind01 --> bind0
v2 --"wdt:P356"--> v1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c3 --"wikibase:language"--> c5
end
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P1433".-> v3
end