Please take a look at our sample code for hosting Freebase:
https://github.com/Microsoft/GraphEngine/tree/master/samples/freebase-likq
The implementation is in src/LIKQ
, and samples/freebase-likq
provides an example of integrating an index service, multi-typed entity adapters with the LIKQ module.
The freebase dataset is imported as a Trinity image via samples/GraphEngine.DataImporter
(currently in the experimental
branch). It scans the data twice, first round to decide the data types for the entities and generates TSL storage layout schema, and the second round for the actual import work.