neha gupta
2016-10-29 10:49:41 UTC
I have ontology in which I want to add Team wins and goals. In this
ontology I uses only the current wins using:
team.setPropertyValue() as it over write old data.
I also need to keep track of previous team wins, goals etc so I want to
store it in another owl file and will use
team.addLiteral(). I will use another model for that i-e model2
But I dont know how to write that specific values to second ontology. I
mean I will have team.setPropertyValue() in my main model and will be
stored in my main owl file. But how can I store team.addLiteral() in my
second owl file using model2 ?
my main model to write in file is at the end of code is :
infmodel.write(writer, "RDF/XML"); //Because I used rules
ontology I uses only the current wins using:
team.setPropertyValue() as it over write old data.
I also need to keep track of previous team wins, goals etc so I want to
store it in another owl file and will use
team.addLiteral(). I will use another model for that i-e model2
But I dont know how to write that specific values to second ontology. I
mean I will have team.setPropertyValue() in my main model and will be
stored in my main owl file. But how can I store team.addLiteral() in my
second owl file using model2 ?
my main model to write in file is at the end of code is :
infmodel.write(writer, "RDF/XML"); //Because I used rules