TeangaNLP / teanga2

Teanga a dó
Apache License 2.0
0 stars 0 forks source link

RDF export #11

Closed jmccrae closed 4 months ago

jmccrae commented 7 months ago

Support exporting Teanga corpora to RDF

graph = rdflib.Graph()
teanga_corpus_to_rdf(graph, corpus, "http://www.example.com/corpus.rdf")
graph.serialize(destination="corpus.rdf")

We should also support NIF and WebAnno export (as JSON)