Skip to content

Commit

Permalink
Export direct statements only if there are no qualifiers
Browse files Browse the repository at this point in the history
This got accidently changed in the previous refactoring.
Restore the previous behaviour for now.
  • Loading branch information
bennofs committed Sep 4, 2019
1 parent 753c66e commit 03a8242
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,9 @@ public void writeInterPropertyLinks(PropertyDocument document) throws RDFHandler
@Override
public void writeSimpleStatement(Statement statement) {
if (!hasTask(RdfSerializer.TASK_SIMPLE_STATEMENTS)) return;
super.writeSimpleStatement(statement);
if (statement.getQualifiers().size() == 0) {
super.writeSimpleStatement(statement);
}
}

@Override
Expand Down

0 comments on commit 03a8242

Please sign in to comment.