Hello,
   I'm trying to create a SPIN Query by calling ARQ2SPIN.createQuery.
The query contains a FILTER with an equals operator:

          FILTER (?className = "Neutral") .

Somewhere along the line this gets parsed as a Function (E_Equals) with
Symbol '='.

However, in ARQ2SPIN.createExpression, the call to:

   Resource f = getFunction(function);

is returning a null 'f' Resource.  This is because 'function' doesn't
have an IRI.  Then, I think because of the null f, the call to:

   FunctionCall call = SPINFactory.createFunctionCall(model, f);

causes a null pointer exception.  Should a check be made here for the
case when f is null?  Or should the function have been given an IRI?

Thanks,
Jeff

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TopBraid Composer Users" group.
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-composer-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to