From 1b6a128137e5d7a6ff75566869232fc054afabef Mon Sep 17 00:00:00 2001 From: RncLsn Date: Fri, 15 May 2015 17:32:22 +0100 Subject: Testing and fixing. Executed successfully on UOBM{1,2,3,4,5,6,7,8}. --- config/fly.conf | 19 ------------------- config/fly.properties | 19 +++++++++++++++++++ config/log4j.properties | 24 +++++++++++++++--------- config/lubm.conf | 20 -------------------- config/lubm.properties | 20 ++++++++++++++++++++ config/uobm.conf | 20 -------------------- config/uobm.properties | 20 ++++++++++++++++++++ 7 files changed, 74 insertions(+), 68 deletions(-) delete mode 100644 config/fly.conf create mode 100644 config/fly.properties delete mode 100644 config/lubm.conf create mode 100644 config/lubm.properties delete mode 100644 config/uobm.conf create mode 100644 config/uobm.properties (limited to 'config') diff --git a/config/fly.conf b/config/fly.conf deleted file mode 100644 index 88c85c3..0000000 --- a/config/fly.conf +++ /dev/null @@ -1,19 +0,0 @@ -#ONTOLOGY variable points to the file that stores ontology of interest -ONTOLOGY=data/fly/fly_anatomy_XP_with_GJ_FC_individuals.owl -#ONTOLOGY=data/fly/fbbt_vfb_ind_pr_nr.owl - -#QUERY variable points to the file that stores all queries -QUERY=data/fly/fly.sparql -#QUERY=data/fly/test.sparql - -#ANSWER variable points to the file to output all answers -#ANSWER=data/fly/fly.ans - -#TO_CLASSIFY switch for the optimisation to specify if the ontology is first classified by HermiT -TO_CLASSIFY=false - -#CALL_HERMIT variable to specify if HermiT is called or not -CALL_HERMIT=true - -#SHELL_MODE to enable query execution from console input -SHELL_MODE=false \ No newline at end of file diff --git a/config/fly.properties b/config/fly.properties new file mode 100644 index 0000000..88c85c3 --- /dev/null +++ b/config/fly.properties @@ -0,0 +1,19 @@ +#ONTOLOGY variable points to the file that stores ontology of interest +ONTOLOGY=data/fly/fly_anatomy_XP_with_GJ_FC_individuals.owl +#ONTOLOGY=data/fly/fbbt_vfb_ind_pr_nr.owl + +#QUERY variable points to the file that stores all queries +QUERY=data/fly/fly.sparql +#QUERY=data/fly/test.sparql + +#ANSWER variable points to the file to output all answers +#ANSWER=data/fly/fly.ans + +#TO_CLASSIFY switch for the optimisation to specify if the ontology is first classified by HermiT +TO_CLASSIFY=false + +#CALL_HERMIT variable to specify if HermiT is called or not +CALL_HERMIT=true + +#SHELL_MODE to enable query execution from console input +SHELL_MODE=false \ No newline at end of file diff --git a/config/log4j.properties b/config/log4j.properties index 95d64a0..6e88437 100644 --- a/config/log4j.properties +++ b/config/log4j.properties @@ -1,19 +1,25 @@ -#log4j.rootLogger=INFO, CONSOLE -log4j.rootLogger=DEBUG, CONSOLE, FILE +log = . +log4j.rootLogger=DEBUG, CONSOLE, FILE_LAST, FILE log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout -log4j.appender.CONSOLE.layout.ConversionPattern=%d{yyyy/MM/dd HH:mm:ss} %-5p %c{1}- %m%n +log4j.appender.CONSOLE.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} - %m%n log4j.appender.CONSOLE.Target=System.out log4j.appender.CONSOLE.Threshold=INFO -#log = ./output -log = . +log4j.appender.FILE_LAST=org.apache.log4j.RollingFileAppender +log4j.appender.FILE_LAST.File=${log}/pagoda_last_only.log +log4j.appender.FILE_LAST.MaxFileSize=10MB +log4j.appender.FILE_LAST.MaxBackupIndex=3 +log4j.appender.FILE_LAST.layout=org.apache.log4j.PatternLayout +log4j.appender.FILE_LAST.layout.conversionPattern=[%5p] %d{yyyy-MM-dd HH:mm:ss} %c - %m%n +log4j.appender.FILE_LAST.append=false +log4j.appender.FILE_LAST.Threshold=DEBUG + log4j.appender.FILE=org.apache.log4j.RollingFileAppender -log4j.appender.FILE.File=${log}/log4j.log +log4j.appender.FILE.File=${log}/pagoda.log log4j.appender.FILE.MaxFileSize=10MB log4j.appender.FILE.MaxBackupIndex=3 log4j.appender.FILE.layout=org.apache.log4j.PatternLayout -log4j.appender.FILE.layout.conversionPattern=%m%n -log4j.appender.FILE.append=false -log4j.appender.FILE.Threshold=DEBUG +log4j.appender.FILE.layout.conversionPattern=[%5p] %d{yyyy-MM-dd HH:mm:ss} %c - %m%n +log4j.appender.FILE.Threshold=DEBUG \ No newline at end of file diff --git a/config/lubm.conf b/config/lubm.conf deleted file mode 100644 index 73ed470..0000000 --- a/config/lubm.conf +++ /dev/null @@ -1,20 +0,0 @@ -#DATA variable points to the file that stores data -DATA=data/lubm/lubm1.ttl - -#ONTOLOGY variable points to the file that stores ontology of interest -ONTOLOGY=data/lubm/univ-bench.owl - -#QUERY variable points to the file that stores all queries -QUERY=data/lubm/lubm.sparql - -#ANSWER variable points to the file to output all answers -#ANSWER=data/lubm/lubm.ans - -#TO_CLASSIFY switch for the optimisation to specify if the ontology is first classified by HermiT -TO_CLASSIFY=true - -#CALL_HERMIT variable to specify if HermiT is called or not -CALL_HERMIT=true - -#SHELL_MODE to enable query execution from console input -SHELL_MODE=false \ No newline at end of file diff --git a/config/lubm.properties b/config/lubm.properties new file mode 100644 index 0000000..73ed470 --- /dev/null +++ b/config/lubm.properties @@ -0,0 +1,20 @@ +#DATA variable points to the file that stores data +DATA=data/lubm/lubm1.ttl + +#ONTOLOGY variable points to the file that stores ontology of interest +ONTOLOGY=data/lubm/univ-bench.owl + +#QUERY variable points to the file that stores all queries +QUERY=data/lubm/lubm.sparql + +#ANSWER variable points to the file to output all answers +#ANSWER=data/lubm/lubm.ans + +#TO_CLASSIFY switch for the optimisation to specify if the ontology is first classified by HermiT +TO_CLASSIFY=true + +#CALL_HERMIT variable to specify if HermiT is called or not +CALL_HERMIT=true + +#SHELL_MODE to enable query execution from console input +SHELL_MODE=false \ No newline at end of file diff --git a/config/uobm.conf b/config/uobm.conf deleted file mode 100644 index acbe78e..0000000 --- a/config/uobm.conf +++ /dev/null @@ -1,20 +0,0 @@ -#DATA variable points to the file that stores data -DATA=data/uobm/uobm1.ttl - -#ONTOLOGY variable points to the file that stores ontology of interest -ONTOLOGY=data/uobm/univ-bench-dl.owl - -#QUERY variable points to the file that stores all queries -QUERY=data/uobm/uobm.sparql - -#ANSWER variable points to the file to output all answers -#ANSWER=data/uobm/uobm.ans - -#TO_CLASSIFY switch for the optimisation to specify if the ontology is first classified by HermiT -TO_CLASSIFY=true - -#CALL_HERMIT variable to specify if HermiT is called or not -CALL_HERMIT=true - -#SHELL_MODE to enable query execution from console input -SHELL_MODE=false \ No newline at end of file diff --git a/config/uobm.properties b/config/uobm.properties new file mode 100644 index 0000000..acbe78e --- /dev/null +++ b/config/uobm.properties @@ -0,0 +1,20 @@ +#DATA variable points to the file that stores data +DATA=data/uobm/uobm1.ttl + +#ONTOLOGY variable points to the file that stores ontology of interest +ONTOLOGY=data/uobm/univ-bench-dl.owl + +#QUERY variable points to the file that stores all queries +QUERY=data/uobm/uobm.sparql + +#ANSWER variable points to the file to output all answers +#ANSWER=data/uobm/uobm.ans + +#TO_CLASSIFY switch for the optimisation to specify if the ontology is first classified by HermiT +TO_CLASSIFY=true + +#CALL_HERMIT variable to specify if HermiT is called or not +CALL_HERMIT=true + +#SHELL_MODE to enable query execution from console input +SHELL_MODE=false \ No newline at end of file -- cgit v1.2.3