I have found the solution a few days ago but forgot to write it here,
I write this, in case of use to others.

I was wrong to use the model in query, I use "baseModel" from defaultModel 
rather than "ontModel", after I change the model, the query produces a 
perfect result 

wrong line:
    Query arqQuery = ARQFactory.get().createQuery(*baseModel*, query);
    QueryExecution qexec = ARQFactory.get().createQueryExecution(arqQuery, *
baseModel*);

replace with this :
        Query arqQuery = ARQFactory.get().createQuery(*ontModel*, query);
    QueryExecution qexec = ARQFactory.get().createQueryExecution(arqQuery, *
ontModel*);


Rgrds,
Cosmas


*---- orginal message deleted ----*

-- 
-- You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include Enterprise Vocabulary 
Network (EVN), TopBraid Composer, TopBraid Live,
TopBraid Ensemble, SPARQLMotion, SPARQL Web Pages and SPIN.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to