Towards a formal specification of course structures

Explanations Example 1 Example 2 Example 3 Example 4

Explanations

The examples shown here emphasize that with the help of XML technology and formally specified unit and course structure data, computations can be performed which bring benefits to both students and staff of the university. The following examples are based on the  exemplary unitdefinitions shown in section below. The examples comprise:

All files mentioned are contained in the ZIP archive deliverables.zip.

Unitdefinitions facts database for testing

In order to test the developed Prolog programs, a small facts database of unitdefinitions is required. These facts are generated by performing an XSL transformation on a set of unitdefinitions which are contained in the file unitdatabase-example.xml. Figure 1 shows the dependencies between these units in terms of possible choices. The used XSL stylesheet is contained in the file unitdatabase2prologunitdatabase.xsl, and the generated facts are contained in the file unitdatabase-example.pl. Note that unit c is only attached with 3 credit points and all other units are attached with 6 credit points.


Figure 1: Dependencies between the exemplary units

The dependencies are relevant for computations that answer questions of the type:

For explanations of the Prolog programs which operate on this test environment see section 6.2.5 (Prolog programs for computations based on unitdefinitions), section 6.3.4 (Prolog programs for computations based on sequencedefinitions) and Appendix H (Other Prolog programs) in the Thesis.
Last modified: 18. June 2005
Copyright © Patrick Frey