Interoperability Strategies 1

Project no. 269977
APARSEN
Alliance for Permanent Access to the Records of
Science Network
Instrument:
Network of Excellence
Thematic Priority:
ICT 6-4.1 – Digital Libraries and Digital Preservation
EXERCISES
INTEROPERABILITY STRATEGIES1
1
The exercises are based on the APARSEN tasks that produced the deliverable D25.2 Interoperability
Strategies.
Exercise 1: Choose the correct word to complete each sentence:
(emulation, standardization, semantic web technologies, task-performability
checking, dependency management, web )
a. One way to tackle interoperability issues is ………………………………..
b. A quite general view of the digital preservation problem is to approach it
from a ……………………………….. point of view.
c. Many strategies developed to preserve digital objects and keep them
accessible in the long run. ……………………………….. is one of these.
d. Epimenides is a ………………………………..application. One of the basic
services that offers is ………………………………… The architecture of
Epimenides based on …………………………………
Exercise 2: To ensure preservation from a dependency management point of view
we should be able to express facts and rules .Read the following scenario and fill the
tables that follow.
“James has a laptop where he has installed the NotePad text editor, the javac 1.6
compiler for compiling Java programs and JRE1.5 for running Java programs
(bytecodes). He is learning to program in Java and C++ and to this end, and through
NotePad he has created two files, HelloWorld.java and HelloWorld.cc, the first being
the source code of a program in java, the second of one in C++. Consider another
user, say Helen, who has installed in her laptop the Vi editor and JRE1.5. Suppose
that we want to preserve these files, i.e. to ensure that in future James and Helen will
be able to edit, compile and run these files. In general, to edit a file we need an
editor, to compile a program we need a compiler, and to run the bytecodes of a Java
program we need a Java Virtual Machine”.
James Facts
Notepad is a TextEditor :
Notepad(TextEditor)
Hellen Facts
Rules
A file is Editable if it is a TextFile and a TextEditor is available
Edit(x,y) :- TextFile(x), TextEditor(y)
Exercise 3: Consider a user, who has a laptop where he has installed a C++ compiler
(gcc) and a smart phone running Android OS. Suppose he has an old source file in
Pascal programming language, say game.pas, and he has found a converter from
Pascal to C++, say p2cpp, and an emulator of Windows OS over Android OS, say
emulWin. It is evident that he cannot run directly the game.pas on his laptop or on
his smart phone.
Using Epimenides2 load his profile (Just Run a Demo - Scenario User A), which
already contains all the required modules (you do not need to add anything), upload
the game.pas file, and by exploring the dependencies try to understand why finally
he can run the game.pas.
You can download the game.pas file from here.
Note : The MIME Type of a .cpp file is : “x-c” , and for a . exe file is : “octet-stream” .
2
www.ics.forth.gr/isl/epimenides/
Exercise 4: Now consider another user who has a smart phone running Android OS.
Suppose that he received a “secret.doc”.
Assume that he has found an Android to Windows Emulator (i.e. an emulator that
allows running windows applications on an Android OS). This user is wondering if he
can edit the secret.doc file. Use Epimenides and try to answer this question.
You should add the modules that this user has and the task (edit) that we want to
check if can be performed.
Load Scenario User B.
You can download the secret.doc file from here.
Note 1: The MIME Type of a .doc file is: “application/msword”.
Note 2: We suppose that to edit a .doc file you need just the Word Microsoft Office
module.