Hello Pavel,

Can you provide some more details, please?

Do you mean that you see the expected variable names when calling TupleQueryResult.getBindingNames(), but that calls to TupleQueryResult.next().getBindingNames() do not have the expected variable names? Is this true for every BindingSet?

Best
barry

Barry Bishop
OWLIM Product Manager
Ontotext AD
Tel: +43 650 2000 237
email: [email protected]
skype: bazbishop
www.ontotext.com

On 12/09/12 10:47, Pavel Mička wrote:
Hi,

I am using OWLIM-Lite edition (5.2.5331, Sesame 2.6.8) and I am querying the system using the following SPARQL query:

PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX odra: <http://kbss.felk.cvut.cz/ontologies/2012/OdraOntology.owl/>

SELECT ?type (COUNT(DISTINCT ?instance) AS ?count) WHERE {
    ?instance odra:hasType ?type .
}
GROUP BY ?type

In BindingSet I expect 2 bindings (type, count), however the result contains only count. But the TupleQueryResult contains (correctly) both of them.

Am I missing something or is this a bug?

Thanks

Pavel Mička
_______________________________________________
Owlim-discussion mailing list
[email protected]
http://ontomail.semdata.org/cgi-bin/mailman/listinfo/owlim-discussion

_______________________________________________
Owlim-discussion mailing list
[email protected]
http://ontomail.semdata.org/cgi-bin/mailman/listinfo/owlim-discussion

Reply via email to