for (String mot:mots){
//System.out.println(mot);
SparqlType = Prefix + "SELECT Distinct ?type WHERE { ?a rdf:type ?type. FILTER REGEX(str(?a), '" + mot +"','i'). }";
System.out.println(SparqlType);
Query query = QueryFactory.create(SparqlType) ;
QueryExecution qexec = QueryExecutionFactory.create(query, model) ;
ResultSet results = qexec.execSelect();
while(results.hasNext()){
QuerySolution rs = results.nextSolution();
Resource type = rs.getResource("type");
if(!type.getLocalName().equals("NamedIndividual") && !type.getLocalName().equals("ObjectProperty")){
//System.out.println("* "+type.getLocalName());