5.4. AMBER: a SPARQL querying engine
The proposed AMBER (Attributed Multigraph Based Engine for RDF querying) contains two different stages: (1) an offline stage, during which RDF data are transformed into multigraph G and then a set of index structures I are constructed that capture the necessary information contained in G; (2) an online stage, during which a SPARQL query is transformed into a multigraph Q, and then by exploiting the subgraph matching techniques along with the already built index structures I, the homomorphic matches of Q in G are obtained.
Given a multigraph representation Q of a SPARQL query, AMBER decomposes the query vertices U into a set of core vertices Uc and satellite vertices Us. Intuitively, a vertex u ∈ U is a core vertex if the degree of the vertex is more than one; on the contrary, a vertex u with degree one is a satellite vertex. For example, in Figure 5.2(c), Uc = {u1, u3, u5} and Us = {u0,u2, u4, u6}. Once decomposed, we run the sub-multigraph...