Skip to content

Enable indexing of derived/uplifted data

Currently per default we only index the orginal data not the uplifted data.

Since the format of the uplifted might be different do to serialization of graphs with rdflib, there are more things to be checked than just to switch...

What has to be done here:

All the indexer functions need to be able to deal with the @graph json ld serialization 1. extract_entity_dicts mainly

could be as simple as adding to _single_dict

if '@graph' in _data.keys():
   res = extract_entity_dicts(_data.get('@graph'), entity_list= entity_list, ignore_keys=ignore_keys) # because this is a list
    results.extend(res)
Edited by Jens Bröder