FO(.)

In computer science, FO(.) (a.k.a. FO-dot) is a knowledge representation language based on first-order logic (FO).[1] It extends FO with types, aggregates (counting, summing, maximising ... over a set), arithmetic, inductive definitions, partial functions, and intensional objects.

By itself, a FO(.) knowledge base cannot be run, as it is just a "bag of information", to be used as input to various generic reasoning algorithms. Reasoning engines that use FO(.) include IDP-Z3,[2] IDP[3][4] and FOLASP.[5] As an example, the IDP system allows generating models, answering set queries, checking entailment between two theories and checking satisfiability, among other types of inference over a FO(.) knowledge base.

FO(.) has four types of statements:

  • Type, function and predicate declarations,
  • Axioms, i.e., logic sentences about possible worlds,
  • Definitions that specify a unique interpretation of a defined symbol, given the interpretation of its parameters. Definitions can be inductive.
  • Enumerations, i.e., definitions of symbols by enumeration.

Example

A voting law specifies that citizens must be at least 18 years old to vote. Furthermore, if the voting law is interpreted as being prescriptive, voting is mandatory when you are over 18. This can be represented in FO(.) as follows:

vocabulary V {
  age: () → ℤ                             // function declaration
  prescriptive, vote: () → 𝔹              // predicate declarations
}
theory T:V {
  age() < 18 ⇒ ¬vote().                   // axiom: if you are less than 18, you may not vote.
  prescriptive() ⇒ (age() ≥ 18 ⇒ vote()). // axiom: if prescriptive: if you are at least 18, you must vote
}

In this code, AB indicates a function from A to B, denotes integers, denotes the booleans, ¬ denotes negation, and denotes material conditional. Predicates < and ≥ are built-in and have their usual meaning.

Such knowledge base can be turned automatically into an Interactive Lawyer[6] (see here[7])

References

  1. ^ Denecker, Marc (2000). "Extending classical logic with inductive definitions". International Conference on Computational Logic: 703–717. arXiv:cs/0003019. Bibcode:2000cs........3019D.
  2. ^ "IDP-Z3". Retrieved 2022-02-01.
  3. ^ De Cat, Broes; Bogaerts, Bart; Bruynooghe, Maurice; Janssens, Gerda; Denecker, Marc (2018). "Predicate logic as a modeling language: The IDP system". Declarative Logic Programming: Theory, Systems, and Applications. pp. 279–323. doi:10.1145/3191315.3191321. ISBN 9781970001990. S2CID 3866665.
  4. ^ "IDP". Retrieved 2022-02-01.
  5. ^ "FOLASP". Retrieved 2022-02-01.
  6. ^ "Interactive Consultant". Retrieved 2022-02-01.
  7. ^ "Interactive Lawyer". Retrieved 2022-02-01.

Read other articles:

Voce principale: Sport Club Libertas Palermo. S.C. Libertas PalermoStagione 1922-1923Sport calcio Squadra Libertas Palermo Presidente Salvatore Mongiovì Prima Divisione1º posto nella Sezione siciliana dopo la ripetizione del campionato3º nel girone B delle semifinali della Lega Sud 1921-1922 Si invita a seguire il modello di voce Questa voce raccoglie le informazioni riguardanti lo Sport Club Libertas Palermo nelle competizioni ufficiali della stagione 1922-1923. Indice 1 Stagione 2 Rosa…

Королевские гуркхские стрелкиангл. The Royal Gurkha Rifles Эмблема Королевских гуркхских стрелков Годы существования 1 июля 1994—н.в. Страна  Великобритания Подчинение Британская армия Входит в Гуркхская бригада Тип пехота, стрелки Включает в себя два батальона лёгкой пехоты Ф…

Untuk stasiun televisi lokal di Kepulauan Riau yang dikenal dengan singkatan TVTPI, lihat Tanjungpinang TV. MNCTVNama sebelumnyaTPI (1991—2010)JenisJaringan televisiNegaraIndonesiaBahasaBahasa IndonesiaPendiriSiti Hardijanti RukmanaTanggal siaran perdana26 Desember 1990 (siaran percobaan)Tanggal peluncuran23 Januari 1991 (sebagai TPI)20 Oktober 2010 (sebagai MNCTV)Kantor pusatMNC Studios, Jl. Raya Perjuangan No. 1, Kebon Jeruk, Jakarta Barat, IndonesiaWilayah siaranNasionalPemilikMedia Nu…

