Hi Léonard,
On 25/04/13 02:17, Léonard PETNGA wrote:
Hi Ian,
From your answer above it looks like Jena does allow to create
individuals, delete/add classes, statements and properties to the loaded
owl ontology model
Yes. Have you read:
http://jena.apache.org/documentation/ontology/index.html
directly from the java file. I guess the question is how? I would like to
focus our exchange back to a real case to illustrate part of my problem
using the excerpt below. I've loaded the wine ontology (.owl) in an empty
model and would like to write code to enrich/modify that ontology (see the
various methods listed). Do you or anyone have example code to help fill in
the gaps?
I'm sorry, but how can we fill in a specification like this:
// ============================================================
// Create and add individuals ...
// ============================================================
public void addIndividuals() {
//????
}
That provides no information at all about what the code should do. That
spec says "write a method that takes no arguments, returns no value, and
does something". I agree that focusing on a real case would be helpful,
but this isn't that.
Ian