Advertisement
Guest User

Untitled

a guest
Mar 24th, 2019
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.40 KB | None | 0 0
  1. 02:36] <dmiles> [the, shopper, bought, fries]
  2. [02:36] <dmiles> (thereExists ?shopper4794
  3. [02:36] <dmiles> (and (isa ?shopper4794 (FrequentPerformerFn Shopping ) )
  4. [02:36] <dmiles> (and (and (isa ?fries20 Frying )
  5. [02:36] <dmiles> (objectOfStateChange ?fries20 ?POSSESSOR13610 ) )
  6. [02:36] <dmiles> (and (occursDuring ?bought3 Past )
  7. [02:36] <dmiles> (and (isa ?bought3 Buying )
  8. [02:36] <dmiles> (buyer ?bought3 ?shopper4794 )
  9. [02:36] <dmiles> (objectPaidFor ?bought3 ?fries20 ) ) ) ) ) )
  10. -
  11.  
  12.  
  13. 02:40] <dmiles> ?- e2c("I saw the wood").
  14. [02:40] <dmiles> (thereExists ?SPEAKER
  15. [02:40] <dmiles> (and
  16. [02:40] <dmiles> (isa ?SPEAKER Person )
  17. [02:40] <dmiles> (and
  18. [02:40] <dmiles> (isa ?SEEN1 Event )
  19. [02:40] <dmiles> (thereExists ?WOOD5
  20. [02:40] <dmiles> (and
  21. [02:40] <dmiles> (isa ?WOOD5
  22. [02:40] <dmiles> (OneOfFn Wood Wood-GolfClub WoodedArea ) )
  23. [02:40] <dmiles> (or
  24. [02:40] <dmiles> (awareOf ?SPEAKER ?WOOD5 )
  25. [02:40] <dmiles> (and
  26. [02:40] <dmiles> (isa ?SEEN1 VisualPerception )
  27. [02:40] <dmiles> (performedBy ?SEEN1 ?SPEAKER )
  28. [02:40] <dmiles> (perceivedThings ?SEEN1 ?WOOD5 ) ) ) ) ) ) ) )
  29. -
  30. -
  31. [02:46] <dmiles> note the "or" there
  32. [02:47] <dmiles> the next thing the system does is cannonicalizes this into sourcecode foir a datalotg program
  33. [02:48] <dmiles> and also does queries this way
  34. [02:49] <dmiles> ?- e2c("I saw him Monday?").
  35. [02:49] <dmiles> (thereExists ?SPEAKER
  36. [02:49] <dmiles> (and
  37. [02:49] <dmiles> (isa ?SPEAKER Person )
  38. [02:49] <dmiles> (implies
  39. [02:49] <dmiles> (occursDuring ?SAW2 Monday )
  40. [02:49] <dmiles> (holdsIn ?SAW2
  41. [02:49] <dmiles> (and
  42. [02:49] <dmiles> (isa ?SAW2 Event )
  43. [02:49] <dmiles> (thereExists ?HIM
  44. [02:49] <dmiles> (and
  45. [02:49] <dmiles> (equals ?HIM
  46. [02:49] <dmiles> (PronounFn ThirdPerson-NLAttr Singular-NLAttr Masculine-NLAttr ObjectPronoun ) )
  47. [02:49] <dmiles> (or
  48. [02:49] <dmiles> (awareOf ?SPEAKER ?HIM )
  49. [02:49] <dmiles> (and
  50. [02:49] <dmiles> (isa ?SAW2 VisualPerception )
  51. [02:49] <dmiles> (performedBy ?SAW2 ?SPEAKER )
  52. [02:49] <dmiles> (perceivedThings ?SAW2 ?HIM ) ) ) ) ) ) ) ) ) )
  53. -
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement