String qs = "select distinct ?p count(?p) as ?up where {graph ?g {?s ?p ?o}} group by ?p"; com.hp.hpl.jena.query.Query query = QueryFactory.create(qs, Syntax.syntaxSPARQL_11);
QueryExecution qe = QueryExecutionFactory.create(query, ds);
I thought the Syntax.syntaxSPARQL_11 was sufficient to get it working, but it isn't. Any advice appreciated. - Erich
Erich Bremer http://www.ebremer.com