After a year since last time, I got back to playing with our digital-collections RDF exports and writing about it -- this time, aggregating some descriptions from id.loc and Wikidata. It was fun.
https://blogs.uoregon.edu/digitallibraryservices/2025/12/22/od2-rdf-02/
I believe we still have a fair bit of work and cleanup before we'd expose the data publicly. Maybe that's what I'll write about next year...
#rdf #sparql #python #lod
Post
@briesenb thanks for this! I happened to notice you were separately requesting the id.loc.gov resources and then passing the rdfxml to rdflib?
```
g = rdflib.Graph().parse(data=response.text, format="xml")
```
If id.loc.gov is configured correctly I think you should be able to give parse() the URI directly?
https://rdflib.readthedocs.io/en/7.1.1/intro_to_parsing.html#reading-remote-rdf
@ink thank you! Funny, I know I've parsed remote data from a URL in that way before but... who knows why I felt the need to overly complicate things in that moment!? I appreciate the note; there's still so much rdflib functionality I haven't touched or comprehended.
@briesenb nice -- I love how when the stars are in alignment you can follow your nose can build the graph