dotnetrdf xml exception using QueryWithResultSet

后端 未结 1 1799
南笙
南笙 2021-01-27 21:42

I have an asp.net project in which, I would like to query DBPedia. Using the following code I am getting an error:

public string testEndpoint()
    {

        //         


        
1条回答
  •  伪装坚强ぢ
    2021-01-27 22:18

    Virtuoso, which is the triple store used behind the dbpedia SPARQL endpoint, has updated its XML result generation. They replaced the XML version 1.0 with 1.1 in this commit. This causes the exception in the dotNetRDF parser.

    Later on Virtuoso reverted the changes in the XML header. Hopefully DBPedia will update their binaries soon, so the old XML header appears again in the SPARQL results.

    Source: http://github.com/openlink/virtuoso-opensource/issues/405

    0 讨论(0)
提交回复
热议问题