query-b9cd92b0e755fad5c05598611aee2585
People who have a UKNA ID and a US NARA ID
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 ?personLabel ?personDescription (URI(CONCAT("https://discovery.nationalarchives.gov.uk/details/c/",?ukna)) AS ?uknalink)
(URI(CONCAT("https://catalog.archives.gov/id/",?nara)) as ?naralink) WHERE {
?person wdt:P3029 ?ukna; wdt:P1225 ?nara.
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
} ORDER BY ?personLabel
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?nara"):::projected
v6("?naralink")
v2("?person")
v1("?personLabel"):::projected
v3("?ukna"):::projected
v5("?uknalink")
c4(["bd:serviceParam"]):::iri
c6(["#91;AUTO_LANGUAGE#93;,en"]):::literal
v2 --"wdt:P3029"--> v3
v2 --"wdt:P1225"--> v4
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c4 --"wikibase:language"--> c6
end
bind0[/"concat('https://discovery.nationalarchives.gov.uk/details/c/',?ukna)"/]
v3 --o bind0
bind0 --as--o v5
bind1[/"concat('https://catalog.archives.gov/id/',?nara)"/]
v4 --o bind1
bind1 --as--o v6