You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@clerezza.apache.org by "Minto van der Sluis (JIRA)" <ji...@apache.org> on 2013/05/23 13:42:19 UTC

[jira] [Updated] (CLEREZZA-782) Add meta data (getResultVars) to Sparql ResultSet

     [ https://issues.apache.org/jira/browse/CLEREZZA-782?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Minto van der Sluis updated CLEREZZA-782:
-----------------------------------------

    Summary: Add meta data (getResultVars) to Sparql ResultSet  (was: Add meta data (varNames) to Sparql ResultSet)
    
> Add meta data (getResultVars) to Sparql ResultSet
> -------------------------------------------------
>
>                 Key: CLEREZZA-782
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-782
>             Project: Clerezza
>          Issue Type: Bug
>          Components: rdf.core
>            Reporter: Minto van der Sluis
>            Assignee: Minto van der Sluis
>
> The class ResultSet only allows indirect access to the varNames in the query results. There are a number of drawbacks to the current solution:
> 1) the iterator needs to be accessed to get the varNames from SolutionMapping.getKeySet()
> 2) I suspect that optional varNames present in the Query but not in the resultset data will not appear in SolutionMapping.getKeySet()
> 3) If the RestultSet is empty there is no way to determine the varNames();
> Both Jena and Sesame support retrieving the varNames from the ResultSet.
> See also the mailing list conversation at: http://mail-archives.apache.org/mod_mbox/clerezza-dev/201303.mbox/%3CCALvhUEUzSAoQpNXVmpTcVvR=DxZrFiDJexPgwB=JEhc7pJf7sA@mail.gmail.com%3E

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira