Skip to content

Commit

Permalink
Implemented predicateMap. nkons#31
Browse files Browse the repository at this point in the history
  • Loading branch information
mmopitz committed May 20, 2019
1 parent 3a51d33 commit 4082bf1
Show file tree
Hide file tree
Showing 4 changed files with 943 additions and 913 deletions.
4 changes: 2 additions & 2 deletions src/main/java/gr/seab/r2rml/beans/Generator.java
Original file line number Diff line number Diff line change
Expand Up @@ -338,9 +338,9 @@ public void createTriples(MappingDocument mappingDocument) {
}
}

for (String predicate : predicateObjectMap.getPredicates()) {
for (Template predicate : predicateObjectMap.getPredicates()) {

Property p = resultModel.createProperty(predicate);
Property p = resultModel.createProperty(util.fillTemplate(predicate, rs, encodeURLs));

if (objectTemplate != null && objectTemplate.getTermType() != TermType.AUTO) {
//Literal o = resultModel.createLiteral(u.fillTemplate(predicateObjectMap.getObjectTemplate(), rs));
Expand Down
Loading

0 comments on commit 4082bf1

Please sign in to comment.