ernestojimenezruiz / logmap-matcher

LogMap: An Ontology Alignment and Alignment Repair System
Apache License 2.0
122 stars 31 forks source link

Running logmap's docker image over local track and getting 0 correspondences #31

Open abhiseksharma opened 2 years ago

abhiseksharma commented 2 years ago

Hi,

I was running logmap's docker image over local dataset, though there are no errors, getting 0 correspondences.

Please take a look at the below log and if you find something that maybe the issue please let me know.

WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance.
2022-09-28 16:55:16,871 INFO  MeltUtil                  - Welcome to
 __  __ ______ _   _______
|  \/  |  ____| | |__   __|
| \  / | |__  | |    | |
| |\/| |  __| | |    | |
| |  | | |____| |____| |
|_|  |_|______|______|_|    3.4-SNAPSHOT (git commit f281487)
2022-09-28 16:55:16,877 INFO  Track                     - Track cache folder is: C:\Users\user\oaei_track_cache
Recognized MELT WEB DOCKER package:
.\logmap-melt-oaei-2021-web-latest.tar.gz
2022-09-28 16:55:16,881 INFO  Main                      - Please make sure that docker is running on your system.
2022-09-28 16:55:17,785 INFO  MatcherDockerFile         - Connected to docker machine: docker-desktop
2022-09-28 16:55:17,785 INFO  MatcherDockerFile         - Load docker image from file .\logmap-melt-oaei-2021-web-latest.tar.gz to docker local registry. If image is already there, use constructor MatcherDockerFile(String imageName).
2022-09-28 16:55:21,952 INFO  MatcherDockerFile         - Starting container from image logmap-melt-oaei-2021-web (port 8080 from container is mapped to port 64007 in host)
2022-09-28 16:55:22,729 INFO  MatcherDockerFile         - Container started with id cff3121683ac3f1a0e2826cda9a293aaf3221ad31042ea52bb5ba2f0d47a154c
2022-09-28 16:55:22,731 INFO  Main                      - Running matching systems...
2022-09-28 16:55:22,752 INFO  ExecutionRunner           - Running matcher .\logmap-melt-oaei-2021-web-latest.tar.gz on testcase Local TC (track LocalTrack).
2022-09-28 16:55:23,103 INFO  DockerLogCallback         - STDOUT: 2022-09-28 11:25:23 INFO  [main                          ] 170  in log                  - Logging initialized @381ms to org.eclipse.jetty.util.log.Slf4jLog
2022-09-28 16:55:23,208 INFO  MatcherHTTPCall           - Execute now the following HTTP request: POST http://localhost:64007/match HTTP/1.1
2022-09-28 16:55:23,226 INFO  DockerLogCallback         - STDOUT: 2022-09-28 11:25:23 INFO  [main                          ] 68   in Main                 - Matching service runs at: http://localhost:8080/match
2022-09-28 16:55:23,229 INFO  DockerLogCallback         - STDOUT: 2022-09-28 11:25:23 INFO  [main                          ] 375  in Server               - jetty-9.4.41.v20210516; built: 2021-05-16T23:56:28.993Z; git: 98607f93c7833e7dc59489b13f3cb0a114fb9f4c; jvm 1.8.0_212-b04
2022-09-28 16:55:23,240 INFO  RetryExec                 - I/O exception (java.net.SocketException) caught when processing request to {}->http://localhost:64007: Software caused connection abort: socket write error
2022-09-28 16:55:23,240 INFO  MatcherHTTPCall           - Endpoint is not ready / an exception occurred. Waiting 10 seconds. Trial 1/5
2022-09-28 16:55:23,277 INFO  DockerLogCallback         - STDOUT: 2022-09-28 11:25:23 INFO  [main                          ] 916  in ContextHandler       - Started o.e.j.s.ServletContextHandler@5ae63ade{/,null,AVAILABLE}
2022-09-28 16:55:23,308 INFO  DockerLogCallback         - STDOUT: 2022-09-28 11:25:23 INFO  [main                          ] 331  in AbstractConnector    - Started ServerConnector@5a61f5df{HTTP/1.1, (http/1.1)}{0.0.0.0:8080}
2022-09-28 16:55:23,308 INFO  DockerLogCallback         - STDOUT: 2022-09-28 11:25:23 INFO  [main                          ] 415  in Server               - Started @586ms
2022-09-28 16:55:33,246 INFO  MatcherHTTPCall           - Execute now the following HTTP request: POST http://localhost:64007/match HTTP/1.1
2022-09-28 16:55:33,317 INFO  DockerLogCallback         - STDOUT: 2022-09-28 11:25:33 INFO  [qtp1748225580-19              ] 90   in Main                 - Got multipart request - start matching
2022-09-28 16:55:33,361 INFO  DockerLogCallback         - STDOUT: 2022-09-28 11:25:33 INFO  [qtp1748225580-19              ] 206  in Main                 - Server starts matcher class uk.ac.city.logmap.melt.LogMap_MELT for task:
Source:file:/tmp/MELT-fileupload8654086080574412052/source-8453155817845026653.rdf
Target:file:/tmp/MELT-fileupload8654086080574412052/target-1887410882821678633.rdf
InputAlignment:null
Parameter:null
2022-09-28 16:55:33,387 INFO  DockerLogCallback         - STDOUT: 2022-09-28 11:25:33 INFO  [qtp1748225580-19              ] 486  in Parameters           - Reading LogMap parameters from file.
2022-09-28 16:55:33,964 INFO  DockerLogCallback         - STDOUT: 2022-09-28 11:25:33 INFO  [qtp1748225580-19              ] 395  in LogMap2Core          - LogMap: ontology loading and overlapping extraction
2022-09-28 16:55:34,420 INFO  DockerLogCallback         - STDOUT: 2022-09-28 11:25:34 INFO  [qtp1748225580-19              ] 1307 in OWLRDFConsumer       - dumping remaining triples
2022-09-28 16:55:34,421 INFO  DockerLogCallback         - STDOUT: 2022-09-28 11:25:34 INFO  [qtp1748225580-19              ] 1341 in OWLRDFConsumer       - done dumping remaining triples
2022-09-28 16:55:35,061 INFO  DockerLogCallback         - STDOUT: 2022-09-28 11:25:35 INFO  [qtp1748225580-19              ] 1307 in OWLRDFConsumer       - dumping remaining triples
2022-09-28 16:55:35,065 INFO  DockerLogCallback         - STDOUT: 2022-09-28 11:25:35 INFO  [qtp1748225580-19              ] 1341 in OWLRDFConsumer       - done dumping remaining triples
2022-09-28 16:55:35,087 INFO  DockerLogCallback         - STDOUT: 2022-09-28 11:25:35 INFO  [qtp1748225580-19              ] 404  in LogMap2Core          - LogMap indexation
2022-09-28 16:55:35,208 INFO  DockerLogCallback         - STDOUT: 2022-09-28 11:25:35 INFO  [qtp1748225580-19              ] 423  in LogMap2Core          - LogMap anchor extraction
2022-09-28 16:55:35,219 INFO  DockerLogCallback         - STDOUT: 2022-09-28 11:25:35 INFO  [qtp1748225580-19              ] 428  in LogMap2Core          - LogMap class mapping extraction
2022-09-28 16:55:35,226 INFO  DockerLogCallback         - STDOUT: 2022-09-28 11:25:35 INFO  [qtp1748225580-19              ] 471  in LogMap2Core          - LogMap property mapping extraction
2022-09-28 16:55:35,324 INFO  DockerLogCallback         - STDOUT: 2022-09-28 11:25:35 INFO  [qtp1748225580-19              ] 479  in LogMap2Core          - LogMap instance mapping extraction
2022-09-28 16:55:35,325 INFO  DockerLogCallback         - STDOUT: 2022-09-28 11:25:35 INFO  [qtp1748225580-19              ] 39   in LogMap_MELT          - Matching with LogMap completed
2022-09-28 16:55:35,333 INFO  DockerLogCallback         - STDOUT: 2022-09-28 11:25:35 INFO  [qtp1748225580-19              ] 158  in Main                 - Finished matching
2022-09-28 16:55:35,345 INFO  ExecutionRunner           - Running matcher .\logmap-melt-oaei-2021-web-latest.tar.gz on testcase Local TC (track LocalTrack) completed in 12 seconds.
2022-09-28 16:55:35,369 INFO  Main                      - Evaluating matching system results...
2022-09-28 16:55:35,587 INFO  EvaluatorCSV              - Evaluate matcher .\logmap-melt-oaei-2021-web-latest.tar.gz
2022-09-28 16:55:35,635 INFO  OntologyCacheJena         - Reading model into cache (file:/C:/Users/user/OneDrive/conference-conference-de-hi/source.rdf)
2022-09-28 16:55:35,745 INFO  OntologyCacheJena         - Reading model into cache (file:/C:/Users/user/OneDrive/conference-conference-de-hi/target.rdf)
2022-09-28 16:55:35,807 INFO  ExecutionRunner           - Running matcher baseLineMatcher on testcase Local TC (track LocalTrack).
2022-09-28 16:55:35,854 INFO  ExecutionRunner           - Running matcher baseLineMatcher on testcase Local TC (track LocalTrack) completed in 0 seconds.
2022-09-28 16:55:35,886 INFO  EvaluatorCSV              - Writing alignment cube
2022-09-28 16:55:35,886 INFO  AlignmentsCube            - Writing LocalTrack | Local TC | .\logmap-melt-oaei-2021-web-latest.tar.gz [to file: C:\Users\user\AppData\Local\Temp\melt-client-results-2315723151985622977\alignmentCube.csv]
Results written to: C:\Users\user\AppData\Local\Temp\melt-client-results-2315723151985622977
2022-09-28 16:55:35,933 INFO  Main                      -

Matcher: .\logmap-melt-oaei-2021-web-latest.tar.gz
Macro Precision: 0.0
Macro Recall: 0.0
Macro F1: 0.0
Micro Precision: 0.0
Micro Recall: 0.0
Micro F1: 0.0
Total Runtime (HH:MM:SS): 00:00:12
Since F1 is 0, you can find the full log of .\logmap-melt-oaei-2021-web-latest.tar.gz below:
2022-09-28 16:55:35,955 INFO  Main                      - STDOUT: 2022-09-28 11:25:23 INFO  [main                          ] 170  in log                  - Logging initialized @381ms to org.eclipse.jetty.util.log.Slf4jLog
STDOUT: 2022-09-28 11:25:23 INFO  [main                          ] 68   in Main                 - Matching service runs at: http://localhost:8080/match
STDOUT: 2022-09-28 11:25:23 INFO  [main                          ] 375  in Server               - jetty-9.4.41.v20210516; built: 2021-05-16T23:56:28.993Z; git: 98607f93c7833e7dc59489b13f3cb0a114fb9f4c; jvm 1.8.0_212-b04
STDOUT: 2022-09-28 11:25:23 INFO  [main                          ] 916  in ContextHandler       - Started o.e.j.s.ServletContextHandler@5ae63ade{/,null,AVAILABLE}
STDOUT: 2022-09-28 11:25:23 INFO  [main                          ] 331  in AbstractConnector    - Started ServerConnector@5a61f5df{HTTP/1.1, (http/1.1)}{0.0.0.0:8080}
STDOUT: 2022-09-28 11:25:23 INFO  [main                          ] 415  in Server               - Started @586ms
STDOUT: 2022-09-28 11:25:33 INFO  [qtp1748225580-19              ] 90   in Main                 - Got multipart request - start matching
STDOUT: 2022-09-28 11:25:33 INFO  [qtp1748225580-19              ] 206  in Main                 - Server starts matcher class uk.ac.city.logmap.melt.LogMap_MELT for task:
STDOUT: Source:file:/tmp/MELT-fileupload8654086080574412052/source-8453155817845026653.rdf
STDOUT: Target:file:/tmp/MELT-fileupload8654086080574412052/target-1887410882821678633.rdf
STDOUT: InputAlignment:null
STDOUT: Parameter:null
STDOUT: 2022-09-28 11:25:33 INFO  [qtp1748225580-19              ] 486  in Parameters           - Reading LogMap parameters from file.
STDOUT: 2022-09-28 11:25:33 INFO  [qtp1748225580-19              ] 395  in LogMap2Core          - LogMap: ontology loading and overlapping extraction
STDOUT: 2022-09-28 11:25:34 INFO  [qtp1748225580-19              ] 1307 in OWLRDFConsumer       - dumping remaining triples
STDOUT: 2022-09-28 11:25:34 INFO  [qtp1748225580-19              ] 1341 in OWLRDFConsumer       - done dumping remaining triples
STDOUT: 2022-09-28 11:25:35 INFO  [qtp1748225580-19              ] 1307 in OWLRDFConsumer       - dumping remaining triples
STDOUT: 2022-09-28 11:25:35 INFO  [qtp1748225580-19              ] 1341 in OWLRDFConsumer       - done dumping remaining triples
STDOUT: 2022-09-28 11:25:35 INFO  [qtp1748225580-19              ] 404  in LogMap2Core          - LogMap indexation
STDOUT: 2022-09-28 11:25:35 INFO  [qtp1748225580-19              ] 423  in LogMap2Core          - LogMap anchor extraction
STDOUT: 2022-09-28 11:25:35 INFO  [qtp1748225580-19              ] 428  in LogMap2Core          - LogMap class mapping extraction
STDOUT: 2022-09-28 11:25:35 INFO  [qtp1748225580-19              ] 471  in LogMap2Core          - LogMap property mapping extraction
STDOUT: 2022-09-28 11:25:35 INFO  [qtp1748225580-19              ] 479  in LogMap2Core          - LogMap instance mapping extraction
STDOUT: 2022-09-28 11:25:35 INFO  [qtp1748225580-19              ] 39   in LogMap_MELT          - Matching with LogMap completed
STDOUT: 2022-09-28 11:25:35 INFO  [qtp1748225580-19              ] 158  in Main                 - Finished matching

2022-09-28 16:55:35,957 INFO  MatcherDockerFile         - JVM shutdown detected and container cff3121683ac3f1a0e2826cda9a293aaf3221ad31042ea52bb5ba2f0d47a154c is shut down now. Please call close method of MatcherDockerFile to remove this message.

Thanks Abhisek

abhiseksharma commented 2 years ago

Hi,

If anything comes to your mind please let me know, it might give me some insight on something that I might be missing.

Thanks, Abhisek

ernestojimenezruiz commented 2 years ago

Hi Abhisek

It depends on the test case. It seems there is no error involved. Have you tried using LogMap without the dockerization?

Ernesto

El vie, 14 oct 2022 a las 20:53, Abhisek Sharma @.***>) escribió:

Hi,

If anything comes to your mind please let me know, it might give me some insight on something that I might be missing.

Thanks, Abhisek

— Reply to this email directly, view it on GitHub https://github.com/ernestojimenezruiz/logmap-matcher/issues/31#issuecomment-1279399535, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADYLZ6UR6K7DQ7IQLVZ32BDWDG2Z5ANCNFSM6AAAAAAQXVWWOM . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Ernesto Jiménez-Ruiz Lecturer in Artificial Intelligence

Department of Computer Science School of Science & Technology City, University of London https://www.city.ac.uk/people/academics/ernesto-jimenez-ruiz