South Korean actor, television personality, restaurateur In this Korean name, the family name is Hong. Hong Seok-cheonHong in March 2018Born (1971-02-03) 3 February 1971 (age 53)Cheongyang County, South Chungcheong Province, South KoreaNationalitySouth KoreanAlma materHanyang University – Theater and Film (1989)Occupation(s)Actor, television personality, restaurateurYears active1994–presentAgentForesta CompanyChildren2 (adopted)Korean nameHangul홍석천Hanja洪錫天Revised R…

  هذه المقالة عن مدينة تنومة. للمحافظة، طالع محافظة تنومة. للمواضيع الأخرى، طالع تنومة (توضيح). تنومة   الاسم الرسمي تنومة[1]  الإحداثيات 18°56′50″N 42°10′35″E / 18.947222222222°N 42.176388888889°E / 18.947222222222; 42.176388888889   تقسيم إداري  البلد السعودية  التقسيم الأعلى …

土库曼斯坦总统土库曼斯坦国徽土库曼斯坦总统旗現任谢尔达尔·别尔德穆哈梅多夫自2022年3月19日官邸阿什哈巴德总统府(Oguzkhan Presidential Palace)機關所在地阿什哈巴德任命者直接选举任期7年,可连选连任首任萨帕尔穆拉特·尼亚佐夫设立1991年10月27日 土库曼斯坦土库曼斯坦政府与政治 国家政府 土库曼斯坦宪法 国旗 国徽 国歌 立法機關(英语:National Council of Turkmenistan) 土…

Eurovision Song Contest 2022Country AzerbaijanNational selectionSelection processInternal selectionSelection date(s)Artist: 16 February 2022Song: 21 March 2022Selected entrantNadir RustamliSelected songFade to BlackSelected songwriter(s)Andreas Stone JohanssonAnderz WrethovSebastian SchubThomas StengaardFinals performanceSemi-final resultQualified (10th, 96 points)Final result16th, 106 pointsAzerbaijan in the Eurovision Song Contest ◄2021 • 2022 • 20…

此条目序言章节没有充分总结全文内容要点。 (2019年3月21日)请考虑扩充序言,清晰概述条目所有重點。请在条目的讨论页讨论此问题。 哈萨克斯坦總統哈薩克總統旗現任Қасым-Жомарт Кемелұлы Тоқаев卡瑟姆若马尔特·托卡耶夫自2019年3月20日在任任期7年首任努尔苏丹·纳扎尔巴耶夫设立1990年4月24日(哈薩克蘇維埃社會主義共和國總統) 哈萨克斯坦 哈萨克斯坦政府與…

Prussian politician, editor and judge Ernst Ludwig von Gerlach This article is part of a series onConservatism in Germany Ideologies Agrarian Christian democracy Liberal Ordo Ritter School Monarchism Nationalist Neue Rechte Völkisch Paternalistic State Socialism Prussianism Cameralistic Socialist Revolutionary Young Romanticism Right-Hegelianism Historical School Principles Christian values Duty Elitism Aristocracy Meritocracy Gemeinschaft Heimat In Treue fest Kultur Medievalism Monarchism Orga…

Italian racing cyclist Gloria ManzoniManzoni in 2016Personal informationFull nameGloria ManzoniBorn (1998-04-25) 25 April 1998 (age 26)Team informationDisciplineRoadTrackRoleRiderProfessional team2018–2019Eurotarget–Bianchi–Vitasana Gloria Manzoni (born 25 April 1998) is an Italian road and track cyclist, who last rode for UCI Women's Team Eurotarget–Bianchi–Vittoria.[1] Representing Italy at international competitions, Manzoni competed at the 2016 UEC European Track …

2004 2012 Élections municipales de 2008 à Londres Maire de Londres 1er mai 2008 Corps électoral et résultats Inscrits 5 419 913 Votants 2 456 990   45,33 %  8,4 Boris Johnson – Conservateur Voix au 1er tour 1 043 761 43,2 %   14,1 Voix au 2e tour 1 168 738 53,18 %  Ken Livingstone – Travailliste Voix au 1er tour 893 887 37,0 %   0,2 Voix au 2e tour 1 028 966 46,…

1950 play written by Emlyn Williams AccoladeWritten byEmlyn WilliamsDate premiered31 July 1950Place premieredRoyal Court Theatre, LiverpoolOriginal languageEnglishGenreDramaSettingLondon, present day Accolade is a 1950 play by the Welsh playwright Emlyn Williams. Accolade was first presented in London by H. M. Tennent Ltd, in association with Leland Hayward and Joshua Logan, at the Aldwych Theatre, on 7 September 1950, with Emlyn Williams as Will Trenting and a cast including Diana Churchill, An…

