On Mar 9, 2022, at 10:16 AM, Karly Wildenhaus wrote:
>> How can I write a WikiData SPARQL query to return the URLs of a special
>> collection?
>
> SELECT ?personLabel ?archivesAtLabel ?describedAt WHERE {
> ?person wdt:P106 wd:Q49757;
> wdt:P135 wd:Q213457;
> p:P485 ?archivesStatement.
> ?archivesStatement ps:P485 ?archivesAt;
> pq:P973 ?describedAt.
> SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
> }
> ORDER BY (?personLabel)
Cool. Really cool. 'Looks like an SQL join to me. code4lib++
--
Eric Morgan
|