uogbuji / Library.Link

Tools for processing data from the Library.Link project
Apache License 2.0
1 stars 1 forks source link

Library.Link

Tools for processing data from the Library.Link project

Requires Python 3.6+

Uche Ogbuji < uche@ogbuji.net >

https://github.com/uogbuji/Library.Link

Use

parse_rdfa

Command Tool to parse RDFa 1.1 Lite (from the Library.Link pages or other HTML). Example:

parse_rdfa --rdfttl=foo.ttl "http://link.houstonlibrary.org/portal/Half-of-a-yellow-sun-Chimamanda-Ngozi/n7KqqbZFJuM/"

Which outputs RDF Turtle to a file foo.ttl

Technical background on the Library.Link network

Network-level resources

Take an ID 2_8BKlrtCTI

There is

The top-level @type in brief.json & feed.json is preferredType

http://library.link/resource/2_8BKlrtCTI/brief.json