我需要将.ttl QuerySolution结果导出/写入到RDF/XML文件。 我已经尝试了下面的代码,但是我在使用RDFDataMgr.write时得到了以下错误 The method write(OutputStream, Model, Lang) in the type RDFDataMgr is not applicable for the arguments (OutputStream, QuerySolution, Lang) Query query = QueryFactory.create(queryString);
QueryExecution qexec= QueryE