2011 Volume 40 Issue 3 Pages 173-191
The National Center Test (NCT) is a nation-wide university entrance examination organized annually by the National Center for University Entrance Examinations (NCUEE) and Japanese universities. Increased archived data relating to the examinations require well organized management. The growing ubiquitous use of XML is enforced by the technical necessity for managing electrical data and documents. We introduced processing by Prolog, a logic-based language, for this purpose. At first, simple examples were given of the basic mechanisms of Prolog language. Some comparisons of list processing performances were presented. Then an XML parser on Prolog systems was introduced. An example was given of the parsing of a small XML document, and XML document generaion with the parser was explained. Finally, a method for analysing stratified contingency tables that considers G-Markov structure was presented.