robot
robot copied to clipboard
bulk load owl:Individual
Hello,
I am using Protege 5.5. In order to load the lists of terms I have I am using ROBOT to convert CSV/TSV files into OWL files. This works well to create CLASSES. However, It does not work so well to create INDIVIDUALs for an existing class. In other words, I already created the class hierarchy I want to use. Now I want to load the instances for each class separately.
Here are the TSV files I'm using:
CLASSES:
CURIE Label Parent Comment ID LABEL SC % A rdfs:comment obo:0000001 catalog A catalog obo:0000002 StopWords catalog A list of terms obo:0000003 Dictionary catalog A list of different terms ...
INDIVIDUALS:
CURIE Label Type Parent Comment ID LABEL TI % SC % A rdfs:comment obo:0000003 Dictionary A list of different terms obo:0000004 dog owl:Individual Dictionary A member of the subspecies Canis lupus familiaris. obo:0000005 cat owl:Individual Dictionary A member of the species Felis catus. ...
These files are converted to OWL files when properly formatted. The first works; the second does not.
What do I need to change to allow the individual items to be converted to OWL format? It is not clear to me from the ROBOT documentation how to set up the file of instances.
Thanks for any help you can provide.
Joe White
Individuals have an rdf:type (TYPE). They cannot have an rdfs:subClassOf (SC). There is no need to assert than an individual is an owl:Individual. Something like this should work:
CURIE,Label,Type,Comment
ID,LABEL,TYPE,A rdfs:comment
obo:0000003,Fred's English Dictionary,Dictionary,Fred's dictionary of English terms