String queryStr = "PREFIX rdfs: "+ "PREFIX rdf: "+ "select ?l "+ "where { "+ "?ind rdf:type ;"+ " rdfs:label ?l "+ "}\n "; com.hp.hpl.jena.query.Query query = QueryFactory.create(queryStr); QueryExecution qe = QueryExecutionFactory.create(query,model); com.hp.hpl.jena.query.ResultSet rs = qe.execSelect(); ResultSetFormatter.out(System.out, rs);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)