kumar rohit
2016-06-30 20:43:20 UTC
I have an rdf file on c:/users/desktop/std.rdf. I have the following jena
code
*String personURI = "c://users/desktop/rohit/std.rdf";*
* String fullName = "rohit kumar";*
*// create an empty Model*
*Model model = ModelFactory.createDefaultModel();*
*// create the resource*
*Resource res1 = model.createResource(personURI)..addProperty(VCARD.FN,
fullName);*
What happens after this code? Is this save "rohit kumar" in the file
std.rdf?
I can not find this resource after running this code and open the file in
Protege?
code
*String personURI = "c://users/desktop/rohit/std.rdf";*
* String fullName = "rohit kumar";*
*// create an empty Model*
*Model model = ModelFactory.createDefaultModel();*
*// create the resource*
*Resource res1 = model.createResource(personURI)..addProperty(VCARD.FN,
fullName);*
What happens after this code? Is this save "rohit kumar" in the file
std.rdf?
I can not find this resource after running this code and open the file in
Protege?