Headline

A Technology:LogicBlox-based implementation that makes good use of Language:DatalogLB modules

Motivation

This is a fully modularized variation on Contribution:basicLb. There are modules for the schema, the instance, the query for totaling salaries, the transformation for cutting salaries. The modules for query and transformation use inactive blocks. Technology:LogicBlox also enables modularity and separate compilation for basic Language:DatalogLB files; see Contribution:projectLb for an illustration. The present implementation uses proper module syntax though; each module declares explicitly the module and visibility of declarations and rules.

Architecture

The implementation consists of these modules:

  • oneOone/Schema.logic: the schema for companies
  • oneOone/Instance.logic: the Acme company (and another company for testing)
  • oneOone/total.logic: the query for totaling salaries
  • oneOone/cut.logic: the delta for cutting salaries
There are these additional files:
  • modularLb.project: LogicBlox project description
  • Makefile: script for running the implementation
  • baseline: baseline for regression testing

Usage

Tested with Technology:LogicBlox 3.7.

This implementation requires that lb-services is running.

Run "make" for a self-testing illustration.


There are no revisions for this page.

User contributions

    This user never has never made submissions.

    User edits

    Syntax for editing wiki

    For you are available next options:

    will make text bold.

    will make text italic.

    will make text underlined.

    will make text striked.

    will allow you to paste code headline into the page.

    will allow you to link into the page.

    will allow you to paste code with syntax highlight into the page. You will need to define used programming language.

    will allow you to paste image into the page.

    is list with bullets.

    is list with numbers.

    will allow your to insert slideshare presentation into the page. You need to copy link to presentation and insert it as parameter in this tag.

    will allow your to insert youtube video into the page. You need to copy link to youtube page with video and insert it as parameter in this tag.

    will allow your to insert code snippets from @worker.

    Syntax for editing wiki

    For you are available next options:

    will make text bold.

    will make text italic.

    will make text underlined.

    will make text striked.

    will allow you to paste code headline into the page.

    will allow you to link into the page.

    will allow you to paste code with syntax highlight into the page. You will need to define used programming language.

    will allow you to paste image into the page.

    is list with bullets.

    is list with numbers.

    will allow your to insert slideshare presentation into the page. You need to copy link to presentation and insert it as parameter in this tag.

    will allow your to insert youtube video into the page. You need to copy link to youtube page with video and insert it as parameter in this tag.

    will allow your to insert code snippets from @worker.