This document describes the objectives and (un)implemented tasks (tickets) of the new version of MAGIK tool.
Creation Date: 2013/05/15.
Last Modified: ~~LASTMOD~~.
MAGIK
- initial test version.MAGIK_WEB/
- a version presented in November 2012 at CIKM. MAGIK_WEB_AFTER_CIKM/
- a version developed after November 2012 at CIKM. Novelties:MAGIK_WEB_VLDB/
- a version prepared for the query approximation version of MAGIKk
jdbc:postgresql:/
/magik-demo.inf.unibz.it:5432/magik3
(user and pass are as before)meta_information
<fc #FF0000>If we use hibernate then we should save schema objects only!</fc> <fc #FF0000>Extend schema class with type,dburl,dbusername,dbpassword</fc> (hibernate tutorial: http://www.tutorialspoint.com/hibernate/hibernate_overview.htm)
schema(schemaname,username,type,dburl,dbusername,dbpassword)
type in {local,remote}
schema[schemaname,username,type]
. It means that there cannot exists two schemas with the same name and type
(provided that for a moment we assume a single user in the system guest
.
tcstatement(username, schemaname, type, relation, headterms, condition)
. tcstatement[username, schemaname, type, relation]
.query(username, schemaname, type, queryname, atoms, outputvars, description, sql, semantics, countexists)
. tcstatement[username, schemaname, type, queryname]
.foreignkey(username, schemaname, type, sourcerelation, targetrelation, virtual, enforced)
. tcstatement[username, schemaname, type, sourcerelation, targetrelation]
.finitedomain(username, schemaname, type, relation, argposition, values)
. finitedomain[username, schemaname, type, relation, argposition]
.pupil('John', '1', 'b')
pupil_a(Name,Level,Code) ← pupil_i(Name,Level,Code) , learns_i(Name,'French').