|
hi When SPARQL queries RDF and returns a result set,it is of tabular form. Can any one tell me how to get different views of the result that is got.ex) as ordered list,etc. Thank you |
|
A SPARQL endpoint will typically return the query result in XML or JSON format (in the case of SELECT queries), or as some RDF serialization such as RDF/XML or Turtle (in the case of CONSTRUCT queries). It is up to your application to process that result, for example (in the case of XML) by applying an XSLT stylesheet to it, or by processing it in code. We cannot tell you how to do this in detail, because we do not know what tools you are working with and what your application looks like. |
|
If you're using Virtuoso, its SPARQL endpoint supports a choice of several output formats - spreadsheet, XML, JSON, CSV amongst others. If you have other formats in mind, you can simply XSLT the SPARQL resultset directly (it being application/sparql-results+xml). |

