Advertisement
Guest User

Untitled

a guest
Aug 24th, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. addblock 'Country(c), hasCountryCode(c:cc) -> string(cc).
  2. Language(l), hasLanguageName(l:ln) -> string(ln).
  3. isLarge(c) -> Country(c).
  4. officiallyUses(c, l) -> Country(c), Language(l).
  5. isMultilingual(c) <- officiallyUses(c, l1), officiallyUses(c, l2), l1 != l2.'
  6.  
  7. exec'
  8. +isLarge("AU"), +isLarge("CA"), +isLarge("FR"), +isLarge("US").
  9. +officiallyUses("AU", "English"), +officiallyUses("CA", "English").
  10. +officiallyUses("CA", "French"), +officiallyUses("FR", "French").
  11. +officiallyUses("LU", "French"), +officiallyUses("LU", "German").
  12. +officiallyUses("LU", "Luxembourgish").
  13. +officiallyUses("US", "English"), +officiallyUses("VA", "Italian"). '
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement