-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error importing subontology into snowstorm #2
Comments
This is a very unusual error. I recommend deleting the Elasticsearch indices and trying the import again.
Then restarting Snowstorm will automatically recreate the indices that are needed, ready for the import. |
I did it several times. Deleting everything and importing again. What took my attention is that the importer only recognize 30 concepts but in the concepts files there is more: sct2_Concept_Snapshot_INT_20240326.txt
Do you see something wrog here? |
That concepts file looks fine. If you send me the zip I can debug the import. |
This is the zip file |
There are three duplicate entries in the sct2_Concept_Snapshot_INT_20240326.txt file.
Perhaps these concepts appear in the concept snapshot files within the SnomedCT_Argentina-EditionRelease_PRODUCTION_20230531T120000Z.zip archive more than once? |
The concepts within the "SnomedCt_test.zip" zip file uploaded is very different from the concept file contents that were posted above. The contents above look okay but the one is the zip file contains duplicates. |
So wired. The snomed-subontology-extraction outputs an RF2 folder and a zip file. I thought that they were the same but they don't. What are the difference ? do you know? |
Well, i run the importer again with the content of the RF2 folder and it worked perfect. |
Great news about the import! |
Hello, I'm having trouble running a Java command, and I’m not very familiar with Java. Here’s what I tried: & "C:\Program Files\Java\jdk-17\bin\java" -Xms4g -jar .\snomed-subontology-extraction-2.0.0-executable.jar -source-ontology .\ontology.xml -input-subset .\door.txt -verify-subontology faced this error in attached file and when I ran this command: & "C:\Program Files\Java\jdk-17\bin\java" -Xms4g --add-opens java.base/java.lang=ALL-UNNAMED -jar .\snomed-subontology-extraction-2.0.0-executable.jar -source-ontology .\ontology.xml -input-subset .\door.txt -verify-subontology I also tried using TTL and RDF/XML formats for the ontology, but no luck. Any advice on fixing this would be really helpful! Thanks! |
The first command you tried failed because of a security issue. The second command you ran has the extra parameters to overcome the security issue but it seems to have not selected anything. The ontology input format should use functional syntax. This can be generated using the SNOMED OWL Toolkit, see SNOMED to OWL Conversion. You can grab the jar file for that from the snomed-owl-toolkit releases page. For example "snomed-owl-toolkit-5.3.0-executable.jar". This will produce an owl file with a filename like |
I’m working on a project to create a subontology focused on “Door” using the IFC4 ontology from buildingSMART, available in JSON, TTL, NL, and XML formats (https://standards.buildingsmart.org/IFC/DEV/IFC4/ADD2_TC1/OWL/index.html). The snomed-subontology-extraction tool requires OWL functional syntax. Is there the possibility of using these format in this tool? Would you recommend using TTL or RDF/XML formats from the IFC4 options, or is there another format that would work better? Additionally, the SNOMED OWL Toolkit needs an RF2 structure, and I’m unsure if IFC4 includes this format. Would I need to convert the ontology into RF2 to use this tool? Thank you for any guidance! |
The SNOMED Subontology Extraction tool has been created to work with the SNOMED CT Ontology and SNOMED CT RF2 release files only. It is not intended for us with other ontologies. The algorithm expects specific SNOMED CT concepts and axioms to be present and also uses the SNOMED CT attribute hierarchy. Unfortunately I do not think this tool is suitable for use with the IFC4 ontology. |
Hi!
I want to use this utility create a light RF2 ZIP file in order to test my application workflow.
concepts.list
After running this command, i imported the zip file into snowstorm but i got the following error:
there are not any concepts duplicated in zip files.
The text was updated successfully, but these errors were encountered: