query-5f8212501baa8cfaa264cf9786dd44b8
Works of an author, from their ORCID iD SELECT distinct ?work ?workLabel ?typeLabel WHERE { ?person wdt:P496 ?orcid . # person has an ORCID Values ?orcid { "0000-0001-5882-6823" }. # ...and the ORCID is... ?work wdt:P50 ?person . # a work has this person as author ?work wdt:P31 ?type . # what type is the work? SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } }
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#>
#Works of an author, from their ORCID iD
SELECT distinct ?work ?workLabel ?typeLabel
WHERE {
?person wdt:P496 ?orcid . # person has an ORCID
Values ?orcid { "0000-0001-5882-6823" }. # ...and the ORCID is...
?work wdt:P50 ?person . # a work has this person as author
?work wdt:P31 ?type . # what type is the work?
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;
v3("?orcid")
v1("?person")
v4("?type")
v3("?work"):::projected
c5(["bd:serviceParam"]):::iri
c7(["#91;AUTO_LANGUAGE#93;,en"]):::literal
v1 --"wdt:P496"--> v3
bind0[/VALUES ?orcid/]
bind0-->v3
bind00(["0000-0001-5882-6823"])
bind00 --> bind0
v3 --"wdt:P50"--> v1
v3 --"wdt:P31"--> v4
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c5 --"wikibase:language"--> c7
end