The TABLE function mechanism available in a RDBMS is used to integrate RDF
models into SQL queries. The table function invocation takes parameters
including an RDF pattern, an RDF model, and an RDF rule base and returns
result rows to the SQL query that contain RDF triples resulting from the
application of the pattern to the triples of the model and the triples
inferred by applying the rule base to the model. The RDBMS includes
relational representations of the triples and the rules. Optimizations
include indexes and materialized views of the representations of the
triples, precomputed inferred triples, and a method associated with the
TABLE function that rewrites the part of the SQL query that contains the
TABLE function invocation as an equivalent SQL string. The latter
technique is generally applicable to TABLE functions.