If the error you're getting looks something like:
No match found for function signature instr(<CHARACTER>, <CHARACTER>)
... then the error is happening because Stardog's SQL parser doesn't know about the INSTR
function. You can work around this by adding the following to your virtual graph options:
sql.functions=instr:varchar
-Paul