This commit is contained in:
parent
78687ae19e
commit
9c49486332
1 changed files with 0 additions and 3 deletions
|
@ -109,14 +109,11 @@ public class IndividualRdfAssembler {
|
|||
|
||||
for (ObjectPropertyStatement os: ostates) {
|
||||
Property prop = newModel.getProperty(os.getPropertyURI());
|
||||
System.out.println("\nsjm: the object property is: " + os.getPropertyURI());
|
||||
Resource obj = newModel.getResource(os.getObjectURI());
|
||||
newModel.add(newModel.createStatement(subj, prop, obj));
|
||||
if ( includeInLinkedData(obj, contextModel)) {
|
||||
System.out.println("\tsjm: includeInLinkdedData is true");
|
||||
newModel.add(getRDF(os.getObject(), contextModel, newModel, recurseDepth + 1, includes));
|
||||
} else {
|
||||
System.out.println("\tsjm: includeInLinkdedData is false");
|
||||
contextModel.enterCriticalSection(Lock.READ);
|
||||
try {
|
||||
newModel.add(contextModel.listStatements(obj, RDFS.label, (RDFNode)null));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue