diff --git a/inception/inception-kb/src/main/java/de/tudarmstadt/ukp/inception/kb/querybuilder/SPARQLQueryBuilder.java b/inception/inception-kb/src/main/java/de/tudarmstadt/ukp/inception/kb/querybuilder/SPARQLQueryBuilder.java index 07882a9192c..e87b77dc309 100644 --- a/inception/inception-kb/src/main/java/de/tudarmstadt/ukp/inception/kb/querybuilder/SPARQLQueryBuilder.java +++ b/inception/inception-kb/src/main/java/de/tudarmstadt/ukp/inception/kb/querybuilder/SPARQLQueryBuilder.java @@ -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; } /**