Subscribe

Error:Did not recognize #$PresidentFn

  1. 2012-02-27 03:53:52 PST
    Hello All. I am newbe to opencyc. And I am stack. With the help of query i tried the following: (#$PresidentFn #$Mexico) And cyc responded: Not a Sentence in New Inference The following string did not specify a sentence : (#$PresidentFn #$Mexico) because: Did not recognize #$PresidentFn as a truth function (predicate, quantifier, or logical operator). I dont understand what's the matter.
  2. 2012-02-27 03:58:22 PST
    Hello All. I am newbe to opencyc. And I am stuck. With the help of query tool i tried the following: (#$PresidentFn #$Mexico) And cyc responded: Not a Sentence in New Inference The following string did not specify a sentence : (#$PresidentFn #$Mexico) because: Did not recognize #$PresidentFn as a truth function (predicate, quantifier, or logical operator). I dont understand what's the matter.
  3. 2012-02-27 07:31:08 PST
    Hi, A "sentence" in CycL is something that can be true or false. (PresidentFn Mexico) denotes the president of Mexico. The arg0 of a query sentence needs to be a predicate (like #$isa), quantifier (like #$thereExists), or logical operator (like #$and). You can generally recognize these because their constant names start with lowercase letters. Hope this helps. David
  4. 2012-02-27 21:20:06 PST
    Thnx a lot. Alex
  5. 2012-02-28 08:32:48 PST
    To clarify a bit, you probably want to do a query like (#$equals ?X (#$PresidentFn #$Mexico)) You won't get any answers to that, either, since Cyc doesn't come with the factual data required, but fixing that's just a matter of asserting the facts. (e.g. (#$rewriteOf #$FelipeCalderon-NationalPresident (#$PresidentFn #$Mexico)) As an exercise, in RCyc 2.0 RC 4, there is enough info about Mr Calderón to support inferring the needed fact - all that's missing is a forward rule that combines that info.
  6. 2012-02-28 08:52:29 PST
    In fact I glossed over the truth a bit... what you really want to do with these functions that denote an individual is to assert that the individual is equal to the result of the function, with the context of the time period over which the equality is true.
Jump To:
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.