RDFFormat fou add file to stardog in Java

Second question because i update my program for use Stardog 7

I have an error when i write my code to add a file to stardog database

starDogConnection.add().io().format().stream(new FileInputStream(path));

I don't understand which value i have to put in format() ?

RDFFormat.BinaryRDFFormat give me an error : RDFFormat.BinaryRDFFormat cannot be resolved to a variable

Same for RDFFormat

Thank you

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.