UUDigitalHumanitieslab / EDPOP

A virtual research environment (VRE) that lets you collect, align and annotate bibliographical and biographical records from several online catalogs.
BSD 3-Clause "New" or "Revised" License
2 stars 0 forks source link

More robust JSON-LD processing #184

Open tijmenbaarda opened 4 months ago

tijmenbaarda commented 4 months ago

Only specific forms of compacted JSON-LD are accepted for now, and this might lead to errors or unexpected results (for example, if rdflib's behaviour changes)

jgonggrijp commented 4 months ago

If we address this, I propose to do it by using the libraries I've been factoring out of READ-IT. Among them, there is a sync method override that can read any form of RDF, not just compact, expanded or flattened JSON-LD but also Turtle, RDF/XML, RDFa and so forth.

tijmenbaarda commented 4 months ago

OK, let's wait for that, then! Because I don't think that we will need to address this issue very soon -- the JSON-LD output from rdflib seems to be quite stable, so some basic validation will do for now...