The diagram below represents the Ontology that I created using Protege 3.4.8.
What I would like is to create a dotNet application that can add instances (or individuals) to the same, automatically after reading values from a database, say an Excel file. For e.g.: If I have an Excel file that has the following data,
I can add these data manually through Protege itself and the following data will be appended to the RDF file within the
As far as writing the code to read the records from Excel you will have to do that yourself. But to create the individuals you simply use the Node and Triple API of dotNetRDF. See the Hello World example for some very simple examples of this.
So for example to create the first person in your example there you might do the following:
answered 16 Jan, 05:32
Rob Vesse ♦