Difference between revisions of "LOOM"
Line 10: | Line 10: | ||
LOOM can be executed with a command of the following form: <br> | LOOM can be executed with a command of the following form: <br> | ||
− | ''java -jar [-Xmx1500m] | + | ''java -jar [-Xmx1500m] Loom.jar source.pprj target.pprj SourceSynonymSlotURI TargetSynonymSlotURI'' |
In this command, source.pprj is the protege project file for the OWL source ontology to be mapped. target.pprj is the protege project file for the target ontology. SourceSynonymSlotURI is the full URI for the slot in which the source ontology stores synonym names. TargetSynonymSlotURI is the full URI for the slot containing synonyms in the target ontology. These URIs are quite often annotation properties in the ontologies. | In this command, source.pprj is the protege project file for the OWL source ontology to be mapped. target.pprj is the protege project file for the target ontology. SourceSynonymSlotURI is the full URI for the slot in which the source ontology stores synonym names. TargetSynonymSlotURI is the full URI for the slot containing synonyms in the target ontology. These URIs are quite often annotation properties in the ontologies. | ||
Line 17: | Line 17: | ||
For example, if you were to try to use LOOM to map Mouse Adult Gross Anatomy to Zebrafish Anatomy and Development, you would use the following command:<br> | For example, if you were to try to use LOOM to map Mouse Adult Gross Anatomy to Zebrafish Anatomy and Development, you would use the following command:<br> | ||
− | ''java -jar -Xmx1500m | + | ''java -jar -Xmx1500m Loom.jar mouse.pprj zebrafish.pprj http://www.geneontology.org/formats/oboInOwl#hasRelatedSynonym http://www.geneontology.org/formats/oboInOwl#hasExactSynonym |
'' | '' | ||
Revision as of 22:23, 19 March 2009
About LOOM
Lexical OWL Ontology Matcher (LOOM) is a freely available tool for ontology alignment. LOOM takes two ontologies represented in OWL and produces pairs of related concepts from the ontologies. In order to identify the corresponding concepts, LOOM compares the preferred names and synonyms of the concepts in both ontologies. It identifies two concepts from different ontologies as similar, if and only if their preferred names or synonyms are equivalent based on a modified string-comparison function. Our string-comparison function first removes all delimiters from both strings (e.g., spaces, underscores, parentheses, etc.). It then uses an approximate matching technique to compare the strings, allowing for a mismatch of at most one character in strings with length greater than four and no mismatches for shorter strings.
Obtaining LOOM
LOOM can currently be obtained here
Using LOOM
LOOM can be executed with a command of the following form:
java -jar [-Xmx1500m] Loom.jar source.pprj target.pprj SourceSynonymSlotURI TargetSynonymSlotURI
In this command, source.pprj is the protege project file for the OWL source ontology to be mapped. target.pprj is the protege project file for the target ontology. SourceSynonymSlotURI is the full URI for the slot in which the source ontology stores synonym names. TargetSynonymSlotURI is the full URI for the slot containing synonyms in the target ontology. These URIs are quite often annotation properties in the ontologies.
Note that the [] designates an optional flag for allocating additional virtual memory to LOOM.
For example, if you were to try to use LOOM to map Mouse Adult Gross Anatomy to Zebrafish Anatomy and Development, you would use the following command:
java -jar -Xmx1500m Loom.jar mouse.pprj zebrafish.pprj http://www.geneontology.org/formats/oboInOwl#hasRelatedSynonym http://www.geneontology.org/formats/oboInOwl#hasExactSynonym
A few additional important tips:
- You should keep the .owl and .pprj files in the same folder as LOOM.
- Your project should be configured so that the preferred name of the concepts and synonyms are set as the browser text (instructions on how to do this are below).
- LOOM makes use of thread synchronization and so its speed is significantly improved with additional memory allocation. We strongly advise allocating additional virtual memory with the command -Xmx1500m (or however memory you choose to allocate).
Notes
How to configure your protege project so concepts have preferred name as browser text:
- Go to OWL -> Preferences. Under the visibility tab, put a check by owl:Class. Close preferences.
- In the main screen, go to the individuals tab. Select owl:Class from the class hierarchy browser. Now, in the individual browser, select the downward-pointing arrow (menu button) near the top. Then choose Set Display Slot and select the slot that you want to display as browser text (in most cases this will be rdfs:label).
- You should repeat this process to ensure that your synonym slot also displays the preferred name.