String hasVisited = "http://s3b.corrib.org/s3b/0.1/hasVisited";
String visit = "http://s3b.corrib.org/s3b/0.1/Visit";
String visitDate = "http://s3b.corrib.org/s3b/0.1/visitDate";
String visitResource = "http://s3b.corrib.org/s3b/0.1/visitResource";
String query2 = SparqlQuery.LOAD_VISITED_BY_PERSON_AND_PROPERTY.getFormatedQuery(person.getURI().toString(),visitDate);
ClosableIterator<Statement> dateStatements = md.sparqlConstruct(query2).iterator();
String query3 = SparqlQuery.LOAD_VISITED_BY_PERSON_AND_PROPERTY.getFormatedQuery(person.getURI().toString(),visitResource);
ClosableIterator<Statement> resourceStatements = md.sparqlConstruct(query3).iterator();
while (dateStatements.hasNext())