Hello everyone, I used JenaBean to persist my java model into the TDB database. I wrote the content of the model with *model.write(System.out,"N3");* and i have the following result :
< http://com.telemis.core.aim.base/ImageStudy/2.16.56.465769650.20070523082619.459.0 > a <http://com.telemis.core.aim.base/ImageStudy> ; <http://com.telemis.core.aim.base/cagridId> 0 ; <http://com.telemis.core.aim.base/instanceUID> *"2.16.56.465769650.20070523082619.459.0"*^^< http://www.w3.org/2001/XMLSchema#string> ; <http://com.telemis.core.aim.base/startDate> "2014-06-23T11:40:23"^^< http://www.w3.org/2001/XMLSchema#string> ; <http://com.telemis.core.aim.base/startTime> "+00:00:00.000000"^^<http://www.w3.org/2001/XMLSchema#string> . I want to retrieve the resource *<http://com.telemis.core.aim.base/ImageStudy/2.16.56.465769650.20070523082619.459.0 <http://com.telemis.core.aim.base/ImageStudy/2.16.56.465769650.20070523082619.459.0>>* so i create a statement as followed : Property prop = model.createProperty(" http://com.telemis.core.aim.base/instanceUID"); StmtIterator querySerie = model.listStatements(new SimpleSelector(null, prop, *"2.16.56.465769650.20070523082619.459.0"*)); but i can't get any result from it ;( Is there somethign i am missing ? Maybe i should add ^^< http://www.w3.org/2001/XMLSchema#string> somewhere in the object value ? Thx i advance for ur answers.
