QueryExecution qexec = QueryExecutionFactory.create(
queryString, model);
try {
ResultSet results = qexec.execSelect();
while (results.hasNext()) {
QuerySolution soln = results.nextSolution();
try {
Literal u = soln.getLiteral("user");
// System.err.println("user: "+u.getString());
Literal s = soln.getLiteral("software");
// System.err.println("software: "+s);
Calendar d = ((XSDDateTime) soln.getLiteral("date")
.getValue()).asCalendar();
// System.err.println("date: "+d);
if (u.getString().equals(user)
&& s.getString().equals(software)