{'fraction_non_alphanumeric': 0.01773049645390071, 'fraction_numerical': 0.002364066193853428, 'mean_word_length': 5.093525179856115, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
KGRAM : a Generic SPARQL Interpreter for Linked Data Querying and Mashup

In this paper we present the KGRAM engine dedicated to the querying and mashup of linked data. KGRAM is an acronym for Knowledge Graph Abstract Machine. It is designed as the interpreter of an abstract language which generalizes SPARQL (its upcoming 1.1. version) to query not only RDF but also any knowledge graph model. KGRAM comes with an application programming interface which corresponds both to the abstract primitives of this query language and to abstract graph data structures and KGRAM’s evaluation function only manipulates those abstract structures. We describe KGRAM’s abstract query language and its interpreter’s evaluation function and KGRAM’s application programming interface, and we explain how it can be used to the querying and mashup of linked data.