Hello Alexander, > The resulting XML has this two problems: > > 1) <results distinct="false" ordered="true"> > It says that distinct is false, but according to my query it should be true.
Unfortunately the header is always the same. The reason is that the order is fixed for constant data due to the nature of SQL database and it's unsafe to set it to "true" because in some exceptional cases Virtuoso may treat extremely long literals distinct even if they are actually equal. If these fields are of some importance for an app then I'll try to improve the logic. > 2) <result> > <binding > name="p"><literal>http://www.w3.org/1999/02/22-rdf-syntax-ns#type</literal></binding> > <binding name="o"><uri>http://bio2rdf.org/pdb:Experiment</uri></binding> > </result> > It says that the property (binding "p") is a LITERAL instead of URI. This > confuses any application that consumes SPARQL XML This specific bug should not happen in current versions but unfortunately the fix can not be backported. However a similar problem may appear in queries with transitive sponge, I'm debugging it now. Best Regards, Ivan Mikhailov OpenLink Software http://virtuoso.openlinksw.com
