I get this error:
Failed to run query: com.complexible.stardog.plan.eval.operator.OperatorException: Uncaught error during query evaluation: IOException: Maximum file length exceeded: 0B
For this query:
PREFIX ProductRecommendation: tag:stardog:designer:ProductRecommendation:model:
PREFIX rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns#
SELECT DISTINCT ?product ?name ?imageURL ?price ?productAverageScore ?bassScore ?microphoneScore ?comfortScore ?soundQualityScore ?ANC_Score ?batteryLifeScore ?connectivityScore ?designScore ?durabilityScore ?featureScore ?highsScore ?isolationScore ?midrangeScore ?portabilityScore ?valueScore
WHERE {
VALUES ?productType { ProductRecommendation:Headphone }
VALUES ?connectivity { ProductRecommendation:WirelessConnectivity }
?product rdf:type ?productType.
?product rdf:type ?connectivity.
?product ProductRecommendation:productName ?name;
ProductRecommendation:productPriceMSRP ?price.
OPTIONAL {?product ProductRecommendation:has_ProductImage ?image.
?image ProductRecommendation:productImageURL ?imageURL.}
OPTIONAL {?product ProductRecommendation:has_productRating ?rating.
OPTIONAL {?rating ProductRecommendation:productAverageScore ?productAverageScore.}
OPTIONAL {?rating ProductRecommendation:bassScore ?bassScore.}
OPTIONAL {?rating ProductRecommendation:microphoneScore ?microphoneScore.}
OPTIONAL {?rating ProductRecommendation:comfortScore ?comfortScore.}
OPTIONAL {?rating ProductRecommendation:soundQualityScore ?soundQualityScore.}
OPTIONAL {?rating ProductRecommendation:ANC_Score ?ANC_Score.}
OPTIONAL {?rating ProductRecommendation:batteryLifeScore ?batteryLifeScore.}
OPTIONAL {?rating ProductRecommendation:connectivityScore ?connectivityScore.}
OPTIONAL {?rating ProductRecommendation:designScore ?designScore.}
OPTIONAL {?rating ProductRecommendation:durabilityScore ?durabilityScore.}
OPTIONAL {?rating ProductRecommendation:featureScore ?featureScore.}
OPTIONAL {?rating ProductRecommendation:highsScore ?highsScore.}
OPTIONAL {?rating ProductRecommendation:isolationScore ?isolationScore.}
OPTIONAL {?rating ProductRecommendation:midrangeScore ?midrangeScore.}
OPTIONAL {?rating ProductRecommendation:portabilityScore ?portabilityScore.}
OPTIONAL {?rating ProductRecommendation:valueScore ?valueScore.}
}
FILTER (BOUND(?imageURL) && BOUND(?productAverageScore))
}
ORDER BY DESC(?productAverageScore)
LIMIT 15
By removing one OPTIONAL column the results appear.
Before I didn't have this issue and added much more conditions.
How can I fix this?