Hello, this is my first time using SPIN. I was trying the KennedysInferencingAndConstraintsExample.java that comes along with the spinrdf-1.1.2 API package. I'm getting the following error:
Exception in thread "main" java.lang.IllegalArgumentException: Function http://spinrdf.org/spl#instanceOf does not define a valid body at org.topbraid.spin.arq.SPINARQFunction.<init>(SPINARQFunction.java: 69) at org.topbraid.spin.system.SPINModuleRegistry.registerARQFunction(SPINModuleRegistry.java: 204) at org.topbraid.spin.system.SPINModuleRegistry.register(SPINModuleRegistry.java: 157) at org.topbraid.spin.system.SPINModuleRegistry.registerFunctions(SPINModuleRegistry.java: 238) at org.topbraid.spin.system.SPINModuleRegistry.registerAll(SPINModuleRegistry.java: 188) at org.topbraid.spin.system.SPINModuleRegistry.init(SPINModuleRegistry.java: 137) at org.topbraid.spin.examples.KennedysInferencingAndConstraintsExample.main(KennedysInferencingAndConstraintsExample.java: 34) Caused by: com.hp.hpl.jena.query.QueryParseException: Encountered " <INTEGER_NEGATIVE> "-2 "" at line 18, column 36. Was expecting one of: <INTEGER> ... "}" ... at com.hp.hpl.jena.sparql.lang.ParserARQ.perform(ParserARQ.java:86) at com.hp.hpl.jena.sparql.lang.ParserARQ.parse(ParserARQ.java:39) at com.hp.hpl.jena.query.QueryFactory.parse(QueryFactory.java:132) at com.hp.hpl.jena.query.QueryFactory.create(QueryFactory.java:69) at com.hp.hpl.jena.query.QueryFactory.create(QueryFactory.java:40) at org.topbraid.spin.system.ARQFactory.createQuery(ARQFactory.java: 108) at org.topbraid.spin.arq.SPINARQFunction.<init>(SPINARQFunction.java: 58) ... 6 more I've check this out: http://groups.google.com/group/topbraid-users/browse_thread/thread/d1fd04d5c5ac26bb but it doesn't solve the problem, as I'm already using Jena 2.6.4 and ARQ 2.8.7. Any help? Thanks in advance Idafen -- You received this message because you are subscribed to the Google Group "TopBraid Suite Users", the topics of which include TopBraid Composer, TopBraid Live, TopBraid Ensemble, SPARQLMotion 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
