DEMO

A demo of the framework can be downloaded here This demo annotates several hundreds pages from the popular site www.imdb.com and then, using an ad hoc projections rule document (written in PEARL), it projects the annotations into an ontology. This Ontology is an extension of the Movie Ontology MO.

This demo uses old (a couple of years )IMDB pages, since the annotatator is not able to analyze the current IMDB pages because they have changed their internal structure.

Usage

To use the demo follow this steps:

  1. Download the zip archive containing the demo from here
  2. Unpack it into a directory (let's assume in the directory CODATest)
  3. Launch one of the following executible: CODACompleteTest.bat or CODACompleteTest.sh depending on the operating system.
  4. After the selected test is completed you will find the ontologies in the same directory where you have unpacked the archive codaIMDB_demo.zip. In the log directory you'll find the log files regarding the test you have launched. Each log file contains all the information about the single test and at the end you'll find the time needed to complete the test. To have an idea on how long it takes to launch a demo see next section.

Configuration

This demo uses the configuration paramter specified in the codaimdb.properties file. This is what it is written in that file:

			 
#This file contains the properties need to make codaimdb work

#the path of the ontology file used by CODA
ontologyFile=imdbOnto.owl

#the directory used by the triple management to store the model
repositoryDir=repDir

#the path of the PEARL file used by CODA
#pearlFile=IMDB.pr
#pearlFile=IMDB_binding.pr
pearlFile=IMDB_simple.pr

#set to true to recursively import the need ontology 
recursiveOntologyImport=true

#the number of pages to process
numOfPages=900

#it is the number of processed pages when the ontology should be saved
saveEvery=20

#set to true to use autocommit, false otherwise (if set to true it can slow down the process)
useAutocommit=false

#set to true to use the reasoner, false otherwise (if set to true it can slow down the process a lot)
useResoner=false

#the directory containing all the needed converters
converterFolder=converters

#the directory that will be used (created if not existing) by OSGi to store the bundles
osgiCacheFolder=cache

#the directory containing the html file to process
inputFiles=inputFiles

#the directory used by CODA to store some of its temporary file
tempDir=temp

#the rdf format of the saved file. The accepted formats are (the default is turtle):
# - turtle
# - n3
# - rdfxml
# - trix
rdfsaveformat=turtle
			
		

Each paramter can be changed and a brief explaination to what its usage is ir provided in the codaimdb.properties file itself

Performance

The execution of a single test (each test inside each family of test) can take from 30 seconds up to several hours depending on the computer's specifics on which it is executes, the PEARL file and more importantly if the reasoner is used.