[go: up one dir, main page]

Menu

#4 Unexpected problem, probably malformed query

v1.0 (example)
closed
nobody
None
5
2017-08-18
2017-08-18
Anonymous
No

Hi Michael,

I am just tryin got the Java-Flora2 interface with the example given in the Flora-2 Packages guide.

I get the following error:

Exception in thread "main" net.sf.flora2.API.util.FlrException: Error in query ?X:person@basic_mod.
at net.sf.flora2.API.PrologFlora.FloraCommand(PrologFlora.java:280)
at net.sf.flora2.API.FloraSession.ExecuteQuery(FloraSession.java:211)
at test.main(test.java:25)
Caused by: com.declarativa.interprolog.util.IPException: Unexpected problem, probably malformed query
at net.sf.flora2.API.PrologFlora.FloraCommand(PrologFlora.java:272)

I am not sure what is happening. Do you have any thoughts?

Thank you,
Kin

Discussion

  • Anonymous

    Anonymous - 2017-08-18

    Hi Michael,

    Sorry - the file path to the flora kb file was incorrect. It seems to be working now.

    Thanks,
    Kin

     
  • Michael Kifer

    Michael Kifer - 2017-08-18
    • status: open --> closed
     
  • Michael Kifer

    Michael Kifer - 2017-08-18

    seems to have been self-resolved

     

Anonymous
Anonymous

Add attachments
Cancel