Advertisement
Guest User

Untitled

a guest
Feb 16th, 2020
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.68 KB | None | 0 0
  1. %% Three Rings for the Elven-kings under the sky, Seven for the Dwarf-lords in their halls of stone, Nine for Mortal Men doomed to die, One for the Dark Lord on his dark throne In the Land of Mordor where the Shadows lie.
  2. sentence('theLordOfTheRingsTheFellowOfTheRing_TheBook',sentenceIdFn(1),'Three Rings for the Elven-kings under the sky, Seven for the Dwarf-lords in their halls of stone, Nine for Mortal Men doomed to die, One for the Dark Lord on his dark throne In the Land of Mordor where the Shadows lie.').
  3. hasFormalization('theLordOfTheRingsTheFellowOfTheRing_TheBook',sentenceFn(1),
  4. [
  5. and(for(qty(3,ring),whom(pluralFn(elven(king_HeadOfState)),under(Whom,sky))),
  6. for(qty(7,ring),whom(pluralFn(dwarven(king_HeadOfState)),in(Whom,of(pluralFn(hall),stone)))),
  7. for(qty(9,ring),whom(pluralFn(men),whom(and(mortal(Whom),doomedTo(Whom,die))))),
  8. for(qty(1,ring),whom(theDarkLord,on(Whom,and(possessionFn(Whom,Throne),isa(Throne,throne),in(Whom,mordor),located(shadows,mordor))))))
  9. ]).
  10.  
  11. %% One Ring to rule them all, One Ring to find them, One Ring to bring them all and in the darkness bind them In the Land of Mordor where the Shadows lie.
  12. sentence('theLordOfTheRingsTheFellowOfTheRing_TheBook',sentenceIdFn(2),'One Ring to rule them all, One Ring to find them, One Ring to bring them all and in the darkness bind them In the Land of Mordor where the Shadows lie.').
  13. hasFormalization('theLordOfTheRingsTheFellowOfTheRing_TheBook',sentenceFn(2),
  14. [
  15. and(in(inOrderTo(qty(1,ring),and(rule(all),find(them),and(bring(all),in(darkness,bind(all))))),mordor),located(shadows,mordor))
  16. ]).
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement