We are using Stardog enterprise edition. We have recently migrated stardog version from 4.2 to 4.2.3. And some of our queries started to fail after this migration. Following is one of the query which was working with earlier version of stardog but not working with v 4.2.3 with same data on both server. I tried to check logs for error information but could not see any information related to error in logs. It just says ‘Internal Server Error’ on web query console.
select ?systemName ?systemId ?propName ?dataPoints ?minValue ?maxValue ?unitSymbol where
{
{
select ?substance where
{
?substance smt:SMSID "CDQPHGNPEFYYOCWT" .
}
}
?subStuff rdf:type smt:PureSubstance ;
smt:isSubstance ?substance;
smt:systemName ?systemName;
smt:smdSystemID ?systemId.
?obs smt:observedStuff ?subStuff;
smt:observedProperty ?propStuff ;
smt:compiledIn smd:pointer_SMI_SC ;
smt:hasValue ?min ;
smt:hasValue ?max ;
smt:numberOfDatapoints ?dataPoints .
?min rdf:type smt:MinValue ;
smt:ofProperty ?prop;
smt:unit ?unit;
smt:displayValue ?minValue .
?max rdf:type smt:MaxValue ;
smt:ofProperty ?prop;
smt:unit ?unit;
smt:displayValue ?maxValue .
?prop skos:prefLabel ?propName .
?unit smt:symbol ?unitSymbol.
}
order by ?propName ?systemName ?systemId
if I make some changes in this query it starts working on never as well as old version. But we do not want make changes in queries.