Skip to content
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

Assigning individuals from a CSV file to an ontology in Protégé #1167

Open
Haythamyounus opened this issue Sep 22, 2023 · 5 comments
Open

Comments

@Haythamyounus
Copy link

Hello everyone,

I am a PhD researcher and my thesis is based on ontology. I am using Protégé for this purpose. I have created an ontology and defined classes, subclasses, and object properties. I want to assign individuals from a CSV file that I have. I tried to enter individuals manually one by one, but this is not a reliable solution. Could you guide me on how to do this?

Thanks in advance

@jamesaoverton
Copy link

If you are comfortable with command-line tools, you might consider ROBOT and specifically the robot template command. ROBOT is built on the same OWLAPI library as Protégé and designed to be completely compatible.

@Haythamyounus
Copy link
Author

Thanks for your reply. However, I am more comfortable doing it with Protege as already released a paper with the same tools. so i

@gouttegd
Copy link
Collaborator

Your best shot is probably the Cellfie plugin, which accepts an Excel spreadsheet (and only that apparently, not CSV/TSV files) and allows you to create arbitrary axioms (including definitions of individuals) from its contents using MappingMaster rules.

The plugin is bundled with the default distribution of Protégé and is available through Tools > Create axioms from Excel workbook.

I have never used it though, so I can’t be of any more help.

@ElhamamiCh
Copy link

I'm having the same problem. Could you share the solution with me, please?

@yasenstar
Copy link

I'm having the same problem. Could you share the solution with me, please?

Hi @ElhamamiCh ,

I experience the similar situation when build one of my ontology, here I've included "create axioms base on Excel" in this video: https://youtu.be/GfhqEe4A2eU, it's in Chinese language but hope you can refer to the video demoed steps. When I have time, would like to record one specific guide to show this bulk axiom load in English as well.

Good luck,
Xiaoqi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants