This work won the award for the best project at LDAC2019 Hackathon . We extended the work by Faria et al. and modified their tool AgreementMakerLight for this project.
Our implementation can be used to exploring the capabilities of AgreementMakerLight tool for ontology matching. We used Python scripts to automate creating different outputs by trying out different settings of AgreementMakerLight to determine the best property combination for matching your domain ontology.
- Python 3.7
- RDFlib
- Numpy
- Itertools
- re
- os
- Clone this repo.
- Download and unzip AgreementMakerLight inside the repo such that AgreementMakerLight.jar and OntoMatch.py and Folder 'store' are in the root folder.
- Place the ontologies to be compared in your root folder.
- Open OntoMatch.py using VS code or similar.
- Edit the combination of properties in the
main()
in the fileOntoMatch.py
. - Run the code.
- You would see results in
count_result
andresult
file. - The respective config.ini files containing combinations of AML methods and the resulting 'alignment.rdf' are stored in ./store/config_files/ and ./store/alignment_files/ respectively.
The AgreementMakerLight has options to different matching steps, the default one being "Background Knowledge Matcher". The .py file in this repository runs using all the available owl files in the ./store/knowledge/. folder by default.
- An owl file of any ontology has to be copied in the following root folder of the tool: ./store/knowledge/.
- In the tool, go to Match>Custom Match>Match Options>Settings>Matching Settings, and select your loaded knowledge base prior to initiating the matching.