It looks like a minor bug in the query parser for CONSTRUCT queries, but any usage of the short form CONSTRUCT WHERE leads to a parser error although the pattern is a BGP:
Version: Stardog 5.0.2
Query:
PREFIX : <http://example.com/>
CONSTRUCT WHERE {
:s ?p ?o
}
Exception:
Error!
{"message":"can not use shorthand CONSTRUCT: graph pattern in WHERE clause is not a basic pattern.","code":"MalformedQuery"}