LibreCat / Catmandu-RDF

Catmandu modules for working with RDF data
https://metacpan.org/release/Catmandu-RDF
Other
5 stars 6 forks source link

Find out about preferred import methods #3

Closed nichtich closed 10 years ago

nichtich commented 10 years ago

Importing single triples would be very limited, but allow for Stream-based import (one-pass). Importing full graphs requires a clear encoding in JSON (e.g. JSON-LD, aREF, https://metacpan.org/pod/RDF::TrineX::Serializer::MockTurtleSoup ...). SPARQL could be used to get a list of items with selected fields, but SPARQL is very verbose (could be abbreviated).

phochste commented 10 years ago

An option is to look at RDF dumps in the wild and try to import those and work out from these experiences to a more general method.

E.g. VIAF : http://viaf.org/viaf/data/ (one triple per line) ZDB : http://datahub.io/dataset/zdb/resource/7605c274-49c6-4e95-af79-9d75b4a11630 Europeana: http://datahub.io/dataset/europeana-lod

phochste commented 10 years ago

A triple importer could contain an internal triple store to accumulate all incomming triples. At the end of the stream you can then generate JSON from the internal cache.

nichtich commented 10 years ago

moved to issue #5