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
Owlim-discussion@ontotext.com
http://ontomail.semdata.org/cgi-bin/mailman/listinfo/owlim-discussion

Reply via email to