Skip to content

Commit

Permalink
Merge branch 'release/31.x'
Browse files Browse the repository at this point in the history
* release/31.x:
  #4570 - Inefficient Knowledge Base SPARQL query for labels
  • Loading branch information
reckart committed Feb 29, 2024
2 parents aa63741 + 6a57107 commit 243c86f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ private GraphPattern bindPrefLabelProperties(Variable aVariable)
Iri pSubProperty = iri(kb.getSubPropertyIri());
var primaryLabelPattern = aVariable
.has(PropertyPathBuilder.of(pSubProperty).zeroOrMore().build(), pLabel);
return optional(primaryLabelPattern);
return primaryLabelPattern;
}

/**
Expand Down

0 comments on commit 243c86f

Please sign in to comment.