Advertisement
Armaritto

Untitled

May 16th, 2024
163
0
Never
2
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Prolog 1.11 KB | None | 0 0
  1. recommend('male', 'happy', 'adult', X) :- action(X, _, _, _, _); comedy(X, _, _, _, _).
  2. recommend('female', 'happy', 'adult', X) :- drama(X, _, _, _, _); comedy(X, _, _, _, _).
  3. recommend('male', 'sad', 'adult', X) :- drama(X, _, _, _, _); science_fiction(X, _, _, _, _).
  4. recommend('female', 'sad', 'adult', X) :- drama(X, _, _, _, _); superheros(X, _, _, _, _).
  5. recommend('male', 'neutral', 'adult', X) :- superheros(X, _, _, _, _); science_fiction(X, _, _, _, _).
  6. recommend('female', 'neutral', 'adult', X) :- superheros(X, _, _, _, _); science_fiction(X, _, _, _, _).
  7.  
  8. recommend('male', 'happy', 'child', X) :- cartoon(X, _, _, _, _); comedy(X, _, _, _, _).
  9. recommend('female', 'happy', 'child', X) :- cartoon(X, _, _, _, _); comedy(X, _, _, _, _).
  10. recommend('male', 'sad', 'child', X) :- cartoon(X, _, _, _, _); superheros(X, _, _, _, _).
  11. recommend('female', 'sad', 'child', X) :- cartoon(X, _, _, _, _); superheros(X, _, _, _, _).
  12. recommend('male', 'neutral', 'child', X) :- cartoon(X, _, _, _, _); superheros(X, _, _, _, _).
  13. recommend('female', 'neutral', 'child', X) :- cartoon(X, _, _, _, _); superheros(X, _, _, _, _).
Advertisement
Comments
  • Armaritto
    220 days
    # text 1.22 KB | 0 0
    1. recommend('male', 'happy', 'adult', Film) :- action(Film, _, _, _, _); comedy(Film, _, _, _, _).
    2. recommend('female', 'happy', 'adult', Film) :- drama(Film, _, _, _, _); comedy(Film, _, _, _, _).
    3. recommend('male', 'sad', 'adult', Film) :- drama(Film, _, _, _, _); science_fiction(Film, _, _, _, _).
    4. recommend('female', 'sad', 'adult', Film) :- drama(Film, _, _, _, _); superheros(Film, _, _, _, _).
    5. recommend('male', 'neutral', 'adult', Film) :- superheros(Film, _, _, _, _); science_fiction(Film, _, _, _, _).
    6. recommend('female', 'neutral', 'adult', Film) :- superheros(Film, _, _, _, _); science_fiction(Film, _, _, _, _).
    7.  
    8. recommend('male', 'happy', 'child', Film) :- cartoon(Film, _, _, _, _); comedy(Film, _, _, _, _).
    9. recommend('female', 'happy', 'child', Film) :- cartoon(Film, _, _, _, _); comedy(Film, _, _, _, _).
    10. recommend('male', 'sad', 'child', Film) :- cartoon(Film, _, _, _, _); superheros(Film, _, _, _, _).
    11. recommend('female', 'sad', 'child', Film) :- cartoon(Film, _, _, _, _); superheros(Film, _, _, _, _).
    12. recommend('male', 'neutral', 'child', Film) :- cartoon(Film, _, _, _, _); superheros(Film, _, _, _, _).
    13. recommend('female', 'neutral', 'child', Film) :- cartoon(Film, _, _, _, _); superheros(Film, _, _, _, _).
  • Armaritto
    220 days
    # text 1.22 KB | 0 0
    1. recommend("male", "happy", "adult", Film) :- action(Film, _, _, _, _); comedy(Film, _, _, _, _).
    2. recommend("female", "happy", "adult", Film) :- drama(Film, _, _, _, _); comedy(Film, _, _, _, _).
    3. recommend("male", "sad", "adult", Film) :- drama(Film, _, _, _, _); science_fiction(Film, _, _, _, _).
    4. recommend("female", "sad", "adult", Film) :- drama(Film, _, _, _, _); superheros(Film, _, _, _, _).
    5. recommend("male", "neutral", "adult", Film) :- superheros(Film, _, _, _, _); science_fiction(Film, _, _, _, _).
    6. recommend("female", "neutral", "adult", Film) :- superheros(Film, _, _, _, _); science_fiction(Film, _, _, _, _).
    7.  
    8. recommend("male", "happy", "child", Film) :- cartoon(Film, _, _, _, _); comedy(Film, _, _, _, _).
    9. recommend("female", "happy", "child", Film) :- cartoon(Film, _, _, _, _); comedy(Film, _, _, _, _).
    10. recommend("male", "sad", "child", Film) :- cartoon(Film, _, _, _, _); superheros(Film, _, _, _, _).
    11. recommend("female", "sad", "child", Film) :- cartoon(Film, _, _, _, _); superheros(Film, _, _, _, _).
    12. recommend("male", "neutral", "child", Film) :- cartoon(Film, _, _, _, _); superheros(Film, _, _, _, _).
    13. recommend("female", "neutral", "child", Film) :- cartoon(Film, _, _, _, _); superheros(Film, _, _, _, _).
    14.  
Add Comment
Please, Sign In to add comment
Advertisement