query-5c66e8262d6bee598421d28c3cd7e66a
Propertiesauthor (P50)ORCID iD (P496)ISNI (P213)VIAF ID (P214)FAST ID (P2163)
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?workLabel ?work ?authorLabel ?author ?orcid ?isni ?viaf ?fast
WHERE {
?work wdt:P50 ?author ;
rdfs:label ?workLabel .
OPTIONAL { ?author wdt:P496 ?orcidID }
OPTIONAL { ?author wdt:P213 ?isniID }
OPTIONAL { ?author wdt:P214 ?viafID }
OPTIONAL { ?author wdt:P2163 ?fastID }
SERVICE wikibase:label { bd:serviceParam wikibase:language "en" }
BIND (URI(CONCAT('http://orcid.org/', ?orcidID)) AS ?orcid)
BIND (URI(CONCAT('http:/viaf.org/viaf/', ?viafID)) AS ?viaf)
BIND (URI(CONCAT('http://isni.org/', ?orcidID)) AS ?isni)
BIND (URI(CONCAT('http://id.worldcat.org/fast/', ?fastID)) AS ?fast)
}
LIMIT 1000
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?author"):::projected
v11("?fast"):::projected
v7("?fastID")
v10("?isni"):::projected
v5("?isniID")
v8("?orcid"):::projected
v4("?orcidID")
v9("?viaf"):::projected
v6("?viafID")
v1("?work"):::projected
v3("?workLabel"):::projected
c8(["bd:serviceParam"]):::iri
c10(["en"]):::literal
v1 --"wdt:P50"--> v2
v1 --"rdfs:label"--> v3
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P496".-> v4
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P213".-> v5
end
subgraph optional2["(optional)"]
style optional2 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P214".-> v6
end
subgraph optional3["(optional)"]
style optional3 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P2163".-> v7
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c8 --"wikibase:language"--> c10
end
bind0[/"concat('http://orcid.org/',?orcidID)"/]
v4 --o bind0
bind0 --as--o v8
bind1[/"concat('http:/viaf.org/viaf/',?viafID)"/]
v6 --o bind1
bind1 --as--o v9
bind2[/"concat('http://isni.org/',?orcidID)"/]
v4 --o bind2
bind2 --as--o v10
bind3[/"concat('http://id.worldcat.org/fast/',?fastID)"/]
v7 --o bind3
bind3 --as--o v11