Formaldehida Nama Nama IUPAC Metanal Nama lain formol, metil aldehida, oksida metilena Penanda Nomor CAS 50-00-0 Model 3D (JSmol) Gambar interaktif 3DMet {{{3DMet}}} Nomor EC Nomor RTECS {{{value}}} CompTox Dashboard (EPA) DTXSID7020637 SMILES C=O Sifat Rumus kimia CH2O Massa molar 30,03 g·mol−1 Penampilan gas tak berwarna Densitas 1 kg·m−3, gas Titik lebur -117 °C (156 K) Titik didih -19,3 °C (253,9 K) Kelarutan dalam air >…

American rapper (born 1991) Not to be confused with Lil Baby or Bhad Bhabie. DaBabyDaBaby in 2023Background informationBirth nameJonathan Lyndale KirkAlso known asBaby JesusBorn (1991-12-22) December 22, 1991 (age 32)[a]Cleveland, Ohio, U.S.OriginCharlotte, North Carolina, U.S.Genres Hip hop trap[3] Occupation(s) Rapper songwriter[4] DiscographyDaBaby discographyYears active2014–presentLabels Billion Dollar Baby Interscope South Coast Children4Websiteofficialdababy…

French middle-distance runner Olympic medal record Men's athletics Representing  France 1948 London 800 metres Marcel Hansenne en 1945 Marcel Hansenne (January 24, 1917 – March 22, 2002) was a French middle distance runner, who won the bronze medal at the 1948 Summer Olympics in London over 800 m in a time of 1:49.8 min.[1] The race was won by Mal Whitfield. Hansenne also equalled Rune Gustafsson's 1000 m world record of 2:21.4 in Gothenburg in 1948. Hansenne was born in Tourc…

Shoulder-launched anti-armour and anti-brickwall weapon For the cruise missile, see MGM-1 Matador. MATADOR TypeRecoilless gunPlace of originGermanyIsraelSingaporeService historyIn service2000–presentUsed bySee OperatorsWars Gaza War Russo-Ukrainian War  • Russian invasion of Ukraine 2023 Israel-Hamas warProduction historyDesignerSingapore Armed Forces,Rafael Advanced Defense Systems, Defence Science and Technology AgencyDesigned1999ManufacturerDynamit Nobel D…

Dutch writer (born 1957) You can help expand this article with text translated from the corresponding article in Dutch. (May 2010) Click [show] for important translation instructions. View a machine-translated version of the Dutch article. Machine translation, like DeepL or Google Translate, is a useful starting point for translations, but translators must revise errors as necessary and confirm that the translation is accurate, rather than simply copy-pasting machine-translated text into th…

Serie A2Sport Calcio TipoClub Paese Italia TitoloPromozione in Serie A Aperturaottobre Chiusuramaggio Partecipanti44 Formula4 gironi all'italiana con play-off e play-out Sito InternetDivisione Calcio Femminile StoriaFondazione2002 Soppressione2013 Modifica dati su Wikidata · Manuale La Serie A2 è stata per importanza il secondo campionato del calcio femminile italiano. Come il massimo campionato, anch'esso era costituito da squadre dilettantistiche ed organizzato dalla Lega Nazionale…

Rank in the Swedish Navy Rear admiral (lower half)FlottiljamiralFlag of the rear admiral (lower half), Swedish Navy.Shoulder mark of a Swedish one-star rear admiral (lower half).Sleeve insignia of a Swedish one-star rear admiral (lower half).Country SwedenService branchSwedish NavyAbbreviationFljam (Swedish),[1] RAdm (English)[2]RankOne-star[a]NATO rank codeOF-06Non-NATO rankO-7Formation2000Next higher rankRear admiralNext lower rankCaptain[b]Equivalent ranks…

For other regiments with the same number, see 54th Regiment of Foot (disambiguation). 54th (West Norfolk) Regiment of FootActive1755–1881Country Kingdom of Great Britain (1755–1800) United Kingdom (1801–1881)Branch British ArmyTypeInfantrySizeOne battalion (two battalions 1800–1802)Garrison/HQNormanton Barracks, DerbyshireNickname(s)The Popinjays[1]The Flamers[1]EngagementsAmerican Revolutionary WarFrench Revolutionary WarsNapoleonic WarsFifth Xhosa WarFirs…