<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="et">
	<id>http://www.lambda.ee/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Kalle</id>
	<title>Lambda - Kasutaja kaastöö [et]</title>
	<link rel="self" type="application/atom+xml" href="http://www.lambda.ee/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Kalle"/>
	<link rel="alternate" type="text/html" href="http://www.lambda.ee/wiki/Eri:Kaast%C3%B6%C3%B6/Kalle"/>
	<updated>2026-10-28T16:18:52Z</updated>
	<subtitle>Kasutaja kaastöö</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>http://www.lambda.ee/w/index.php?title=Teadmiste_otsing,_formaliseerimine_ja_hoidmine&amp;diff=7846</id>
		<title>Teadmiste otsing, formaliseerimine ja hoidmine</title>
		<link rel="alternate" type="text/html" href="http://www.lambda.ee/w/index.php?title=Teadmiste_otsing,_formaliseerimine_ja_hoidmine&amp;diff=7846"/>
		<updated>2012-02-20T17:36:39Z</updated>

		<summary type="html">&lt;p&gt;Kalle: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;table&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
[[Pilt:Mephistophiles small.gif| left|teadmised]] &lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
Code: &amp;lt;b&amp;gt;ITV0060&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Link: http://www.lambda.ee/index.php/Teadmiste_otsing,_formaliseerimine_ja_hoidmine  or http://www.lambda.ee/index/itv0060&amp;lt;br&amp;gt;&lt;br /&gt;
Lecturer: Kalle Tomingas, Tanel Tammet&amp;lt;br&amp;gt;&lt;br /&gt;
Contact: kalle.tomingas@gmail.com, 50 40 568&amp;lt;br&amp;gt;&lt;br /&gt;
tammet@staff.ttu.ee, 6203457, TTÜ AK223&amp;lt;br&amp;gt;&lt;br /&gt;
Archives of previous years: [[itv0060 2011 arhiiv|2011]], [[itv0060 20010 arhiiv|2010]], [[itv0060 2009 arhiiv|2009]], [[itv0060 2008 arhiiv|2008]], [[itv0060 2007 arhiiv|2007]],   [[itv0060 2006 arhiiv|2006]], [http:/cs.ttu.ee/kursused/wav4130/ older].&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Time, place, result ==&lt;br /&gt;
&lt;br /&gt;
Semester: spring&amp;lt;br&amp;gt;&lt;br /&gt;
Grading: exam&amp;lt;br&amp;gt;&lt;br /&gt;
Points: 3.5&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Lectures: every Monday 17.45-19.15, room IT-137a&amp;lt;br&amp;gt;&lt;br /&gt;
Practical work: Mondays on odd weeks 19.15-20.00, room IT-137a:&amp;lt;br&amp;gt;6 feb, 20 feb, 5 mar, 19 mar, 2 apr, 16 apr, 30 apr, 14 may, 21 may.&lt;br /&gt;
&lt;br /&gt;
Practical work will give 40% and exam 60% of points underlying the final grade.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Practical work ==&lt;br /&gt;
&lt;br /&gt;
There are two labs on the same theme and an optional third lab.&lt;br /&gt;
&lt;br /&gt;
=== First lab === &lt;br /&gt;
&lt;br /&gt;
The main goal of the first lab is to web-scrape data from the public sources using search engines and simple text analysis/statistics.  &lt;br /&gt;
&lt;br /&gt;
Details in [[Teadmised first lab 2012|Teadmised first lab 2012]]. The lab should be completed by March, later presentation will cut the points to half.&lt;br /&gt;
&lt;br /&gt;
=== Second lab ===&lt;br /&gt;
&lt;br /&gt;
The main goal of the second lab is to augment data obtained from the first lab by writing and using probabilistic rules with a rule engine.  &lt;br /&gt;
&lt;br /&gt;
Details about second lab will be available on beginning of April. Previous year lab can be seen here: [[Teadmised second lab 2011]].&lt;br /&gt;
&lt;br /&gt;
=== Optional third lab ===&lt;br /&gt;
&lt;br /&gt;
The optional third lab can be done in parallel with the second. It will be a relatively complex lab: successful passing will give additional 20 points, thus the weight of the exam is diminished from 60% to 40% of the overall score. &lt;br /&gt;
&lt;br /&gt;
What to do: use Attempto to create a system such that you can write rules and/or facts and/or queries for the second lab in restricted english. These restricted english sentences have to be automatically converted to the form usable by Otter. It is a good idea to avoid probabilities in these rules, since it would be very hard to encode probabilities using attempto.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
See: http://attempto.ifi.uzh.ch/site/ , http://attempto.ifi.uzh.ch/ape/&lt;br /&gt;
&lt;br /&gt;
== Materials to study for the exam ==&lt;br /&gt;
&lt;br /&gt;
Eksamiküsimused:&lt;br /&gt;
&lt;br /&gt;
Väikesed ülesanded: data ja reeglite&lt;br /&gt;
esitamine ja kasutamine&lt;br /&gt;
&lt;br /&gt;
Andmebaas nö tüüpilise relatsioonilise&lt;br /&gt;
mudelina, key-value ja rdf kujul&lt;br /&gt;
&lt;br /&gt;
Ülesanne blocks worldist: esita mingi&lt;br /&gt;
olukord, mingi reegel ja näita rakendamise&lt;br /&gt;
tulemust&lt;br /&gt;
&lt;br /&gt;
RDF, RDFS ja OWL põhiasjad: väike&lt;br /&gt;
ülesanne. Süntaksid ja eridetailid&lt;br /&gt;
ei ole olulised.&lt;br /&gt;
&lt;br /&gt;
RDF ja RDFS esitada loogikas&lt;br /&gt;
faktide ja reeglitena, mõni&lt;br /&gt;
lihtne OWLi näide võib ka olla&lt;br /&gt;
&lt;br /&gt;
Arusaamine RDFa põhiasjadest, oskus&lt;br /&gt;
teha näidet.&lt;br /&gt;
&lt;br /&gt;
MÕni üldküsimus Nelli ja Attempto&lt;br /&gt;
kohta.&lt;br /&gt;
&lt;br /&gt;
Arusaam et mis on mittemonotoonne &lt;br /&gt;
loogika ja mis ei ole, mis oleks&lt;br /&gt;
viisid esitada vasturääkivaid&lt;br /&gt;
teadmisi. Võib olla väike ülesanne&lt;br /&gt;
mingite asjade esitamise kohta: näide&lt;br /&gt;
ja selgitus.&lt;br /&gt;
&lt;br /&gt;
Default loogika ülesanne a la linnud&lt;br /&gt;
ja Quaker diamond: panna kirja reeglid&lt;br /&gt;
ja viia läbi järeldused ja vbl selgitada&lt;br /&gt;
lisaks. Seos CWA, Prolog ja default loogika&lt;br /&gt;
vahel võib samuti küsimuse alla tulla.&lt;br /&gt;
&lt;br /&gt;
Indeksid: arusaam baasindekseerimis-ideedest&lt;br /&gt;
ja B+ treest. Ntx ehitada B+ mingi&lt;br /&gt;
väikese datahulga jaoks. Sama hashi kohta&lt;br /&gt;
ja bit indeksite kohta. Eriteemad a la&lt;br /&gt;
indeksi pakkimine ja erinevad hashi&lt;br /&gt;
viisid ei tule teemaks.&lt;br /&gt;
&lt;br /&gt;
Täistekstiindeksid: osata ehitada näite&lt;br /&gt;
pealt. Vt presentatsioonist erinevaid&lt;br /&gt;
viise, ntx Patricia trie.&lt;br /&gt;
&lt;br /&gt;
Termiindeksid: piisab discrimination&lt;br /&gt;
tree indeksist ja näite põhjal&lt;br /&gt;
indeksi ehitamisest.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Declarative and procedural representations ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Lecture material:&lt;br /&gt;
* [[Media:Kr intro.ppt | Intro lecture: declarative and procedural representations]]&lt;br /&gt;
&lt;br /&gt;
=== Databases: meaning and representation of facts ===&lt;br /&gt;
&lt;br /&gt;
* [[Media:Kr_plain_data_db_logic.ppt | relation of plain data in databases to logic &amp;amp; representing complex structures in databases ]]&lt;br /&gt;
* [[Media:Kr_rdf_schemalessdb_3.pdf|key/value pairs and rdf, compared to the relational model]] &lt;br /&gt;
&lt;br /&gt;
=== Rules in logic: apps in planning, robotics, ... ===&lt;br /&gt;
&lt;br /&gt;
Lecture material:&lt;br /&gt;
* [[Media:Kr_rules1.pdf|Rules and logic: refresher]] and as [[Media:Kr_rules1.ppt|ppt]]&lt;br /&gt;
&lt;br /&gt;
See also:&lt;br /&gt;
&lt;br /&gt;
* [[Media:Geoffreasoningnotes.pdf|Geoff reasoning course notes: just for background, no questions in exam]]&lt;br /&gt;
* [http://www.ee.pdx.edu/~mperkows/May4/005.Ch11-planning.ppt planning and blocks world]&lt;br /&gt;
* [[blocks world axiom/query examples from lecture]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== RDF, RDFS, OWL and conversion to 1st order logic ===&lt;br /&gt;
&lt;br /&gt;
Lecture material:&lt;br /&gt;
* [[Media:Kr_rdfs.pdf|RDFS: rdf schema]] and as [[Media:Kr_rdfs.ppt|ppt]]&lt;br /&gt;
&lt;br /&gt;
Understand RDF and RDFS:&lt;br /&gt;
&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Resource_Description_Framework RDF wikipedia]&lt;br /&gt;
* [http://www.w3.org/TR/rdf-primer/ w3c RDF primer]&lt;br /&gt;
&lt;br /&gt;
Understand basics of owl:&lt;br /&gt;
&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Web_Ontology_Language OWL wikipedia]&lt;br /&gt;
* [http://www.w3.org/TR/owl-guide/ w3c OWL guide]&lt;br /&gt;
&lt;br /&gt;
=== RDFa, reading and using RDF data from web pages ===&lt;br /&gt;
&lt;br /&gt;
Understand main parts:&lt;br /&gt;
&lt;br /&gt;
* [http://en.wikipedia.org/wiki/RDFa wiki intro]&lt;br /&gt;
* [[Media:portaalidekoosvoime.ppt]] or as pdf [[Media:portaalidekoosvoime.pdf]] &lt;br /&gt;
* [http://www.w3.org/2006/07/SWD/RDFa/primer/ w3c rdfa primer]&lt;br /&gt;
&lt;br /&gt;
=== RDF relation to logic ===&lt;br /&gt;
&lt;br /&gt;
Notes from lecture:&lt;br /&gt;
* [[Notes about RDF and OWL: logical meaning]]&lt;br /&gt;
&lt;br /&gt;
Understand a bit of:&lt;br /&gt;
* [http://www.w3.org/TR/2003/NOTE-lbase-20031010/ Hayes &amp;amp; Guha Lbase]&lt;br /&gt;
&lt;br /&gt;
=== Semantics of ordinary relational base === &lt;br /&gt;
&lt;br /&gt;
* [http://cs.ttu.ee/kursused/wav4130/rdftutapp.pdf rdf tutorial addendum for logic and dbases]&lt;br /&gt;
&lt;br /&gt;
===  First order logic in query engines and planning ===&lt;br /&gt;
&lt;br /&gt;
* [[Media:Geoffreasoningnotes.pdf|Geoff reasoning course notes: just for background, no questions in exam]]&lt;br /&gt;
* [http://www.ee.pdx.edu/~mperkows/May4/005.Ch11-planning.ppt planning and blocks world]&lt;br /&gt;
* [[blocks world axiom/query examples from lecture]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Data extraction ===&lt;br /&gt;
&lt;br /&gt;
Web mining by Nell:&lt;br /&gt;
* [http://rtw.ml.cmu.edu/rtw/ Nell]&lt;br /&gt;
&lt;br /&gt;
===  Restricted english jms ===&lt;br /&gt;
&lt;br /&gt;
* [http://attempto.ifi.unizh.ch/site/pubs/papers/phd_kaljurand.pdf Attempto restricted english]&lt;br /&gt;
&lt;br /&gt;
=== Uncertain knowledge logic ===&lt;br /&gt;
&lt;br /&gt;
* [http://plato.stanford.edu/entries/logic-nonmonotonic/ nonmonotonic logic]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Default_logic default logic]&lt;br /&gt;
* [http://sc.snu.ac.kr/courses/2008/spring/pg/krr/Lectures/Lecture11/Lec11.ppt Reasoning with Conflicting Knowledge]&lt;br /&gt;
&lt;br /&gt;
=== Indexes ===&lt;br /&gt;
&lt;br /&gt;
Traditional database indexes incl B+ tree:&lt;br /&gt;
* [http://www.lambda.ee/index.php/Pilt:IndexNotes04.ppt G. Molina lecture 4]&lt;br /&gt;
&lt;br /&gt;
Bitmap indexes:&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Bitmap_index wiki]&lt;br /&gt;
&lt;br /&gt;
Hash indexes:&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Hash_table wiki]&lt;br /&gt;
&lt;br /&gt;
Fulltext indexes:&lt;br /&gt;
* [http://www.lambda.ee/index.php/Pilt:Fulltext_indexes.ppt good intro and overview]&lt;br /&gt;
&lt;br /&gt;
Term indexes:&lt;br /&gt;
Understand basics of discrimination tree trie-type term indexes and path indexes from&lt;br /&gt;
* [http://www.lambda.ee/index.php/Pilt:Mccuneindexing.pdf mccune paper]&lt;br /&gt;
&lt;br /&gt;
== Course structure ==&lt;br /&gt;
&lt;br /&gt;
We start with representing and converting facts, continue to rules, first monotonic, then probabilistic and nonmonotonic, then look into search and indexing of complex information, and finally, some learning.&lt;br /&gt;
&lt;br /&gt;
=== Intro and paradigms of knowledge representation ===&lt;br /&gt;
&lt;br /&gt;
Lecture materials:&lt;br /&gt;
* [[Media:Kr intro.ppt | Intro lecture: declarative and procedural representations]]&lt;br /&gt;
* [http://dl.dropbox.com/u/11794296/roboswarm_saso_2.pdf roboswarm example of combining dec and proc]&lt;br /&gt;
&lt;br /&gt;
For KR, declarative and procedural rep see:&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Knowledge_representation Short wiki overview of knowledge representation]&lt;br /&gt;
* [http://groups.csail.mit.edu/medg/ftp/psz/k-rep.html Long and philosophical MIT overview of knowledge representation]&lt;br /&gt;
* [http://www.cse.buffalo.edu/~rapaport/676/F01/proc.decl.html Pointers to classical papers]&lt;br /&gt;
* [http://www.cogarch.org/index.php/Main_Page A Survey of Cognitive and Agent Architectures]&lt;br /&gt;
* [ftp://reports.stanford.edu/pub/cstr/reports/cs/tr/76/581/CS-TR-76-581.pdf Classical KRL paper from 1977: Bobrow &amp;amp; Winograd]&lt;br /&gt;
Web mining by Nell:&lt;br /&gt;
* [http://rtw.ml.cmu.edu/rtw/ Nell]&lt;br /&gt;
* [http://www.cs.cmu.edu/~rcwang/ Richard Wang]&lt;br /&gt;
* [http://www.boowa.com/ boowa extractor]&lt;br /&gt;
&lt;br /&gt;
=== Databases: meaning and representation of facts ===&lt;br /&gt;
&lt;br /&gt;
Lecture material:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- * [[Media:Kr_plain_data_db_logic_draft.ppt|logic and databases intro draft]] --&amp;gt;&lt;br /&gt;
* [[Media:Kr_plain_data_db_logic.ppt | relation of plain data in databases to logic &amp;amp; representing complex structures in databases ]]&lt;br /&gt;
&amp;lt;!-- * [[Media:Kr_prop_val_pairs.ppt|property/value pairs]] --&amp;gt;&lt;br /&gt;
* [[Media:Kr_rdf_schemalessdb_3.pdf|key/value pairs and rdf, compared to the relational model]] &lt;br /&gt;
&lt;br /&gt;
See also about databases and logic:&lt;br /&gt;
&lt;br /&gt;
* [http://www.cs.rice.edu/~tlogic/Database/all-lectures.pdf Logic and Database Queries (readable)]&lt;br /&gt;
* [http://magenta.ruc.dk/dat_en/research/reports/127.pdf logic in databases workshop (complex stuff)]&lt;br /&gt;
&lt;br /&gt;
See also about RDF and related:&lt;br /&gt;
&lt;br /&gt;
* [http://cs.ttu.ee/kursused/wav4130/rdftutapp.pdf rdf tutorial addendum for logic and dbases]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Resource_Description_Framework RDF wikipedia]&lt;br /&gt;
* [http://www.w3.org/TR/rdf-primer/ w3c RDF primer]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/RDFa wiki intro]&lt;br /&gt;
* [[Media:portaalidekoosvoime.ppt]] or as pdf [[Media:portaalidekoosvoime.pdf]] &lt;br /&gt;
* [http://www.w3.org/2006/07/SWD/RDFa/primer/ w3c rdfa primer]&lt;br /&gt;
* [http://tripletalk.wordpress.com/2011/01/25/rdfa-deployment-across-the-web/ rdfa and microformats deployment now]&lt;br /&gt;
* [http://www.microformats.org microformats: a similar technology]&lt;br /&gt;
* [http://www.w3.org/TR/2003/NOTE-lbase-20031010/ Hayes &amp;amp; Guha Lbase]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Rules in logic: apps in planning, robotics, ... ===&lt;br /&gt;
&lt;br /&gt;
Lecture material:&lt;br /&gt;
* [[Media:Kr_rules1.pdf|Rules and logic: refresher]] and as [[Media:Kr_rules1.ppt|ppt]]&lt;br /&gt;
&lt;br /&gt;
Topics:&lt;br /&gt;
&lt;br /&gt;
* propositional, first order, higher order&lt;br /&gt;
* semantics/models&lt;br /&gt;
* proofs and deriving new information&lt;br /&gt;
* automated reasoning&lt;br /&gt;
&lt;br /&gt;
See also:&lt;br /&gt;
&lt;br /&gt;
* [[Media:Geoffreasoningnotes.pdf|Geoff reasoning course notes: just for background, no questions in exam]]&lt;br /&gt;
* [http://www.ee.pdx.edu/~mperkows/May4/005.Ch11-planning.ppt planning and blocks world]&lt;br /&gt;
* [[blocks world axiom/query examples from lecture]]&lt;br /&gt;
&lt;br /&gt;
=== Various rule/logic languages ===&lt;br /&gt;
&lt;br /&gt;
Lecture material:&lt;br /&gt;
* [[Media:Kr_rdfs.pdf|RDFS: rdf schema]] and as [[Media:Kr_rdfs.ppt|ppt]]&lt;br /&gt;
* [[Notes about RDF and OWL: logical meaning]]&lt;br /&gt;
&lt;br /&gt;
Several languages:&lt;br /&gt;
* RDFS&lt;br /&gt;
* OWL&lt;br /&gt;
* KIF &lt;br /&gt;
* CL &lt;br /&gt;
* ontologies&lt;br /&gt;
* wordnet&lt;br /&gt;
* cyc&lt;br /&gt;
* restricted english systems&lt;br /&gt;
&lt;br /&gt;
See also:&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Resource_Description_Framework RDF wikipedia]&lt;br /&gt;
* [http://www.w3.org/TR/rdf-primer/ w3c RDF primer]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Web_Ontology_Language OWL wikipedia]&lt;br /&gt;
* [http://www.w3.org/TR/owl-guide/ w3c OWL guide]&lt;br /&gt;
* [http://cl.tamu.edu/ CL main page], &lt;br /&gt;
* [http://attempto.ifi.unizh.ch/site/pubs/papers/phd_kaljurand.pdf Attempto restricted english]&lt;br /&gt;
&lt;br /&gt;
=== Scraping semistructured data ===&lt;br /&gt;
&lt;br /&gt;
* Example for background: http://www.sightsmap.com/&lt;br /&gt;
&lt;br /&gt;
=== Time, context, metainformation ===&lt;br /&gt;
&lt;br /&gt;
=== Probabilistic and nonmonotonic reasoning ===&lt;br /&gt;
&lt;br /&gt;
See also:&lt;br /&gt;
* [http://plato.stanford.edu/entries/logic-nonmonotonic/ nonmonotonic logic]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Default_logic default logic]&lt;br /&gt;
&lt;br /&gt;
=== Personalized search and recommendations ===&lt;br /&gt;
&lt;br /&gt;
=== Fast search of facts and rules using indexing ===&lt;br /&gt;
&lt;br /&gt;
* [http://www.lambda.ee/index.php/Pilt:IndexNotes04.ppt G. Molina lecture 4]&lt;br /&gt;
* [http://www.lambda.ee/index.php/Pilt:IndexNotes05.ppt G. Molina lecture 5]&lt;br /&gt;
* [http://www.lambda.ee/index.php/Pilt:Fulltext_indexes.ppt good intro and overview]&lt;br /&gt;
* [http://www.lambda.ee/index.php/Pilt:Mccuneindexing.pdf mccune paper about term indexes]&lt;br /&gt;
&lt;br /&gt;
=== Learning ===&lt;br /&gt;
&lt;br /&gt;
See also:&lt;br /&gt;
&lt;br /&gt;
* [http://www.cs.toronto.edu/~hinton/csc2515/notes/lec1.ppt intro]&lt;br /&gt;
* [http://gamma.cs.unc.edu/rob-course/public_html/LEC/MachineLearningMethods.ppt robots/cars]&lt;br /&gt;
* [http://www.cs.toronto.edu/~hinton/csc2515/notes/lec4.ppt backpropagation]&lt;br /&gt;
* [http://www.cs.toronto.edu/~hinton/csc2515/lectures.html good set of lecture materials]&lt;br /&gt;
* [http://www.cs.cmu.edu/~tom/mlbook-chapter-slides.html another good full set of lecture materials]&lt;br /&gt;
** sh [http://www.cs.cmu.edu/afs/cs.cmu.edu/project/theo-20/www/mlbook/ch4.pdf neural netw chapter]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
=== Learning ===&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
&lt;br /&gt;
* [http://www.cs.toronto.edu/~hinton/csc2515/notes/lec1.ppt intro]&lt;br /&gt;
* [http://gamma.cs.unc.edu/rob-course/public_html/LEC/MachineLearningMethods.ppt robots/cars]&lt;br /&gt;
* [http://www.cs.toronto.edu/~hinton/csc2515/notes/lec4.ppt backpropagation]&lt;br /&gt;
* [http://www.cs.toronto.edu/~hinton/csc2515/lectures.html good set of lecture materials]&lt;br /&gt;
* [http://www.cs.cmu.edu/~tom/mlbook-chapter-slides.html another good full set of lecture materials]&lt;br /&gt;
** sh [http://www.cs.cmu.edu/afs/cs.cmu.edu/project/theo-20/www/mlbook/ch4.pdf neural netw chapter]&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Kursus]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;owl:Class rdf:ID=&amp;quot;sugu&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;rdfs:subClassOf&amp;gt;&lt;br /&gt;
    &amp;lt;owl:Restriction&amp;gt;&lt;br /&gt;
      &amp;lt;owl:onProperty rdf:resource=&amp;quot;sugu&amp;quot; /&amp;gt;&lt;br /&gt;
      &amp;lt;owl:allValuesFrom rdf:resource=&amp;quot;sugu&amp;quot; /&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:Restriction&amp;gt;&lt;br /&gt;
  &amp;lt;/rdfs:subClassOf&amp;gt;&lt;br /&gt;
&amp;lt;/owl:Class&amp;gt;   &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Kalle</name></author>
	</entry>
	<entry>
		<id>http://www.lambda.ee/w/index.php?title=Teadmised_first_lab_2012&amp;diff=8618</id>
		<title>Teadmised first lab 2012</title>
		<link rel="alternate" type="text/html" href="http://www.lambda.ee/w/index.php?title=Teadmised_first_lab_2012&amp;diff=8618"/>
		<updated>2012-02-20T17:31:57Z</updated>

		<summary type="html">&lt;p&gt;Kalle: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The main goal of the first lab is to web-scrape uncertain data from the public sources using search engines and calculate popularity index. &lt;br /&gt;
&lt;br /&gt;
== Conditions ==&lt;br /&gt;
&lt;br /&gt;
You can do the lab either alone or together with a fellow student. Three students per lab is not ok, though.&lt;br /&gt;
&lt;br /&gt;
Technology - language, op system etc - is completely free.&lt;br /&gt;
&lt;br /&gt;
== What should the app do ==&lt;br /&gt;
&lt;br /&gt;
Your system should take as input a list of arbitrary list of cities like &amp;quot;London&amp;quot;, &amp;quot;New York&amp;quot;, &amp;quot;Tallinn&amp;quot; etc (at least 10 cities) and use web search and web-scraping to obtain probabilistic and popularity data about the objects. We look for &lt;br /&gt;
&lt;br /&gt;
* population&lt;br /&gt;
* area&lt;br /&gt;
* search results (popularity) by different search engines (google, bing) in different search categories (web, images, videos, news)&lt;br /&gt;
&lt;br /&gt;
The data should be enriched by a numeric confidence measure (0..1) indicating rough trust in the result. The confidence is mostly based on the sourcecpercentage of investigated pages/sources giving this result, as well as a perceived quality of the data source (like: wikipedia has high quality, arbitrary pages low). In order to get the list of pages to web scrape you should do several searches, selecting from&lt;br /&gt;
* wikipedia, wolfram alpha search&lt;br /&gt;
* google, bing (web, images, videos, news) web search&lt;br /&gt;
&lt;br /&gt;
The results should be scraped using suitable scraping method and confidence values should be set or calculated depending on the source or meaning of search query. All the captured properties and the confidence values should be used for popularity calculation and list of cities should be ordered by popularity. What is the mean of the calculated popularity? &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Hints and suggestions ==&lt;br /&gt;
&lt;br /&gt;
While developing, it is easier to use a pre-stored search result/wikipedia page and pre-stored set of pages instead of doing full search and download each time.&lt;br /&gt;
&lt;br /&gt;
However, the system should finally work with custom place names, meaning that the pre-loaded data cannot be normally used.&lt;br /&gt;
&lt;br /&gt;
Interesting links and ideas: sophisticated systems. &lt;br /&gt;
&lt;br /&gt;
Scraping frameworks:&lt;br /&gt;
* [http://scraperwiki.com/ scraperite üldportaal]&lt;br /&gt;
* [http://scrapy.org scrapy (python)]&lt;br /&gt;
* [http://web-harvest.sourceforge.net/ wb-harvest (java)]&lt;br /&gt;
&lt;br /&gt;
Nell:&lt;br /&gt;
* [http://rtw.ml.cmu.edu/rtw/ Nell]&lt;br /&gt;
* [http://www.cs.cmu.edu/~rcwang/ Richard Wang]&lt;br /&gt;
* [http://www.boowa.com/ boowa extractor]&lt;br /&gt;
&lt;br /&gt;
Peter Norvigi&lt;br /&gt;
[http://www.nypost.com/p/news/opinion/opedcolumnists/the_machine_age_tM7xPAv4pI4JslK0M1JtxI/2 artikkel statistikapõhisest rakenduslikust tehismõistusest]&lt;br /&gt;
&lt;br /&gt;
Other:&lt;br /&gt;
* http://www.cs.uic.edu/~liub/WebMiningBook.html&lt;br /&gt;
* http://www.frenchlane.com/Web-Content-Mining-4.pdf&lt;br /&gt;
* http://www.cs.uic.edu/~liub/teach/cs511-spring-06/CS511-opinion-synthesis.ppt&lt;br /&gt;
* http://www.cato.org/pubs/pas/pa584.pdf&lt;/div&gt;</summary>
		<author><name>Kalle</name></author>
	</entry>
	<entry>
		<id>http://www.lambda.ee/w/index.php?title=Teadmiste_otsing,_formaliseerimine_ja_hoidmine&amp;diff=6716</id>
		<title>Teadmiste otsing, formaliseerimine ja hoidmine</title>
		<link rel="alternate" type="text/html" href="http://www.lambda.ee/w/index.php?title=Teadmiste_otsing,_formaliseerimine_ja_hoidmine&amp;diff=6716"/>
		<updated>2012-02-20T16:27:20Z</updated>

		<summary type="html">&lt;p&gt;Kalle: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;table&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
[[Pilt:Mephistophiles small.gif| left|teadmised]] &lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
Code: &amp;lt;b&amp;gt;ITV0060&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Link: http://www.lambda.ee/index.php/Teadmiste_otsing,_formaliseerimine_ja_hoidmine  or http://www.lambda.ee/index/itv0060&amp;lt;br&amp;gt;&lt;br /&gt;
Lecturer: Kalle Tomingas, Tanel Tammet&amp;lt;br&amp;gt;&lt;br /&gt;
Contact: kalle.tomingas@gmail.com, 50 40 568&amp;lt;br&amp;gt;&lt;br /&gt;
tammet@staff.ttu.ee, 6203457, TTÜ AK223&amp;lt;br&amp;gt;&lt;br /&gt;
Archives of previous years: [[itv0060 2011 arhiiv|2011]], [[itv0060 20010 arhiiv|2010]], [[itv0060 2009 arhiiv|2009]], [[itv0060 2008 arhiiv|2008]], [[itv0060 2007 arhiiv|2007]],   [[itv0060 2006 arhiiv|2006]], [http:/cs.ttu.ee/kursused/wav4130/ older].&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Time, place, result ==&lt;br /&gt;
&lt;br /&gt;
Semester: spring&amp;lt;br&amp;gt;&lt;br /&gt;
Grading: exam&amp;lt;br&amp;gt;&lt;br /&gt;
Points: 3.5&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Lectures: every Monday 17.45-19.15, room IT-137a&amp;lt;br&amp;gt;&lt;br /&gt;
Practical work: Mondays on odd weeks 19.15-20.00, room IT-137a:&amp;lt;br&amp;gt;6 feb, 20 feb, 5 mar, 19 mar, 2 apr, 16 apr, 30 apr, 14 may, 21 may.&lt;br /&gt;
&lt;br /&gt;
Practical work will give 40% and exam 60% of points underlying the final grade.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Practical work ==&lt;br /&gt;
&lt;br /&gt;
There are two labs on the same theme and an optional third lab.&lt;br /&gt;
&lt;br /&gt;
=== First lab === &lt;br /&gt;
&lt;br /&gt;
The main goal of the first lab is to web-scrape data from the public sources using search engines and simple text analysis/statistics.  &lt;br /&gt;
&lt;br /&gt;
Details in [[Teadmised first lab 2011|Teadmised first lab]]. The lab should be completed by March, later presentation will cut the points to half.&lt;br /&gt;
&lt;br /&gt;
=== Second lab ===&lt;br /&gt;
&lt;br /&gt;
The main goal of the second lab is to augment data obtained from the first lab by writing and using probabilistic rules with a rule engine. &lt;br /&gt;
&lt;br /&gt;
Details in [[Teadmised second lab 2011]].&lt;br /&gt;
&lt;br /&gt;
=== Optional third lab ===&lt;br /&gt;
&lt;br /&gt;
The optional third lab can be done in parallel with the second. It will be a relatively complex lab: successful passing will give additional 20 points, thus the weight of the exam is diminished from 60% to 40% of the overall score. &lt;br /&gt;
&lt;br /&gt;
What to do: use Attempto to create a system such that you can write rules and/or facts and/or queries for the second lab in restricted english. These restricted english sentences have to be automatically converted to the form usable by Otter. It is a good idea to avoid probabilities in these rules, since it would be very hard to encode probabilities using attempto.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
See: http://attempto.ifi.uzh.ch/site/ , http://attempto.ifi.uzh.ch/ape/&lt;br /&gt;
&lt;br /&gt;
== Materials to study for the exam ==&lt;br /&gt;
&lt;br /&gt;
Eksamiküsimused:&lt;br /&gt;
&lt;br /&gt;
Väikesed ülesanded: data ja reeglite&lt;br /&gt;
esitamine ja kasutamine&lt;br /&gt;
&lt;br /&gt;
Andmebaas nö tüüpilise relatsioonilise&lt;br /&gt;
mudelina, key-value ja rdf kujul&lt;br /&gt;
&lt;br /&gt;
Ülesanne blocks worldist: esita mingi&lt;br /&gt;
olukord, mingi reegel ja näita rakendamise&lt;br /&gt;
tulemust&lt;br /&gt;
&lt;br /&gt;
RDF, RDFS ja OWL põhiasjad: väike&lt;br /&gt;
ülesanne. Süntaksid ja eridetailid&lt;br /&gt;
ei ole olulised.&lt;br /&gt;
&lt;br /&gt;
RDF ja RDFS esitada loogikas&lt;br /&gt;
faktide ja reeglitena, mõni&lt;br /&gt;
lihtne OWLi näide võib ka olla&lt;br /&gt;
&lt;br /&gt;
Arusaamine RDFa põhiasjadest, oskus&lt;br /&gt;
teha näidet.&lt;br /&gt;
&lt;br /&gt;
MÕni üldküsimus Nelli ja Attempto&lt;br /&gt;
kohta.&lt;br /&gt;
&lt;br /&gt;
Arusaam et mis on mittemonotoonne &lt;br /&gt;
loogika ja mis ei ole, mis oleks&lt;br /&gt;
viisid esitada vasturääkivaid&lt;br /&gt;
teadmisi. Võib olla väike ülesanne&lt;br /&gt;
mingite asjade esitamise kohta: näide&lt;br /&gt;
ja selgitus.&lt;br /&gt;
&lt;br /&gt;
Default loogika ülesanne a la linnud&lt;br /&gt;
ja Quaker diamond: panna kirja reeglid&lt;br /&gt;
ja viia läbi järeldused ja vbl selgitada&lt;br /&gt;
lisaks. Seos CWA, Prolog ja default loogika&lt;br /&gt;
vahel võib samuti küsimuse alla tulla.&lt;br /&gt;
&lt;br /&gt;
Indeksid: arusaam baasindekseerimis-ideedest&lt;br /&gt;
ja B+ treest. Ntx ehitada B+ mingi&lt;br /&gt;
väikese datahulga jaoks. Sama hashi kohta&lt;br /&gt;
ja bit indeksite kohta. Eriteemad a la&lt;br /&gt;
indeksi pakkimine ja erinevad hashi&lt;br /&gt;
viisid ei tule teemaks.&lt;br /&gt;
&lt;br /&gt;
Täistekstiindeksid: osata ehitada näite&lt;br /&gt;
pealt. Vt presentatsioonist erinevaid&lt;br /&gt;
viise, ntx Patricia trie.&lt;br /&gt;
&lt;br /&gt;
Termiindeksid: piisab discrimination&lt;br /&gt;
tree indeksist ja näite põhjal&lt;br /&gt;
indeksi ehitamisest.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Declarative and procedural representations ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Lecture material:&lt;br /&gt;
* [[Media:Kr intro.ppt | Intro lecture: declarative and procedural representations]]&lt;br /&gt;
&lt;br /&gt;
=== Databases: meaning and representation of facts ===&lt;br /&gt;
&lt;br /&gt;
* [[Media:Kr_plain_data_db_logic.ppt | relation of plain data in databases to logic &amp;amp; representing complex structures in databases ]]&lt;br /&gt;
* [[Media:Kr_rdf_schemalessdb_3.pdf|key/value pairs and rdf, compared to the relational model]] &lt;br /&gt;
&lt;br /&gt;
=== Rules in logic: apps in planning, robotics, ... ===&lt;br /&gt;
&lt;br /&gt;
Lecture material:&lt;br /&gt;
* [[Media:Kr_rules1.pdf|Rules and logic: refresher]] and as [[Media:Kr_rules1.ppt|ppt]]&lt;br /&gt;
&lt;br /&gt;
See also:&lt;br /&gt;
&lt;br /&gt;
* [[Media:Geoffreasoningnotes.pdf|Geoff reasoning course notes: just for background, no questions in exam]]&lt;br /&gt;
* [http://www.ee.pdx.edu/~mperkows/May4/005.Ch11-planning.ppt planning and blocks world]&lt;br /&gt;
* [[blocks world axiom/query examples from lecture]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== RDF, RDFS, OWL and conversion to 1st order logic ===&lt;br /&gt;
&lt;br /&gt;
Lecture material:&lt;br /&gt;
* [[Media:Kr_rdfs.pdf|RDFS: rdf schema]] and as [[Media:Kr_rdfs.ppt|ppt]]&lt;br /&gt;
&lt;br /&gt;
Understand RDF and RDFS:&lt;br /&gt;
&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Resource_Description_Framework RDF wikipedia]&lt;br /&gt;
* [http://www.w3.org/TR/rdf-primer/ w3c RDF primer]&lt;br /&gt;
&lt;br /&gt;
Understand basics of owl:&lt;br /&gt;
&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Web_Ontology_Language OWL wikipedia]&lt;br /&gt;
* [http://www.w3.org/TR/owl-guide/ w3c OWL guide]&lt;br /&gt;
&lt;br /&gt;
=== RDFa, reading and using RDF data from web pages ===&lt;br /&gt;
&lt;br /&gt;
Understand main parts:&lt;br /&gt;
&lt;br /&gt;
* [http://en.wikipedia.org/wiki/RDFa wiki intro]&lt;br /&gt;
* [[Media:portaalidekoosvoime.ppt]] or as pdf [[Media:portaalidekoosvoime.pdf]] &lt;br /&gt;
* [http://www.w3.org/2006/07/SWD/RDFa/primer/ w3c rdfa primer]&lt;br /&gt;
&lt;br /&gt;
=== RDF relation to logic ===&lt;br /&gt;
&lt;br /&gt;
Notes from lecture:&lt;br /&gt;
* [[Notes about RDF and OWL: logical meaning]]&lt;br /&gt;
&lt;br /&gt;
Understand a bit of:&lt;br /&gt;
* [http://www.w3.org/TR/2003/NOTE-lbase-20031010/ Hayes &amp;amp; Guha Lbase]&lt;br /&gt;
&lt;br /&gt;
=== Semantics of ordinary relational base === &lt;br /&gt;
&lt;br /&gt;
* [http://cs.ttu.ee/kursused/wav4130/rdftutapp.pdf rdf tutorial addendum for logic and dbases]&lt;br /&gt;
&lt;br /&gt;
===  First order logic in query engines and planning ===&lt;br /&gt;
&lt;br /&gt;
* [[Media:Geoffreasoningnotes.pdf|Geoff reasoning course notes: just for background, no questions in exam]]&lt;br /&gt;
* [http://www.ee.pdx.edu/~mperkows/May4/005.Ch11-planning.ppt planning and blocks world]&lt;br /&gt;
* [[blocks world axiom/query examples from lecture]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Data extraction ===&lt;br /&gt;
&lt;br /&gt;
Web mining by Nell:&lt;br /&gt;
* [http://rtw.ml.cmu.edu/rtw/ Nell]&lt;br /&gt;
&lt;br /&gt;
===  Restricted english jms ===&lt;br /&gt;
&lt;br /&gt;
* [http://attempto.ifi.unizh.ch/site/pubs/papers/phd_kaljurand.pdf Attempto restricted english]&lt;br /&gt;
&lt;br /&gt;
=== Uncertain knowledge logic ===&lt;br /&gt;
&lt;br /&gt;
* [http://plato.stanford.edu/entries/logic-nonmonotonic/ nonmonotonic logic]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Default_logic default logic]&lt;br /&gt;
* [http://sc.snu.ac.kr/courses/2008/spring/pg/krr/Lectures/Lecture11/Lec11.ppt Reasoning with Conflicting Knowledge]&lt;br /&gt;
&lt;br /&gt;
=== Indexes ===&lt;br /&gt;
&lt;br /&gt;
Traditional database indexes incl B+ tree:&lt;br /&gt;
* [http://www.lambda.ee/index.php/Pilt:IndexNotes04.ppt G. Molina lecture 4]&lt;br /&gt;
&lt;br /&gt;
Bitmap indexes:&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Bitmap_index wiki]&lt;br /&gt;
&lt;br /&gt;
Hash indexes:&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Hash_table wiki]&lt;br /&gt;
&lt;br /&gt;
Fulltext indexes:&lt;br /&gt;
* [http://www.lambda.ee/index.php/Pilt:Fulltext_indexes.ppt good intro and overview]&lt;br /&gt;
&lt;br /&gt;
Term indexes:&lt;br /&gt;
Understand basics of discrimination tree trie-type term indexes and path indexes from&lt;br /&gt;
* [http://www.lambda.ee/index.php/Pilt:Mccuneindexing.pdf mccune paper]&lt;br /&gt;
&lt;br /&gt;
== Course structure ==&lt;br /&gt;
&lt;br /&gt;
We start with representing and converting facts, continue to rules, first monotonic, then probabilistic and nonmonotonic, then look into search and indexing of complex information, and finally, some learning.&lt;br /&gt;
&lt;br /&gt;
=== Intro and paradigms of knowledge representation ===&lt;br /&gt;
&lt;br /&gt;
Lecture materials:&lt;br /&gt;
* [[Media:Kr intro.ppt | Intro lecture: declarative and procedural representations]]&lt;br /&gt;
* [http://dl.dropbox.com/u/11794296/roboswarm_saso_2.pdf roboswarm example of combining dec and proc]&lt;br /&gt;
&lt;br /&gt;
For KR, declarative and procedural rep see:&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Knowledge_representation Short wiki overview of knowledge representation]&lt;br /&gt;
* [http://groups.csail.mit.edu/medg/ftp/psz/k-rep.html Long and philosophical MIT overview of knowledge representation]&lt;br /&gt;
* [http://www.cse.buffalo.edu/~rapaport/676/F01/proc.decl.html Pointers to classical papers]&lt;br /&gt;
* [http://www.cogarch.org/index.php/Main_Page A Survey of Cognitive and Agent Architectures]&lt;br /&gt;
* [ftp://reports.stanford.edu/pub/cstr/reports/cs/tr/76/581/CS-TR-76-581.pdf Classical KRL paper from 1977: Bobrow &amp;amp; Winograd]&lt;br /&gt;
Web mining by Nell:&lt;br /&gt;
* [http://rtw.ml.cmu.edu/rtw/ Nell]&lt;br /&gt;
* [http://www.cs.cmu.edu/~rcwang/ Richard Wang]&lt;br /&gt;
* [http://www.boowa.com/ boowa extractor]&lt;br /&gt;
&lt;br /&gt;
=== Databases: meaning and representation of facts ===&lt;br /&gt;
&lt;br /&gt;
Lecture material:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- * [[Media:Kr_plain_data_db_logic_draft.ppt|logic and databases intro draft]] --&amp;gt;&lt;br /&gt;
* [[Media:Kr_plain_data_db_logic.ppt | relation of plain data in databases to logic &amp;amp; representing complex structures in databases ]]&lt;br /&gt;
&amp;lt;!-- * [[Media:Kr_prop_val_pairs.ppt|property/value pairs]] --&amp;gt;&lt;br /&gt;
* [[Media:Kr_rdf_schemalessdb_3.pdf|key/value pairs and rdf, compared to the relational model]] &lt;br /&gt;
&lt;br /&gt;
See also about databases and logic:&lt;br /&gt;
&lt;br /&gt;
* [http://www.cs.rice.edu/~tlogic/Database/all-lectures.pdf Logic and Database Queries (readable)]&lt;br /&gt;
* [http://magenta.ruc.dk/dat_en/research/reports/127.pdf logic in databases workshop (complex stuff)]&lt;br /&gt;
&lt;br /&gt;
See also about RDF and related:&lt;br /&gt;
&lt;br /&gt;
* [http://cs.ttu.ee/kursused/wav4130/rdftutapp.pdf rdf tutorial addendum for logic and dbases]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Resource_Description_Framework RDF wikipedia]&lt;br /&gt;
* [http://www.w3.org/TR/rdf-primer/ w3c RDF primer]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/RDFa wiki intro]&lt;br /&gt;
* [[Media:portaalidekoosvoime.ppt]] or as pdf [[Media:portaalidekoosvoime.pdf]] &lt;br /&gt;
* [http://www.w3.org/2006/07/SWD/RDFa/primer/ w3c rdfa primer]&lt;br /&gt;
* [http://tripletalk.wordpress.com/2011/01/25/rdfa-deployment-across-the-web/ rdfa and microformats deployment now]&lt;br /&gt;
* [http://www.microformats.org microformats: a similar technology]&lt;br /&gt;
* [http://www.w3.org/TR/2003/NOTE-lbase-20031010/ Hayes &amp;amp; Guha Lbase]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Rules in logic: apps in planning, robotics, ... ===&lt;br /&gt;
&lt;br /&gt;
Lecture material:&lt;br /&gt;
* [[Media:Kr_rules1.pdf|Rules and logic: refresher]] and as [[Media:Kr_rules1.ppt|ppt]]&lt;br /&gt;
&lt;br /&gt;
Topics:&lt;br /&gt;
&lt;br /&gt;
* propositional, first order, higher order&lt;br /&gt;
* semantics/models&lt;br /&gt;
* proofs and deriving new information&lt;br /&gt;
* automated reasoning&lt;br /&gt;
&lt;br /&gt;
See also:&lt;br /&gt;
&lt;br /&gt;
* [[Media:Geoffreasoningnotes.pdf|Geoff reasoning course notes: just for background, no questions in exam]]&lt;br /&gt;
* [http://www.ee.pdx.edu/~mperkows/May4/005.Ch11-planning.ppt planning and blocks world]&lt;br /&gt;
* [[blocks world axiom/query examples from lecture]]&lt;br /&gt;
&lt;br /&gt;
=== Various rule/logic languages ===&lt;br /&gt;
&lt;br /&gt;
Lecture material:&lt;br /&gt;
* [[Media:Kr_rdfs.pdf|RDFS: rdf schema]] and as [[Media:Kr_rdfs.ppt|ppt]]&lt;br /&gt;
* [[Notes about RDF and OWL: logical meaning]]&lt;br /&gt;
&lt;br /&gt;
Several languages:&lt;br /&gt;
* RDFS&lt;br /&gt;
* OWL&lt;br /&gt;
* KIF &lt;br /&gt;
* CL &lt;br /&gt;
* ontologies&lt;br /&gt;
* wordnet&lt;br /&gt;
* cyc&lt;br /&gt;
* restricted english systems&lt;br /&gt;
&lt;br /&gt;
See also:&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Resource_Description_Framework RDF wikipedia]&lt;br /&gt;
* [http://www.w3.org/TR/rdf-primer/ w3c RDF primer]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Web_Ontology_Language OWL wikipedia]&lt;br /&gt;
* [http://www.w3.org/TR/owl-guide/ w3c OWL guide]&lt;br /&gt;
* [http://cl.tamu.edu/ CL main page], &lt;br /&gt;
* [http://attempto.ifi.unizh.ch/site/pubs/papers/phd_kaljurand.pdf Attempto restricted english]&lt;br /&gt;
&lt;br /&gt;
=== Scraping semistructured data ===&lt;br /&gt;
&lt;br /&gt;
* Example for background: http://www.sightsmap.com/&lt;br /&gt;
&lt;br /&gt;
=== Time, context, metainformation ===&lt;br /&gt;
&lt;br /&gt;
=== Probabilistic and nonmonotonic reasoning ===&lt;br /&gt;
&lt;br /&gt;
See also:&lt;br /&gt;
* [http://plato.stanford.edu/entries/logic-nonmonotonic/ nonmonotonic logic]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Default_logic default logic]&lt;br /&gt;
&lt;br /&gt;
=== Personalized search and recommendations ===&lt;br /&gt;
&lt;br /&gt;
=== Fast search of facts and rules using indexing ===&lt;br /&gt;
&lt;br /&gt;
* [http://www.lambda.ee/index.php/Pilt:IndexNotes04.ppt G. Molina lecture 4]&lt;br /&gt;
* [http://www.lambda.ee/index.php/Pilt:IndexNotes05.ppt G. Molina lecture 5]&lt;br /&gt;
* [http://www.lambda.ee/index.php/Pilt:Fulltext_indexes.ppt good intro and overview]&lt;br /&gt;
* [http://www.lambda.ee/index.php/Pilt:Mccuneindexing.pdf mccune paper about term indexes]&lt;br /&gt;
&lt;br /&gt;
=== Learning ===&lt;br /&gt;
&lt;br /&gt;
See also:&lt;br /&gt;
&lt;br /&gt;
* [http://www.cs.toronto.edu/~hinton/csc2515/notes/lec1.ppt intro]&lt;br /&gt;
* [http://gamma.cs.unc.edu/rob-course/public_html/LEC/MachineLearningMethods.ppt robots/cars]&lt;br /&gt;
* [http://www.cs.toronto.edu/~hinton/csc2515/notes/lec4.ppt backpropagation]&lt;br /&gt;
* [http://www.cs.toronto.edu/~hinton/csc2515/lectures.html good set of lecture materials]&lt;br /&gt;
* [http://www.cs.cmu.edu/~tom/mlbook-chapter-slides.html another good full set of lecture materials]&lt;br /&gt;
** sh [http://www.cs.cmu.edu/afs/cs.cmu.edu/project/theo-20/www/mlbook/ch4.pdf neural netw chapter]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
=== Learning ===&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
&lt;br /&gt;
* [http://www.cs.toronto.edu/~hinton/csc2515/notes/lec1.ppt intro]&lt;br /&gt;
* [http://gamma.cs.unc.edu/rob-course/public_html/LEC/MachineLearningMethods.ppt robots/cars]&lt;br /&gt;
* [http://www.cs.toronto.edu/~hinton/csc2515/notes/lec4.ppt backpropagation]&lt;br /&gt;
* [http://www.cs.toronto.edu/~hinton/csc2515/lectures.html good set of lecture materials]&lt;br /&gt;
* [http://www.cs.cmu.edu/~tom/mlbook-chapter-slides.html another good full set of lecture materials]&lt;br /&gt;
** sh [http://www.cs.cmu.edu/afs/cs.cmu.edu/project/theo-20/www/mlbook/ch4.pdf neural netw chapter]&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Kursus]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;owl:Class rdf:ID=&amp;quot;sugu&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;rdfs:subClassOf&amp;gt;&lt;br /&gt;
    &amp;lt;owl:Restriction&amp;gt;&lt;br /&gt;
      &amp;lt;owl:onProperty rdf:resource=&amp;quot;sugu&amp;quot; /&amp;gt;&lt;br /&gt;
      &amp;lt;owl:allValuesFrom rdf:resource=&amp;quot;sugu&amp;quot; /&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:Restriction&amp;gt;&lt;br /&gt;
  &amp;lt;/rdfs:subClassOf&amp;gt;&lt;br /&gt;
&amp;lt;/owl:Class&amp;gt;   &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Kalle</name></author>
	</entry>
	<entry>
		<id>http://www.lambda.ee/w/index.php?title=Teadmiste_otsing,_formaliseerimine_ja_hoidmine&amp;diff=6714</id>
		<title>Teadmiste otsing, formaliseerimine ja hoidmine</title>
		<link rel="alternate" type="text/html" href="http://www.lambda.ee/w/index.php?title=Teadmiste_otsing,_formaliseerimine_ja_hoidmine&amp;diff=6714"/>
		<updated>2012-02-20T16:13:08Z</updated>

		<summary type="html">&lt;p&gt;Kalle: /* First lab */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;table&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
[[Pilt:Mephistophiles small.gif| left|teadmised]] &lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
Code: &amp;lt;b&amp;gt;ITV0060&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Link: http://www.lambda.ee/index.php/Teadmiste_otsing,_formaliseerimine_ja_hoidmine  or http://www.lambda.ee/index/itv0060&amp;lt;br&amp;gt;&lt;br /&gt;
Lecturer: Tanel Tammet&amp;lt;br&amp;gt;&lt;br /&gt;
Contact: tammet@staff.ttu.ee, 6203457, TTÜ AK223&amp;lt;br&amp;gt;&lt;br /&gt;
Archives of previous years: [[itv0060 2011 arhiiv|2011]], [[itv0060 20010 arhiiv|2010]], [[itv0060 2009 arhiiv|2009]], [[itv0060 2008 arhiiv|2008]], [[itv0060 2007 arhiiv|2007]],   [[itv0060 2006 arhiiv|2006]], [http:/cs.ttu.ee/kursused/wav4130/ older].&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Time, place, result ==&lt;br /&gt;
&lt;br /&gt;
Semester: spring&amp;lt;br&amp;gt;&lt;br /&gt;
Grading: exam&amp;lt;br&amp;gt;&lt;br /&gt;
Points: 3.5&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Lectures: every Monday 12.00-13.30, room IT-137a&amp;lt;br&amp;gt;&lt;br /&gt;
Practical work: Mondays on odd weeks 10.00-11.30, room IT-213H:&amp;lt;br&amp;gt;31 jan, 14 feb, 28 feb, 14 mar, 28 mar, 4 apr, 18 apr, 2 may, 16 may.&lt;br /&gt;
&lt;br /&gt;
Practical work will give 40% and exam 60% of points underlying the final grade.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;Järeleksam 2011 sügis&amp;lt;/font&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Järeleksam toimub 26 august (reede): kell 10 auditoorium IT-137a &lt;br /&gt;
&lt;br /&gt;
== Eksam ja konsultatsioon ==&lt;br /&gt;
&lt;br /&gt;
16. mai: eksamiks õppimise materjalide ülevaade ja fikseerimine.&lt;br /&gt;
&lt;br /&gt;
Eksam:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
järeleksam 15 juuni (kolmapäev): kell 9 auditoorium IT-137a&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;15 juuni tulemused:&amp;lt;/font&amp;gt;, eksamipunktid viidud 0-60 skaalale:&lt;br /&gt;
* HP eksam 52p + 40p ettekanded, hinne 5&lt;br /&gt;
* GJ eksam 31p + 32p ettekanded, hinne 2&lt;br /&gt;
&lt;br /&gt;
3 juuni (reede): kell 9 auditoorium VI-121&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;3 juuni tulemused:&amp;lt;/font&amp;gt;, eksamipunktid viidud 0-60 skaalale:&lt;br /&gt;
* TT eksam 36p + 40p ettekanded, hinne 3&lt;br /&gt;
* RL eksam 40p + 40p ettekanded, hinne 4&lt;br /&gt;
* HP eksam 28p + 40p ettekanded, hinne 2&lt;br /&gt;
* VP eksam 22p + 40p ettekanded, hinne 2&lt;br /&gt;
* DA eksam 57p + 40p ettekanded, hinne 5&lt;br /&gt;
&lt;br /&gt;
8 juuni (kolmapäev): kell 9 auditoorium VII-131&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;8 juuni tulemused:&amp;lt;/font&amp;gt;, eksamipunktid viidud 0-60 skaalale:&lt;br /&gt;
* KL eksam 60p + 40p ettekanded, hinne 5&lt;br /&gt;
* ML eksam 51p + 40p ettekanded, hinne 5&lt;br /&gt;
* ET eksam 48p + 30p ettekanded, hinne 3&lt;br /&gt;
* DF eksam 58p + 40p ettekanded, hinne 5&lt;br /&gt;
&lt;br /&gt;
Järeleksam kevadel:&lt;br /&gt;
&lt;br /&gt;
* 15 juuni (kolmapäev): kell 9 auditoorium IT-137a&lt;br /&gt;
&lt;br /&gt;
== Practical work ==&lt;br /&gt;
&lt;br /&gt;
There are two labs on the same theme and an optional third lab.&lt;br /&gt;
&lt;br /&gt;
=== First lab === &lt;br /&gt;
&lt;br /&gt;
The main goal of the first lab is to web-scrape data from the public sources using search engines and simple text analysis/statistics.  &lt;br /&gt;
&lt;br /&gt;
Details in [[Teadmised first lab 2011|Teadmised first lab]]. The lab should be completed by March, later presentation will cut the points to half.&lt;br /&gt;
&lt;br /&gt;
=== Second lab ===&lt;br /&gt;
&lt;br /&gt;
The main goal of the second lab is to augment data obtained from the first lab by writing and using probabilistic rules with a rule engine. &lt;br /&gt;
&lt;br /&gt;
Details in [[Teadmised second lab 2011]].&lt;br /&gt;
&lt;br /&gt;
=== Optional third lab ===&lt;br /&gt;
&lt;br /&gt;
The optional third lab can be done in parallel with the second. It will be a relatively complex lab: successful passing will give additional 20 points, thus the weight of the exam is diminished from 60% to 40% of the overall score. &lt;br /&gt;
&lt;br /&gt;
What to do: use Attempto to create a system such that you can write rules and/or facts and/or queries for the second lab in restricted english. These restricted english sentences have to be automatically converted to the form usable by Otter. It is a good idea to avoid probabilities in these rules, since it would be very hard to encode probabilities using attempto.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
See: http://attempto.ifi.uzh.ch/site/ , http://attempto.ifi.uzh.ch/ape/&lt;br /&gt;
&lt;br /&gt;
== Materials to study for the exam ==&lt;br /&gt;
&lt;br /&gt;
Eksamiküsimused:&lt;br /&gt;
&lt;br /&gt;
Väikesed ülesanded: data ja reeglite&lt;br /&gt;
esitamine ja kasutamine&lt;br /&gt;
&lt;br /&gt;
Andmebaas nö tüüpilise relatsioonilise&lt;br /&gt;
mudelina, key-value ja rdf kujul&lt;br /&gt;
&lt;br /&gt;
Ülesanne blocks worldist: esita mingi&lt;br /&gt;
olukord, mingi reegel ja näita rakendamise&lt;br /&gt;
tulemust&lt;br /&gt;
&lt;br /&gt;
RDF, RDFS ja OWL põhiasjad: väike&lt;br /&gt;
ülesanne. Süntaksid ja eridetailid&lt;br /&gt;
ei ole olulised.&lt;br /&gt;
&lt;br /&gt;
RDF ja RDFS esitada loogikas&lt;br /&gt;
faktide ja reeglitena, mõni&lt;br /&gt;
lihtne OWLi näide võib ka olla&lt;br /&gt;
&lt;br /&gt;
Arusaamine RDFa põhiasjadest, oskus&lt;br /&gt;
teha näidet.&lt;br /&gt;
&lt;br /&gt;
MÕni üldküsimus Nelli ja Attempto&lt;br /&gt;
kohta.&lt;br /&gt;
&lt;br /&gt;
Arusaam et mis on mittemonotoonne &lt;br /&gt;
loogika ja mis ei ole, mis oleks&lt;br /&gt;
viisid esitada vasturääkivaid&lt;br /&gt;
teadmisi. Võib olla väike ülesanne&lt;br /&gt;
mingite asjade esitamise kohta: näide&lt;br /&gt;
ja selgitus.&lt;br /&gt;
&lt;br /&gt;
Default loogika ülesanne a la linnud&lt;br /&gt;
ja Quaker diamond: panna kirja reeglid&lt;br /&gt;
ja viia läbi järeldused ja vbl selgitada&lt;br /&gt;
lisaks. Seos CWA, Prolog ja default loogika&lt;br /&gt;
vahel võib samuti küsimuse alla tulla.&lt;br /&gt;
&lt;br /&gt;
Indeksid: arusaam baasindekseerimis-ideedest&lt;br /&gt;
ja B+ treest. Ntx ehitada B+ mingi&lt;br /&gt;
väikese datahulga jaoks. Sama hashi kohta&lt;br /&gt;
ja bit indeksite kohta. Eriteemad a la&lt;br /&gt;
indeksi pakkimine ja erinevad hashi&lt;br /&gt;
viisid ei tule teemaks.&lt;br /&gt;
&lt;br /&gt;
Täistekstiindeksid: osata ehitada näite&lt;br /&gt;
pealt. Vt presentatsioonist erinevaid&lt;br /&gt;
viise, ntx Patricia trie.&lt;br /&gt;
&lt;br /&gt;
Termiindeksid: piisab discrimination&lt;br /&gt;
tree indeksist ja näite põhjal&lt;br /&gt;
indeksi ehitamisest.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Declarative and procedural representations ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Lecture material:&lt;br /&gt;
* [[Media:Kr intro.ppt | Intro lecture: declarative and procedural representations]]&lt;br /&gt;
&lt;br /&gt;
=== Databases: meaning and representation of facts ===&lt;br /&gt;
&lt;br /&gt;
* [[Media:Kr_plain_data_db_logic.ppt | relation of plain data in databases to logic &amp;amp; representing complex structures in databases ]]&lt;br /&gt;
* [[Media:Kr_rdf_schemalessdb_3.pdf|key/value pairs and rdf, compared to the relational model]] &lt;br /&gt;
&lt;br /&gt;
=== Rules in logic: apps in planning, robotics, ... ===&lt;br /&gt;
&lt;br /&gt;
Lecture material:&lt;br /&gt;
* [[Media:Kr_rules1.pdf|Rules and logic: refresher]] and as [[Media:Kr_rules1.ppt|ppt]]&lt;br /&gt;
&lt;br /&gt;
See also:&lt;br /&gt;
&lt;br /&gt;
* [[Media:Geoffreasoningnotes.pdf|Geoff reasoning course notes: just for background, no questions in exam]]&lt;br /&gt;
* [http://www.ee.pdx.edu/~mperkows/May4/005.Ch11-planning.ppt planning and blocks world]&lt;br /&gt;
* [[blocks world axiom/query examples from lecture]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== RDF, RDFS, OWL and conversion to 1st order logic ===&lt;br /&gt;
&lt;br /&gt;
Lecture material:&lt;br /&gt;
* [[Media:Kr_rdfs.pdf|RDFS: rdf schema]] and as [[Media:Kr_rdfs.ppt|ppt]]&lt;br /&gt;
&lt;br /&gt;
Understand RDF and RDFS:&lt;br /&gt;
&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Resource_Description_Framework RDF wikipedia]&lt;br /&gt;
* [http://www.w3.org/TR/rdf-primer/ w3c RDF primer]&lt;br /&gt;
&lt;br /&gt;
Understand basics of owl:&lt;br /&gt;
&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Web_Ontology_Language OWL wikipedia]&lt;br /&gt;
* [http://www.w3.org/TR/owl-guide/ w3c OWL guide]&lt;br /&gt;
&lt;br /&gt;
=== RDFa, reading and using RDF data from web pages ===&lt;br /&gt;
&lt;br /&gt;
Understand main parts:&lt;br /&gt;
&lt;br /&gt;
* [http://en.wikipedia.org/wiki/RDFa wiki intro]&lt;br /&gt;
* [[Media:portaalidekoosvoime.ppt]] or as pdf [[Media:portaalidekoosvoime.pdf]] &lt;br /&gt;
* [http://www.w3.org/2006/07/SWD/RDFa/primer/ w3c rdfa primer]&lt;br /&gt;
&lt;br /&gt;
=== RDF relation to logic ===&lt;br /&gt;
&lt;br /&gt;
Notes from lecture:&lt;br /&gt;
* [[Notes about RDF and OWL: logical meaning]]&lt;br /&gt;
&lt;br /&gt;
Understand a bit of:&lt;br /&gt;
* [http://www.w3.org/TR/2003/NOTE-lbase-20031010/ Hayes &amp;amp; Guha Lbase]&lt;br /&gt;
&lt;br /&gt;
=== Semantics of ordinary relational base === &lt;br /&gt;
&lt;br /&gt;
* [http://cs.ttu.ee/kursused/wav4130/rdftutapp.pdf rdf tutorial addendum for logic and dbases]&lt;br /&gt;
&lt;br /&gt;
===  First order logic in query engines and planning ===&lt;br /&gt;
&lt;br /&gt;
* [[Media:Geoffreasoningnotes.pdf|Geoff reasoning course notes: just for background, no questions in exam]]&lt;br /&gt;
* [http://www.ee.pdx.edu/~mperkows/May4/005.Ch11-planning.ppt planning and blocks world]&lt;br /&gt;
* [[blocks world axiom/query examples from lecture]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Data extraction ===&lt;br /&gt;
&lt;br /&gt;
Web mining by Nell:&lt;br /&gt;
* [http://rtw.ml.cmu.edu/rtw/ Nell]&lt;br /&gt;
&lt;br /&gt;
===  Restricted english jms ===&lt;br /&gt;
&lt;br /&gt;
* [http://attempto.ifi.unizh.ch/site/pubs/papers/phd_kaljurand.pdf Attempto restricted english]&lt;br /&gt;
&lt;br /&gt;
=== Uncertain knowledge logic ===&lt;br /&gt;
&lt;br /&gt;
* [http://plato.stanford.edu/entries/logic-nonmonotonic/ nonmonotonic logic]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Default_logic default logic]&lt;br /&gt;
* [http://sc.snu.ac.kr/courses/2008/spring/pg/krr/Lectures/Lecture11/Lec11.ppt Reasoning with Conflicting Knowledge]&lt;br /&gt;
&lt;br /&gt;
=== Indexes ===&lt;br /&gt;
&lt;br /&gt;
Traditional database indexes incl B+ tree:&lt;br /&gt;
* [http://www.lambda.ee/index.php/Pilt:IndexNotes04.ppt G. Molina lecture 4]&lt;br /&gt;
&lt;br /&gt;
Bitmap indexes:&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Bitmap_index wiki]&lt;br /&gt;
&lt;br /&gt;
Hash indexes:&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Hash_table wiki]&lt;br /&gt;
&lt;br /&gt;
Fulltext indexes:&lt;br /&gt;
* [http://www.lambda.ee/index.php/Pilt:Fulltext_indexes.ppt good intro and overview]&lt;br /&gt;
&lt;br /&gt;
Term indexes:&lt;br /&gt;
Understand basics of discrimination tree trie-type term indexes and path indexes from&lt;br /&gt;
* [http://www.lambda.ee/index.php/Pilt:Mccuneindexing.pdf mccune paper]&lt;br /&gt;
&lt;br /&gt;
== Course structure ==&lt;br /&gt;
&lt;br /&gt;
We start with representing and converting facts, continue to rules, first monotonic, then probabilistic and nonmonotonic, then look into search and indexing of complex information, and finally, some learning.&lt;br /&gt;
&lt;br /&gt;
=== Intro and paradigms of knowledge representation ===&lt;br /&gt;
&lt;br /&gt;
Lecture materials:&lt;br /&gt;
* [[Media:Kr intro.ppt | Intro lecture: declarative and procedural representations]]&lt;br /&gt;
* [http://dl.dropbox.com/u/11794296/roboswarm_saso_2.pdf roboswarm example of combining dec and proc]&lt;br /&gt;
&lt;br /&gt;
For KR, declarative and procedural rep see:&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Knowledge_representation Short wiki overview of knowledge representation]&lt;br /&gt;
* [http://groups.csail.mit.edu/medg/ftp/psz/k-rep.html Long and philosophical MIT overview of knowledge representation]&lt;br /&gt;
* [http://www.cse.buffalo.edu/~rapaport/676/F01/proc.decl.html Pointers to classical papers]&lt;br /&gt;
* [http://www.cogarch.org/index.php/Main_Page A Survey of Cognitive and Agent Architectures]&lt;br /&gt;
* [ftp://reports.stanford.edu/pub/cstr/reports/cs/tr/76/581/CS-TR-76-581.pdf Classical KRL paper from 1977: Bobrow &amp;amp; Winograd]&lt;br /&gt;
Web mining by Nell:&lt;br /&gt;
* [http://rtw.ml.cmu.edu/rtw/ Nell]&lt;br /&gt;
* [http://www.cs.cmu.edu/~rcwang/ Richard Wang]&lt;br /&gt;
* [http://www.boowa.com/ boowa extractor]&lt;br /&gt;
&lt;br /&gt;
=== Databases: meaning and representation of facts ===&lt;br /&gt;
&lt;br /&gt;
Lecture material:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- * [[Media:Kr_plain_data_db_logic_draft.ppt|logic and databases intro draft]] --&amp;gt;&lt;br /&gt;
* [[Media:Kr_plain_data_db_logic.ppt | relation of plain data in databases to logic &amp;amp; representing complex structures in databases ]]&lt;br /&gt;
&amp;lt;!-- * [[Media:Kr_prop_val_pairs.ppt|property/value pairs]] --&amp;gt;&lt;br /&gt;
* [[Media:Kr_rdf_schemalessdb_3.pdf|key/value pairs and rdf, compared to the relational model]] &lt;br /&gt;
&lt;br /&gt;
See also about databases and logic:&lt;br /&gt;
&lt;br /&gt;
* [http://www.cs.rice.edu/~tlogic/Database/all-lectures.pdf Logic and Database Queries (readable)]&lt;br /&gt;
* [http://magenta.ruc.dk/dat_en/research/reports/127.pdf logic in databases workshop (complex stuff)]&lt;br /&gt;
&lt;br /&gt;
See also about RDF and related:&lt;br /&gt;
&lt;br /&gt;
* [http://cs.ttu.ee/kursused/wav4130/rdftutapp.pdf rdf tutorial addendum for logic and dbases]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Resource_Description_Framework RDF wikipedia]&lt;br /&gt;
* [http://www.w3.org/TR/rdf-primer/ w3c RDF primer]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/RDFa wiki intro]&lt;br /&gt;
* [[Media:portaalidekoosvoime.ppt]] or as pdf [[Media:portaalidekoosvoime.pdf]] &lt;br /&gt;
* [http://www.w3.org/2006/07/SWD/RDFa/primer/ w3c rdfa primer]&lt;br /&gt;
* [http://tripletalk.wordpress.com/2011/01/25/rdfa-deployment-across-the-web/ rdfa and microformats deployment now]&lt;br /&gt;
* [http://www.microformats.org microformats: a similar technology]&lt;br /&gt;
* [http://www.w3.org/TR/2003/NOTE-lbase-20031010/ Hayes &amp;amp; Guha Lbase]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Rules in logic: apps in planning, robotics, ... ===&lt;br /&gt;
&lt;br /&gt;
Lecture material:&lt;br /&gt;
* [[Media:Kr_rules1.pdf|Rules and logic: refresher]] and as [[Media:Kr_rules1.ppt|ppt]]&lt;br /&gt;
&lt;br /&gt;
Topics:&lt;br /&gt;
&lt;br /&gt;
* propositional, first order, higher order&lt;br /&gt;
* semantics/models&lt;br /&gt;
* proofs and deriving new information&lt;br /&gt;
* automated reasoning&lt;br /&gt;
&lt;br /&gt;
See also:&lt;br /&gt;
&lt;br /&gt;
* [[Media:Geoffreasoningnotes.pdf|Geoff reasoning course notes: just for background, no questions in exam]]&lt;br /&gt;
* [http://www.ee.pdx.edu/~mperkows/May4/005.Ch11-planning.ppt planning and blocks world]&lt;br /&gt;
* [[blocks world axiom/query examples from lecture]]&lt;br /&gt;
&lt;br /&gt;
=== Various rule/logic languages ===&lt;br /&gt;
&lt;br /&gt;
Lecture material:&lt;br /&gt;
* [[Media:Kr_rdfs.pdf|RDFS: rdf schema]] and as [[Media:Kr_rdfs.ppt|ppt]]&lt;br /&gt;
* [[Notes about RDF and OWL: logical meaning]]&lt;br /&gt;
&lt;br /&gt;
Several languages:&lt;br /&gt;
* RDFS&lt;br /&gt;
* OWL&lt;br /&gt;
* KIF &lt;br /&gt;
* CL &lt;br /&gt;
* ontologies&lt;br /&gt;
* wordnet&lt;br /&gt;
* cyc&lt;br /&gt;
* restricted english systems&lt;br /&gt;
&lt;br /&gt;
See also:&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Resource_Description_Framework RDF wikipedia]&lt;br /&gt;
* [http://www.w3.org/TR/rdf-primer/ w3c RDF primer]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Web_Ontology_Language OWL wikipedia]&lt;br /&gt;
* [http://www.w3.org/TR/owl-guide/ w3c OWL guide]&lt;br /&gt;
* [http://cl.tamu.edu/ CL main page], &lt;br /&gt;
* [http://attempto.ifi.unizh.ch/site/pubs/papers/phd_kaljurand.pdf Attempto restricted english]&lt;br /&gt;
&lt;br /&gt;
=== Scraping semistructured data ===&lt;br /&gt;
&lt;br /&gt;
* Example for background: http://www.sightsmap.com/&lt;br /&gt;
&lt;br /&gt;
=== Time, context, metainformation ===&lt;br /&gt;
&lt;br /&gt;
=== Probabilistic and nonmonotonic reasoning ===&lt;br /&gt;
&lt;br /&gt;
See also:&lt;br /&gt;
* [http://plato.stanford.edu/entries/logic-nonmonotonic/ nonmonotonic logic]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Default_logic default logic]&lt;br /&gt;
&lt;br /&gt;
=== Personalized search and recommendations ===&lt;br /&gt;
&lt;br /&gt;
=== Fast search of facts and rules using indexing ===&lt;br /&gt;
&lt;br /&gt;
* [http://www.lambda.ee/index.php/Pilt:IndexNotes04.ppt G. Molina lecture 4]&lt;br /&gt;
* [http://www.lambda.ee/index.php/Pilt:IndexNotes05.ppt G. Molina lecture 5]&lt;br /&gt;
* [http://www.lambda.ee/index.php/Pilt:Fulltext_indexes.ppt good intro and overview]&lt;br /&gt;
* [http://www.lambda.ee/index.php/Pilt:Mccuneindexing.pdf mccune paper about term indexes]&lt;br /&gt;
&lt;br /&gt;
=== Learning ===&lt;br /&gt;
&lt;br /&gt;
See also:&lt;br /&gt;
&lt;br /&gt;
* [http://www.cs.toronto.edu/~hinton/csc2515/notes/lec1.ppt intro]&lt;br /&gt;
* [http://gamma.cs.unc.edu/rob-course/public_html/LEC/MachineLearningMethods.ppt robots/cars]&lt;br /&gt;
* [http://www.cs.toronto.edu/~hinton/csc2515/notes/lec4.ppt backpropagation]&lt;br /&gt;
* [http://www.cs.toronto.edu/~hinton/csc2515/lectures.html good set of lecture materials]&lt;br /&gt;
* [http://www.cs.cmu.edu/~tom/mlbook-chapter-slides.html another good full set of lecture materials]&lt;br /&gt;
** sh [http://www.cs.cmu.edu/afs/cs.cmu.edu/project/theo-20/www/mlbook/ch4.pdf neural netw chapter]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
=== Learning ===&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
&lt;br /&gt;
* [http://www.cs.toronto.edu/~hinton/csc2515/notes/lec1.ppt intro]&lt;br /&gt;
* [http://gamma.cs.unc.edu/rob-course/public_html/LEC/MachineLearningMethods.ppt robots/cars]&lt;br /&gt;
* [http://www.cs.toronto.edu/~hinton/csc2515/notes/lec4.ppt backpropagation]&lt;br /&gt;
* [http://www.cs.toronto.edu/~hinton/csc2515/lectures.html good set of lecture materials]&lt;br /&gt;
* [http://www.cs.cmu.edu/~tom/mlbook-chapter-slides.html another good full set of lecture materials]&lt;br /&gt;
** sh [http://www.cs.cmu.edu/afs/cs.cmu.edu/project/theo-20/www/mlbook/ch4.pdf neural netw chapter]&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Kursus]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;owl:Class rdf:ID=&amp;quot;sugu&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;rdfs:subClassOf&amp;gt;&lt;br /&gt;
    &amp;lt;owl:Restriction&amp;gt;&lt;br /&gt;
      &amp;lt;owl:onProperty rdf:resource=&amp;quot;sugu&amp;quot; /&amp;gt;&lt;br /&gt;
      &amp;lt;owl:allValuesFrom rdf:resource=&amp;quot;sugu&amp;quot; /&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:Restriction&amp;gt;&lt;br /&gt;
  &amp;lt;/rdfs:subClassOf&amp;gt;&lt;br /&gt;
&amp;lt;/owl:Class&amp;gt;   &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Kalle</name></author>
	</entry>
	<entry>
		<id>http://www.lambda.ee/w/index.php?title=Teadmised_first_lab_2012&amp;diff=6715</id>
		<title>Teadmised first lab 2012</title>
		<link rel="alternate" type="text/html" href="http://www.lambda.ee/w/index.php?title=Teadmised_first_lab_2012&amp;diff=6715"/>
		<updated>2012-02-20T16:12:32Z</updated>

		<summary type="html">&lt;p&gt;Kalle: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The main goal of the first lab is to web-scrape uncertain data from the public sources using search engines and simple text analysis/statistics. &lt;br /&gt;
&lt;br /&gt;
== Conditions ==&lt;br /&gt;
&lt;br /&gt;
You can do the lab either alone or together with a fellow student. Three students per lab is not ok, though.&lt;br /&gt;
&lt;br /&gt;
Technology - language, op system etc - is completely free.&lt;br /&gt;
&lt;br /&gt;
== What should the app do ==&lt;br /&gt;
&lt;br /&gt;
Your system should take as input a list of arbitrary investigated objects like &amp;quot;Tower Bridge&amp;quot;, &amp;quot;Statue of Liberty&amp;quot;, &amp;quot;Tallinna raekoda&amp;quot;, &amp;quot;Olde hansa&amp;quot;, &amp;quot;Tallinn University of Technology&amp;quot;, &amp;quot;Andrus Ansip&amp;quot;, &amp;quot;Ford focus&amp;quot;, &amp;quot;inception&amp;quot; and use web search and web-scraping to obtain probabilistic data about the objects. We look for &lt;br /&gt;
&lt;br /&gt;
* popularity (search hits)&lt;br /&gt;
* object type (building, church, tower, landmark, person, car, ...)&lt;br /&gt;
* creation year (building year, birthdate, year of introduction to market, ...)&lt;br /&gt;
* other often-used characteristic words/tags (steeple, national, medieval, academic, peaminister, thriller, ...)&lt;br /&gt;
&lt;br /&gt;
The data should be augmented by a numeric confidence measure (0....1) indicating rough trust in the result. The confidence is mostly based on the percentage of investigated pages/sources giving this result, as well as a perceived quality of the data source (like: wikipedia has high quality, arbitrary pages low).&lt;br /&gt;
&lt;br /&gt;
In order to get the list of pages to web scrape you should do several searches, selecting from / using in parallel&lt;br /&gt;
&lt;br /&gt;
* wikipedia search&lt;br /&gt;
* wolfram alpha search&lt;br /&gt;
* google or bing (or some other) web search&lt;br /&gt;
&lt;br /&gt;
The results should be scraped. Use a different scraping method for semistructured data (wikipedia, wolfram alpha) and unstructured data (arbitrary web pages). For the latter it makes sense to split the page into sentences (just use period . as a separator) and look for sentences containing the investigated phrase. What other words does it contain? What numbers does it contain?&lt;br /&gt;
&lt;br /&gt;
After scraping N pages for the same phrase, look for the most highly occurring type words, year numbers, other tags.&lt;br /&gt;
&lt;br /&gt;
== Hints and suggestions ==&lt;br /&gt;
&lt;br /&gt;
While developing, it is easier to use a pre-stored search result/wikipedia page and pre-stored set of pages instead of doing full search and download each time.&lt;br /&gt;
&lt;br /&gt;
However, the system should finally work with any phrases, meaning that the pre-loaded data cannot be normally used.&lt;br /&gt;
&lt;br /&gt;
Interesting links and ideas: sophisticated systems. &lt;br /&gt;
&lt;br /&gt;
Nell:&lt;br /&gt;
* [http://rtw.ml.cmu.edu/rtw/ Nell]&lt;br /&gt;
* [http://www.cs.cmu.edu/~rcwang/ Richard Wang]&lt;br /&gt;
* [http://www.boowa.com/ boowa extractor]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Peter Norvigi&lt;br /&gt;
[http://www.nypost.com/p/news/opinion/opedcolumnists/the_machine_age_tM7xPAv4pI4JslK0M1JtxI/2 artikkel statistikapõhisest rakenduslikust tehismõistusest]&lt;br /&gt;
&lt;br /&gt;
Scrapimisframeworke:&lt;br /&gt;
* [http://scraperwiki.com/ scraperite üldportaal]&lt;br /&gt;
* [http://scrapy.org scrapy (python)]&lt;br /&gt;
* [http://web-harvest.sourceforge.net/ wb-harvest (java)]&lt;br /&gt;
&lt;br /&gt;
Other:&lt;br /&gt;
* http://www.cs.uic.edu/~liub/WebMiningBook.html&lt;br /&gt;
* http://www.frenchlane.com/Web-Content-Mining-4.pdf&lt;br /&gt;
* http://www.cs.uic.edu/~liub/teach/cs511-spring-06/CS511-opinion-synthesis.ppt&lt;br /&gt;
* http://www.cato.org/pubs/pas/pa584.pdf&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Kuidas alustada ==&lt;br /&gt;
&lt;br /&gt;
Ükski neist soovitustest pole kohustuslik, aga aitavad, kui oled segaduses:&lt;br /&gt;
&lt;br /&gt;
* Tuttav progekeel java/python&lt;br /&gt;
&lt;br /&gt;
* Teha rakendus mis tombab alla google otsingu tulemuse. Kolm võimalikku varianti, parem eelista seda, mis neist tundub sulle lihtsam (alltoodud järjekord ongi tõenäoline lihtsuse järjekord):&lt;br /&gt;
     &lt;br /&gt;
** html: headerisse ntx firefoxi user agent a la &lt;br /&gt;
&lt;br /&gt;
         User-Agent:  Mozilla/5.0 (Windows; U; &lt;br /&gt;
         Windows NT 6.1; ru; rv:1.9.2b5)   &lt;br /&gt;
         Gecko/20091204 Firefox/3.6b5&lt;br /&gt;
** vana api&lt;br /&gt;
** uus api&lt;br /&gt;
&lt;br /&gt;
* Kui google leht käes (mistahes apiga)siis tee proge osa mis otsib lehelt kõik viidatud lingid. Trüki kontrolliks välja.&lt;br /&gt;
   &lt;br /&gt;
* Seejärel tõmba järjest endale kõik viidatud  lehed. Saveda pole vaja. Trüki kontrolliks välja.&lt;br /&gt;
&lt;br /&gt;
* Lisa tõmbamise koodile lehe source töötlus:&lt;br /&gt;
** spliti punktide järgi.&lt;br /&gt;
** otsi laused sinu otsisõnaga.&lt;br /&gt;
** loe kokku eri sõnad lauses ja save globaalsesse baasi a la &lt;br /&gt;
     car: 1&lt;br /&gt;
     wheels: 2 &lt;br /&gt;
     jne&lt;br /&gt;
** iga lehe järel muutuvad sõnade arvud baasis suuremaks&lt;br /&gt;
&lt;br /&gt;
* Seejärel läheb asi huvitamaks ja keerulisemaks, samas on sul juba tekkinud intuitsioon, kuidas edasi.&lt;/div&gt;</summary>
		<author><name>Kalle</name></author>
	</entry>
	<entry>
		<id>http://www.lambda.ee/w/index.php?title=Teadmiste_otsing,_formaliseerimine_ja_hoidmine&amp;diff=6713</id>
		<title>Teadmiste otsing, formaliseerimine ja hoidmine</title>
		<link rel="alternate" type="text/html" href="http://www.lambda.ee/w/index.php?title=Teadmiste_otsing,_formaliseerimine_ja_hoidmine&amp;diff=6713"/>
		<updated>2012-02-20T16:12:15Z</updated>

		<summary type="html">&lt;p&gt;Kalle: /* First lab */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;table&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
[[Pilt:Mephistophiles small.gif| left|teadmised]] &lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
Code: &amp;lt;b&amp;gt;ITV0060&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Link: http://www.lambda.ee/index.php/Teadmiste_otsing,_formaliseerimine_ja_hoidmine  or http://www.lambda.ee/index/itv0060&amp;lt;br&amp;gt;&lt;br /&gt;
Lecturer: Tanel Tammet&amp;lt;br&amp;gt;&lt;br /&gt;
Contact: tammet@staff.ttu.ee, 6203457, TTÜ AK223&amp;lt;br&amp;gt;&lt;br /&gt;
Archives of previous years: [[itv0060 2011 arhiiv|2011]], [[itv0060 20010 arhiiv|2010]], [[itv0060 2009 arhiiv|2009]], [[itv0060 2008 arhiiv|2008]], [[itv0060 2007 arhiiv|2007]],   [[itv0060 2006 arhiiv|2006]], [http:/cs.ttu.ee/kursused/wav4130/ older].&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Time, place, result ==&lt;br /&gt;
&lt;br /&gt;
Semester: spring&amp;lt;br&amp;gt;&lt;br /&gt;
Grading: exam&amp;lt;br&amp;gt;&lt;br /&gt;
Points: 3.5&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Lectures: every Monday 12.00-13.30, room IT-137a&amp;lt;br&amp;gt;&lt;br /&gt;
Practical work: Mondays on odd weeks 10.00-11.30, room IT-213H:&amp;lt;br&amp;gt;31 jan, 14 feb, 28 feb, 14 mar, 28 mar, 4 apr, 18 apr, 2 may, 16 may.&lt;br /&gt;
&lt;br /&gt;
Practical work will give 40% and exam 60% of points underlying the final grade.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;Järeleksam 2011 sügis&amp;lt;/font&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Järeleksam toimub 26 august (reede): kell 10 auditoorium IT-137a &lt;br /&gt;
&lt;br /&gt;
== Eksam ja konsultatsioon ==&lt;br /&gt;
&lt;br /&gt;
16. mai: eksamiks õppimise materjalide ülevaade ja fikseerimine.&lt;br /&gt;
&lt;br /&gt;
Eksam:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
järeleksam 15 juuni (kolmapäev): kell 9 auditoorium IT-137a&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;15 juuni tulemused:&amp;lt;/font&amp;gt;, eksamipunktid viidud 0-60 skaalale:&lt;br /&gt;
* HP eksam 52p + 40p ettekanded, hinne 5&lt;br /&gt;
* GJ eksam 31p + 32p ettekanded, hinne 2&lt;br /&gt;
&lt;br /&gt;
3 juuni (reede): kell 9 auditoorium VI-121&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;3 juuni tulemused:&amp;lt;/font&amp;gt;, eksamipunktid viidud 0-60 skaalale:&lt;br /&gt;
* TT eksam 36p + 40p ettekanded, hinne 3&lt;br /&gt;
* RL eksam 40p + 40p ettekanded, hinne 4&lt;br /&gt;
* HP eksam 28p + 40p ettekanded, hinne 2&lt;br /&gt;
* VP eksam 22p + 40p ettekanded, hinne 2&lt;br /&gt;
* DA eksam 57p + 40p ettekanded, hinne 5&lt;br /&gt;
&lt;br /&gt;
8 juuni (kolmapäev): kell 9 auditoorium VII-131&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;8 juuni tulemused:&amp;lt;/font&amp;gt;, eksamipunktid viidud 0-60 skaalale:&lt;br /&gt;
* KL eksam 60p + 40p ettekanded, hinne 5&lt;br /&gt;
* ML eksam 51p + 40p ettekanded, hinne 5&lt;br /&gt;
* ET eksam 48p + 30p ettekanded, hinne 3&lt;br /&gt;
* DF eksam 58p + 40p ettekanded, hinne 5&lt;br /&gt;
&lt;br /&gt;
Järeleksam kevadel:&lt;br /&gt;
&lt;br /&gt;
* 15 juuni (kolmapäev): kell 9 auditoorium IT-137a&lt;br /&gt;
&lt;br /&gt;
== Practical work ==&lt;br /&gt;
&lt;br /&gt;
There are two labs on the same theme and an optional third lab.&lt;br /&gt;
&lt;br /&gt;
=== First lab === &lt;br /&gt;
&lt;br /&gt;
The main goal of the first lab is to web-scrape data from the public sources using search engines and simple text analysis/statistics.  &lt;br /&gt;
&lt;br /&gt;
Details in [[Teadmised first lab 2012|Teadmised first lab]]. The lab should be completed by March, later presentation will cut the points to half.&lt;br /&gt;
&lt;br /&gt;
=== Second lab ===&lt;br /&gt;
&lt;br /&gt;
The main goal of the second lab is to augment data obtained from the first lab by writing and using probabilistic rules with a rule engine. &lt;br /&gt;
&lt;br /&gt;
Details in [[Teadmised second lab 2011]].&lt;br /&gt;
&lt;br /&gt;
=== Optional third lab ===&lt;br /&gt;
&lt;br /&gt;
The optional third lab can be done in parallel with the second. It will be a relatively complex lab: successful passing will give additional 20 points, thus the weight of the exam is diminished from 60% to 40% of the overall score. &lt;br /&gt;
&lt;br /&gt;
What to do: use Attempto to create a system such that you can write rules and/or facts and/or queries for the second lab in restricted english. These restricted english sentences have to be automatically converted to the form usable by Otter. It is a good idea to avoid probabilities in these rules, since it would be very hard to encode probabilities using attempto.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
See: http://attempto.ifi.uzh.ch/site/ , http://attempto.ifi.uzh.ch/ape/&lt;br /&gt;
&lt;br /&gt;
== Materials to study for the exam ==&lt;br /&gt;
&lt;br /&gt;
Eksamiküsimused:&lt;br /&gt;
&lt;br /&gt;
Väikesed ülesanded: data ja reeglite&lt;br /&gt;
esitamine ja kasutamine&lt;br /&gt;
&lt;br /&gt;
Andmebaas nö tüüpilise relatsioonilise&lt;br /&gt;
mudelina, key-value ja rdf kujul&lt;br /&gt;
&lt;br /&gt;
Ülesanne blocks worldist: esita mingi&lt;br /&gt;
olukord, mingi reegel ja näita rakendamise&lt;br /&gt;
tulemust&lt;br /&gt;
&lt;br /&gt;
RDF, RDFS ja OWL põhiasjad: väike&lt;br /&gt;
ülesanne. Süntaksid ja eridetailid&lt;br /&gt;
ei ole olulised.&lt;br /&gt;
&lt;br /&gt;
RDF ja RDFS esitada loogikas&lt;br /&gt;
faktide ja reeglitena, mõni&lt;br /&gt;
lihtne OWLi näide võib ka olla&lt;br /&gt;
&lt;br /&gt;
Arusaamine RDFa põhiasjadest, oskus&lt;br /&gt;
teha näidet.&lt;br /&gt;
&lt;br /&gt;
MÕni üldküsimus Nelli ja Attempto&lt;br /&gt;
kohta.&lt;br /&gt;
&lt;br /&gt;
Arusaam et mis on mittemonotoonne &lt;br /&gt;
loogika ja mis ei ole, mis oleks&lt;br /&gt;
viisid esitada vasturääkivaid&lt;br /&gt;
teadmisi. Võib olla väike ülesanne&lt;br /&gt;
mingite asjade esitamise kohta: näide&lt;br /&gt;
ja selgitus.&lt;br /&gt;
&lt;br /&gt;
Default loogika ülesanne a la linnud&lt;br /&gt;
ja Quaker diamond: panna kirja reeglid&lt;br /&gt;
ja viia läbi järeldused ja vbl selgitada&lt;br /&gt;
lisaks. Seos CWA, Prolog ja default loogika&lt;br /&gt;
vahel võib samuti küsimuse alla tulla.&lt;br /&gt;
&lt;br /&gt;
Indeksid: arusaam baasindekseerimis-ideedest&lt;br /&gt;
ja B+ treest. Ntx ehitada B+ mingi&lt;br /&gt;
väikese datahulga jaoks. Sama hashi kohta&lt;br /&gt;
ja bit indeksite kohta. Eriteemad a la&lt;br /&gt;
indeksi pakkimine ja erinevad hashi&lt;br /&gt;
viisid ei tule teemaks.&lt;br /&gt;
&lt;br /&gt;
Täistekstiindeksid: osata ehitada näite&lt;br /&gt;
pealt. Vt presentatsioonist erinevaid&lt;br /&gt;
viise, ntx Patricia trie.&lt;br /&gt;
&lt;br /&gt;
Termiindeksid: piisab discrimination&lt;br /&gt;
tree indeksist ja näite põhjal&lt;br /&gt;
indeksi ehitamisest.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Declarative and procedural representations ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Lecture material:&lt;br /&gt;
* [[Media:Kr intro.ppt | Intro lecture: declarative and procedural representations]]&lt;br /&gt;
&lt;br /&gt;
=== Databases: meaning and representation of facts ===&lt;br /&gt;
&lt;br /&gt;
* [[Media:Kr_plain_data_db_logic.ppt | relation of plain data in databases to logic &amp;amp; representing complex structures in databases ]]&lt;br /&gt;
* [[Media:Kr_rdf_schemalessdb_3.pdf|key/value pairs and rdf, compared to the relational model]] &lt;br /&gt;
&lt;br /&gt;
=== Rules in logic: apps in planning, robotics, ... ===&lt;br /&gt;
&lt;br /&gt;
Lecture material:&lt;br /&gt;
* [[Media:Kr_rules1.pdf|Rules and logic: refresher]] and as [[Media:Kr_rules1.ppt|ppt]]&lt;br /&gt;
&lt;br /&gt;
See also:&lt;br /&gt;
&lt;br /&gt;
* [[Media:Geoffreasoningnotes.pdf|Geoff reasoning course notes: just for background, no questions in exam]]&lt;br /&gt;
* [http://www.ee.pdx.edu/~mperkows/May4/005.Ch11-planning.ppt planning and blocks world]&lt;br /&gt;
* [[blocks world axiom/query examples from lecture]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== RDF, RDFS, OWL and conversion to 1st order logic ===&lt;br /&gt;
&lt;br /&gt;
Lecture material:&lt;br /&gt;
* [[Media:Kr_rdfs.pdf|RDFS: rdf schema]] and as [[Media:Kr_rdfs.ppt|ppt]]&lt;br /&gt;
&lt;br /&gt;
Understand RDF and RDFS:&lt;br /&gt;
&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Resource_Description_Framework RDF wikipedia]&lt;br /&gt;
* [http://www.w3.org/TR/rdf-primer/ w3c RDF primer]&lt;br /&gt;
&lt;br /&gt;
Understand basics of owl:&lt;br /&gt;
&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Web_Ontology_Language OWL wikipedia]&lt;br /&gt;
* [http://www.w3.org/TR/owl-guide/ w3c OWL guide]&lt;br /&gt;
&lt;br /&gt;
=== RDFa, reading and using RDF data from web pages ===&lt;br /&gt;
&lt;br /&gt;
Understand main parts:&lt;br /&gt;
&lt;br /&gt;
* [http://en.wikipedia.org/wiki/RDFa wiki intro]&lt;br /&gt;
* [[Media:portaalidekoosvoime.ppt]] or as pdf [[Media:portaalidekoosvoime.pdf]] &lt;br /&gt;
* [http://www.w3.org/2006/07/SWD/RDFa/primer/ w3c rdfa primer]&lt;br /&gt;
&lt;br /&gt;
=== RDF relation to logic ===&lt;br /&gt;
&lt;br /&gt;
Notes from lecture:&lt;br /&gt;
* [[Notes about RDF and OWL: logical meaning]]&lt;br /&gt;
&lt;br /&gt;
Understand a bit of:&lt;br /&gt;
* [http://www.w3.org/TR/2003/NOTE-lbase-20031010/ Hayes &amp;amp; Guha Lbase]&lt;br /&gt;
&lt;br /&gt;
=== Semantics of ordinary relational base === &lt;br /&gt;
&lt;br /&gt;
* [http://cs.ttu.ee/kursused/wav4130/rdftutapp.pdf rdf tutorial addendum for logic and dbases]&lt;br /&gt;
&lt;br /&gt;
===  First order logic in query engines and planning ===&lt;br /&gt;
&lt;br /&gt;
* [[Media:Geoffreasoningnotes.pdf|Geoff reasoning course notes: just for background, no questions in exam]]&lt;br /&gt;
* [http://www.ee.pdx.edu/~mperkows/May4/005.Ch11-planning.ppt planning and blocks world]&lt;br /&gt;
* [[blocks world axiom/query examples from lecture]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Data extraction ===&lt;br /&gt;
&lt;br /&gt;
Web mining by Nell:&lt;br /&gt;
* [http://rtw.ml.cmu.edu/rtw/ Nell]&lt;br /&gt;
&lt;br /&gt;
===  Restricted english jms ===&lt;br /&gt;
&lt;br /&gt;
* [http://attempto.ifi.unizh.ch/site/pubs/papers/phd_kaljurand.pdf Attempto restricted english]&lt;br /&gt;
&lt;br /&gt;
=== Uncertain knowledge logic ===&lt;br /&gt;
&lt;br /&gt;
* [http://plato.stanford.edu/entries/logic-nonmonotonic/ nonmonotonic logic]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Default_logic default logic]&lt;br /&gt;
* [http://sc.snu.ac.kr/courses/2008/spring/pg/krr/Lectures/Lecture11/Lec11.ppt Reasoning with Conflicting Knowledge]&lt;br /&gt;
&lt;br /&gt;
=== Indexes ===&lt;br /&gt;
&lt;br /&gt;
Traditional database indexes incl B+ tree:&lt;br /&gt;
* [http://www.lambda.ee/index.php/Pilt:IndexNotes04.ppt G. Molina lecture 4]&lt;br /&gt;
&lt;br /&gt;
Bitmap indexes:&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Bitmap_index wiki]&lt;br /&gt;
&lt;br /&gt;
Hash indexes:&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Hash_table wiki]&lt;br /&gt;
&lt;br /&gt;
Fulltext indexes:&lt;br /&gt;
* [http://www.lambda.ee/index.php/Pilt:Fulltext_indexes.ppt good intro and overview]&lt;br /&gt;
&lt;br /&gt;
Term indexes:&lt;br /&gt;
Understand basics of discrimination tree trie-type term indexes and path indexes from&lt;br /&gt;
* [http://www.lambda.ee/index.php/Pilt:Mccuneindexing.pdf mccune paper]&lt;br /&gt;
&lt;br /&gt;
== Course structure ==&lt;br /&gt;
&lt;br /&gt;
We start with representing and converting facts, continue to rules, first monotonic, then probabilistic and nonmonotonic, then look into search and indexing of complex information, and finally, some learning.&lt;br /&gt;
&lt;br /&gt;
=== Intro and paradigms of knowledge representation ===&lt;br /&gt;
&lt;br /&gt;
Lecture materials:&lt;br /&gt;
* [[Media:Kr intro.ppt | Intro lecture: declarative and procedural representations]]&lt;br /&gt;
* [http://dl.dropbox.com/u/11794296/roboswarm_saso_2.pdf roboswarm example of combining dec and proc]&lt;br /&gt;
&lt;br /&gt;
For KR, declarative and procedural rep see:&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Knowledge_representation Short wiki overview of knowledge representation]&lt;br /&gt;
* [http://groups.csail.mit.edu/medg/ftp/psz/k-rep.html Long and philosophical MIT overview of knowledge representation]&lt;br /&gt;
* [http://www.cse.buffalo.edu/~rapaport/676/F01/proc.decl.html Pointers to classical papers]&lt;br /&gt;
* [http://www.cogarch.org/index.php/Main_Page A Survey of Cognitive and Agent Architectures]&lt;br /&gt;
* [ftp://reports.stanford.edu/pub/cstr/reports/cs/tr/76/581/CS-TR-76-581.pdf Classical KRL paper from 1977: Bobrow &amp;amp; Winograd]&lt;br /&gt;
Web mining by Nell:&lt;br /&gt;
* [http://rtw.ml.cmu.edu/rtw/ Nell]&lt;br /&gt;
* [http://www.cs.cmu.edu/~rcwang/ Richard Wang]&lt;br /&gt;
* [http://www.boowa.com/ boowa extractor]&lt;br /&gt;
&lt;br /&gt;
=== Databases: meaning and representation of facts ===&lt;br /&gt;
&lt;br /&gt;
Lecture material:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- * [[Media:Kr_plain_data_db_logic_draft.ppt|logic and databases intro draft]] --&amp;gt;&lt;br /&gt;
* [[Media:Kr_plain_data_db_logic.ppt | relation of plain data in databases to logic &amp;amp; representing complex structures in databases ]]&lt;br /&gt;
&amp;lt;!-- * [[Media:Kr_prop_val_pairs.ppt|property/value pairs]] --&amp;gt;&lt;br /&gt;
* [[Media:Kr_rdf_schemalessdb_3.pdf|key/value pairs and rdf, compared to the relational model]] &lt;br /&gt;
&lt;br /&gt;
See also about databases and logic:&lt;br /&gt;
&lt;br /&gt;
* [http://www.cs.rice.edu/~tlogic/Database/all-lectures.pdf Logic and Database Queries (readable)]&lt;br /&gt;
* [http://magenta.ruc.dk/dat_en/research/reports/127.pdf logic in databases workshop (complex stuff)]&lt;br /&gt;
&lt;br /&gt;
See also about RDF and related:&lt;br /&gt;
&lt;br /&gt;
* [http://cs.ttu.ee/kursused/wav4130/rdftutapp.pdf rdf tutorial addendum for logic and dbases]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Resource_Description_Framework RDF wikipedia]&lt;br /&gt;
* [http://www.w3.org/TR/rdf-primer/ w3c RDF primer]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/RDFa wiki intro]&lt;br /&gt;
* [[Media:portaalidekoosvoime.ppt]] or as pdf [[Media:portaalidekoosvoime.pdf]] &lt;br /&gt;
* [http://www.w3.org/2006/07/SWD/RDFa/primer/ w3c rdfa primer]&lt;br /&gt;
* [http://tripletalk.wordpress.com/2011/01/25/rdfa-deployment-across-the-web/ rdfa and microformats deployment now]&lt;br /&gt;
* [http://www.microformats.org microformats: a similar technology]&lt;br /&gt;
* [http://www.w3.org/TR/2003/NOTE-lbase-20031010/ Hayes &amp;amp; Guha Lbase]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Rules in logic: apps in planning, robotics, ... ===&lt;br /&gt;
&lt;br /&gt;
Lecture material:&lt;br /&gt;
* [[Media:Kr_rules1.pdf|Rules and logic: refresher]] and as [[Media:Kr_rules1.ppt|ppt]]&lt;br /&gt;
&lt;br /&gt;
Topics:&lt;br /&gt;
&lt;br /&gt;
* propositional, first order, higher order&lt;br /&gt;
* semantics/models&lt;br /&gt;
* proofs and deriving new information&lt;br /&gt;
* automated reasoning&lt;br /&gt;
&lt;br /&gt;
See also:&lt;br /&gt;
&lt;br /&gt;
* [[Media:Geoffreasoningnotes.pdf|Geoff reasoning course notes: just for background, no questions in exam]]&lt;br /&gt;
* [http://www.ee.pdx.edu/~mperkows/May4/005.Ch11-planning.ppt planning and blocks world]&lt;br /&gt;
* [[blocks world axiom/query examples from lecture]]&lt;br /&gt;
&lt;br /&gt;
=== Various rule/logic languages ===&lt;br /&gt;
&lt;br /&gt;
Lecture material:&lt;br /&gt;
* [[Media:Kr_rdfs.pdf|RDFS: rdf schema]] and as [[Media:Kr_rdfs.ppt|ppt]]&lt;br /&gt;
* [[Notes about RDF and OWL: logical meaning]]&lt;br /&gt;
&lt;br /&gt;
Several languages:&lt;br /&gt;
* RDFS&lt;br /&gt;
* OWL&lt;br /&gt;
* KIF &lt;br /&gt;
* CL &lt;br /&gt;
* ontologies&lt;br /&gt;
* wordnet&lt;br /&gt;
* cyc&lt;br /&gt;
* restricted english systems&lt;br /&gt;
&lt;br /&gt;
See also:&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Resource_Description_Framework RDF wikipedia]&lt;br /&gt;
* [http://www.w3.org/TR/rdf-primer/ w3c RDF primer]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Web_Ontology_Language OWL wikipedia]&lt;br /&gt;
* [http://www.w3.org/TR/owl-guide/ w3c OWL guide]&lt;br /&gt;
* [http://cl.tamu.edu/ CL main page], &lt;br /&gt;
* [http://attempto.ifi.unizh.ch/site/pubs/papers/phd_kaljurand.pdf Attempto restricted english]&lt;br /&gt;
&lt;br /&gt;
=== Scraping semistructured data ===&lt;br /&gt;
&lt;br /&gt;
* Example for background: http://www.sightsmap.com/&lt;br /&gt;
&lt;br /&gt;
=== Time, context, metainformation ===&lt;br /&gt;
&lt;br /&gt;
=== Probabilistic and nonmonotonic reasoning ===&lt;br /&gt;
&lt;br /&gt;
See also:&lt;br /&gt;
* [http://plato.stanford.edu/entries/logic-nonmonotonic/ nonmonotonic logic]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Default_logic default logic]&lt;br /&gt;
&lt;br /&gt;
=== Personalized search and recommendations ===&lt;br /&gt;
&lt;br /&gt;
=== Fast search of facts and rules using indexing ===&lt;br /&gt;
&lt;br /&gt;
* [http://www.lambda.ee/index.php/Pilt:IndexNotes04.ppt G. Molina lecture 4]&lt;br /&gt;
* [http://www.lambda.ee/index.php/Pilt:IndexNotes05.ppt G. Molina lecture 5]&lt;br /&gt;
* [http://www.lambda.ee/index.php/Pilt:Fulltext_indexes.ppt good intro and overview]&lt;br /&gt;
* [http://www.lambda.ee/index.php/Pilt:Mccuneindexing.pdf mccune paper about term indexes]&lt;br /&gt;
&lt;br /&gt;
=== Learning ===&lt;br /&gt;
&lt;br /&gt;
See also:&lt;br /&gt;
&lt;br /&gt;
* [http://www.cs.toronto.edu/~hinton/csc2515/notes/lec1.ppt intro]&lt;br /&gt;
* [http://gamma.cs.unc.edu/rob-course/public_html/LEC/MachineLearningMethods.ppt robots/cars]&lt;br /&gt;
* [http://www.cs.toronto.edu/~hinton/csc2515/notes/lec4.ppt backpropagation]&lt;br /&gt;
* [http://www.cs.toronto.edu/~hinton/csc2515/lectures.html good set of lecture materials]&lt;br /&gt;
* [http://www.cs.cmu.edu/~tom/mlbook-chapter-slides.html another good full set of lecture materials]&lt;br /&gt;
** sh [http://www.cs.cmu.edu/afs/cs.cmu.edu/project/theo-20/www/mlbook/ch4.pdf neural netw chapter]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
=== Learning ===&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
&lt;br /&gt;
* [http://www.cs.toronto.edu/~hinton/csc2515/notes/lec1.ppt intro]&lt;br /&gt;
* [http://gamma.cs.unc.edu/rob-course/public_html/LEC/MachineLearningMethods.ppt robots/cars]&lt;br /&gt;
* [http://www.cs.toronto.edu/~hinton/csc2515/notes/lec4.ppt backpropagation]&lt;br /&gt;
* [http://www.cs.toronto.edu/~hinton/csc2515/lectures.html good set of lecture materials]&lt;br /&gt;
* [http://www.cs.cmu.edu/~tom/mlbook-chapter-slides.html another good full set of lecture materials]&lt;br /&gt;
** sh [http://www.cs.cmu.edu/afs/cs.cmu.edu/project/theo-20/www/mlbook/ch4.pdf neural netw chapter]&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Kursus]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;owl:Class rdf:ID=&amp;quot;sugu&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;rdfs:subClassOf&amp;gt;&lt;br /&gt;
    &amp;lt;owl:Restriction&amp;gt;&lt;br /&gt;
      &amp;lt;owl:onProperty rdf:resource=&amp;quot;sugu&amp;quot; /&amp;gt;&lt;br /&gt;
      &amp;lt;owl:allValuesFrom rdf:resource=&amp;quot;sugu&amp;quot; /&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:Restriction&amp;gt;&lt;br /&gt;
  &amp;lt;/rdfs:subClassOf&amp;gt;&lt;br /&gt;
&amp;lt;/owl:Class&amp;gt;   &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Kalle</name></author>
	</entry>
	<entry>
		<id>http://www.lambda.ee/w/index.php?title=Teadmiste_otsing,_formaliseerimine_ja_hoidmine&amp;diff=6712</id>
		<title>Teadmiste otsing, formaliseerimine ja hoidmine</title>
		<link rel="alternate" type="text/html" href="http://www.lambda.ee/w/index.php?title=Teadmiste_otsing,_formaliseerimine_ja_hoidmine&amp;diff=6712"/>
		<updated>2012-02-20T16:11:39Z</updated>

		<summary type="html">&lt;p&gt;Kalle: /* First lab */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;table&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
[[Pilt:Mephistophiles small.gif| left|teadmised]] &lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
Code: &amp;lt;b&amp;gt;ITV0060&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Link: http://www.lambda.ee/index.php/Teadmiste_otsing,_formaliseerimine_ja_hoidmine  or http://www.lambda.ee/index/itv0060&amp;lt;br&amp;gt;&lt;br /&gt;
Lecturer: Tanel Tammet&amp;lt;br&amp;gt;&lt;br /&gt;
Contact: tammet@staff.ttu.ee, 6203457, TTÜ AK223&amp;lt;br&amp;gt;&lt;br /&gt;
Archives of previous years: [[itv0060 2011 arhiiv|2011]], [[itv0060 20010 arhiiv|2010]], [[itv0060 2009 arhiiv|2009]], [[itv0060 2008 arhiiv|2008]], [[itv0060 2007 arhiiv|2007]],   [[itv0060 2006 arhiiv|2006]], [http:/cs.ttu.ee/kursused/wav4130/ older].&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Time, place, result ==&lt;br /&gt;
&lt;br /&gt;
Semester: spring&amp;lt;br&amp;gt;&lt;br /&gt;
Grading: exam&amp;lt;br&amp;gt;&lt;br /&gt;
Points: 3.5&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Lectures: every Monday 12.00-13.30, room IT-137a&amp;lt;br&amp;gt;&lt;br /&gt;
Practical work: Mondays on odd weeks 10.00-11.30, room IT-213H:&amp;lt;br&amp;gt;31 jan, 14 feb, 28 feb, 14 mar, 28 mar, 4 apr, 18 apr, 2 may, 16 may.&lt;br /&gt;
&lt;br /&gt;
Practical work will give 40% and exam 60% of points underlying the final grade.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;Järeleksam 2011 sügis&amp;lt;/font&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Järeleksam toimub 26 august (reede): kell 10 auditoorium IT-137a &lt;br /&gt;
&lt;br /&gt;
== Eksam ja konsultatsioon ==&lt;br /&gt;
&lt;br /&gt;
16. mai: eksamiks õppimise materjalide ülevaade ja fikseerimine.&lt;br /&gt;
&lt;br /&gt;
Eksam:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
järeleksam 15 juuni (kolmapäev): kell 9 auditoorium IT-137a&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;15 juuni tulemused:&amp;lt;/font&amp;gt;, eksamipunktid viidud 0-60 skaalale:&lt;br /&gt;
* HP eksam 52p + 40p ettekanded, hinne 5&lt;br /&gt;
* GJ eksam 31p + 32p ettekanded, hinne 2&lt;br /&gt;
&lt;br /&gt;
3 juuni (reede): kell 9 auditoorium VI-121&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;3 juuni tulemused:&amp;lt;/font&amp;gt;, eksamipunktid viidud 0-60 skaalale:&lt;br /&gt;
* TT eksam 36p + 40p ettekanded, hinne 3&lt;br /&gt;
* RL eksam 40p + 40p ettekanded, hinne 4&lt;br /&gt;
* HP eksam 28p + 40p ettekanded, hinne 2&lt;br /&gt;
* VP eksam 22p + 40p ettekanded, hinne 2&lt;br /&gt;
* DA eksam 57p + 40p ettekanded, hinne 5&lt;br /&gt;
&lt;br /&gt;
8 juuni (kolmapäev): kell 9 auditoorium VII-131&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;8 juuni tulemused:&amp;lt;/font&amp;gt;, eksamipunktid viidud 0-60 skaalale:&lt;br /&gt;
* KL eksam 60p + 40p ettekanded, hinne 5&lt;br /&gt;
* ML eksam 51p + 40p ettekanded, hinne 5&lt;br /&gt;
* ET eksam 48p + 30p ettekanded, hinne 3&lt;br /&gt;
* DF eksam 58p + 40p ettekanded, hinne 5&lt;br /&gt;
&lt;br /&gt;
Järeleksam kevadel:&lt;br /&gt;
&lt;br /&gt;
* 15 juuni (kolmapäev): kell 9 auditoorium IT-137a&lt;br /&gt;
&lt;br /&gt;
== Practical work ==&lt;br /&gt;
&lt;br /&gt;
There are two labs on the same theme and an optional third lab.&lt;br /&gt;
&lt;br /&gt;
=== First lab === &lt;br /&gt;
&lt;br /&gt;
The main goal of the first lab is to web-scrape data from the public sources using search engines and simple text analysis/statistics.  &lt;br /&gt;
&lt;br /&gt;
Details in [[Teadmised first lab 2012]]. The lab should be completed by March, later presentation will cut the points to half.&lt;br /&gt;
&lt;br /&gt;
=== Second lab ===&lt;br /&gt;
&lt;br /&gt;
The main goal of the second lab is to augment data obtained from the first lab by writing and using probabilistic rules with a rule engine. &lt;br /&gt;
&lt;br /&gt;
Details in [[Teadmised second lab 2011]].&lt;br /&gt;
&lt;br /&gt;
=== Optional third lab ===&lt;br /&gt;
&lt;br /&gt;
The optional third lab can be done in parallel with the second. It will be a relatively complex lab: successful passing will give additional 20 points, thus the weight of the exam is diminished from 60% to 40% of the overall score. &lt;br /&gt;
&lt;br /&gt;
What to do: use Attempto to create a system such that you can write rules and/or facts and/or queries for the second lab in restricted english. These restricted english sentences have to be automatically converted to the form usable by Otter. It is a good idea to avoid probabilities in these rules, since it would be very hard to encode probabilities using attempto.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
See: http://attempto.ifi.uzh.ch/site/ , http://attempto.ifi.uzh.ch/ape/&lt;br /&gt;
&lt;br /&gt;
== Materials to study for the exam ==&lt;br /&gt;
&lt;br /&gt;
Eksamiküsimused:&lt;br /&gt;
&lt;br /&gt;
Väikesed ülesanded: data ja reeglite&lt;br /&gt;
esitamine ja kasutamine&lt;br /&gt;
&lt;br /&gt;
Andmebaas nö tüüpilise relatsioonilise&lt;br /&gt;
mudelina, key-value ja rdf kujul&lt;br /&gt;
&lt;br /&gt;
Ülesanne blocks worldist: esita mingi&lt;br /&gt;
olukord, mingi reegel ja näita rakendamise&lt;br /&gt;
tulemust&lt;br /&gt;
&lt;br /&gt;
RDF, RDFS ja OWL põhiasjad: väike&lt;br /&gt;
ülesanne. Süntaksid ja eridetailid&lt;br /&gt;
ei ole olulised.&lt;br /&gt;
&lt;br /&gt;
RDF ja RDFS esitada loogikas&lt;br /&gt;
faktide ja reeglitena, mõni&lt;br /&gt;
lihtne OWLi näide võib ka olla&lt;br /&gt;
&lt;br /&gt;
Arusaamine RDFa põhiasjadest, oskus&lt;br /&gt;
teha näidet.&lt;br /&gt;
&lt;br /&gt;
MÕni üldküsimus Nelli ja Attempto&lt;br /&gt;
kohta.&lt;br /&gt;
&lt;br /&gt;
Arusaam et mis on mittemonotoonne &lt;br /&gt;
loogika ja mis ei ole, mis oleks&lt;br /&gt;
viisid esitada vasturääkivaid&lt;br /&gt;
teadmisi. Võib olla väike ülesanne&lt;br /&gt;
mingite asjade esitamise kohta: näide&lt;br /&gt;
ja selgitus.&lt;br /&gt;
&lt;br /&gt;
Default loogika ülesanne a la linnud&lt;br /&gt;
ja Quaker diamond: panna kirja reeglid&lt;br /&gt;
ja viia läbi järeldused ja vbl selgitada&lt;br /&gt;
lisaks. Seos CWA, Prolog ja default loogika&lt;br /&gt;
vahel võib samuti küsimuse alla tulla.&lt;br /&gt;
&lt;br /&gt;
Indeksid: arusaam baasindekseerimis-ideedest&lt;br /&gt;
ja B+ treest. Ntx ehitada B+ mingi&lt;br /&gt;
väikese datahulga jaoks. Sama hashi kohta&lt;br /&gt;
ja bit indeksite kohta. Eriteemad a la&lt;br /&gt;
indeksi pakkimine ja erinevad hashi&lt;br /&gt;
viisid ei tule teemaks.&lt;br /&gt;
&lt;br /&gt;
Täistekstiindeksid: osata ehitada näite&lt;br /&gt;
pealt. Vt presentatsioonist erinevaid&lt;br /&gt;
viise, ntx Patricia trie.&lt;br /&gt;
&lt;br /&gt;
Termiindeksid: piisab discrimination&lt;br /&gt;
tree indeksist ja näite põhjal&lt;br /&gt;
indeksi ehitamisest.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Declarative and procedural representations ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Lecture material:&lt;br /&gt;
* [[Media:Kr intro.ppt | Intro lecture: declarative and procedural representations]]&lt;br /&gt;
&lt;br /&gt;
=== Databases: meaning and representation of facts ===&lt;br /&gt;
&lt;br /&gt;
* [[Media:Kr_plain_data_db_logic.ppt | relation of plain data in databases to logic &amp;amp; representing complex structures in databases ]]&lt;br /&gt;
* [[Media:Kr_rdf_schemalessdb_3.pdf|key/value pairs and rdf, compared to the relational model]] &lt;br /&gt;
&lt;br /&gt;
=== Rules in logic: apps in planning, robotics, ... ===&lt;br /&gt;
&lt;br /&gt;
Lecture material:&lt;br /&gt;
* [[Media:Kr_rules1.pdf|Rules and logic: refresher]] and as [[Media:Kr_rules1.ppt|ppt]]&lt;br /&gt;
&lt;br /&gt;
See also:&lt;br /&gt;
&lt;br /&gt;
* [[Media:Geoffreasoningnotes.pdf|Geoff reasoning course notes: just for background, no questions in exam]]&lt;br /&gt;
* [http://www.ee.pdx.edu/~mperkows/May4/005.Ch11-planning.ppt planning and blocks world]&lt;br /&gt;
* [[blocks world axiom/query examples from lecture]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== RDF, RDFS, OWL and conversion to 1st order logic ===&lt;br /&gt;
&lt;br /&gt;
Lecture material:&lt;br /&gt;
* [[Media:Kr_rdfs.pdf|RDFS: rdf schema]] and as [[Media:Kr_rdfs.ppt|ppt]]&lt;br /&gt;
&lt;br /&gt;
Understand RDF and RDFS:&lt;br /&gt;
&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Resource_Description_Framework RDF wikipedia]&lt;br /&gt;
* [http://www.w3.org/TR/rdf-primer/ w3c RDF primer]&lt;br /&gt;
&lt;br /&gt;
Understand basics of owl:&lt;br /&gt;
&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Web_Ontology_Language OWL wikipedia]&lt;br /&gt;
* [http://www.w3.org/TR/owl-guide/ w3c OWL guide]&lt;br /&gt;
&lt;br /&gt;
=== RDFa, reading and using RDF data from web pages ===&lt;br /&gt;
&lt;br /&gt;
Understand main parts:&lt;br /&gt;
&lt;br /&gt;
* [http://en.wikipedia.org/wiki/RDFa wiki intro]&lt;br /&gt;
* [[Media:portaalidekoosvoime.ppt]] or as pdf [[Media:portaalidekoosvoime.pdf]] &lt;br /&gt;
* [http://www.w3.org/2006/07/SWD/RDFa/primer/ w3c rdfa primer]&lt;br /&gt;
&lt;br /&gt;
=== RDF relation to logic ===&lt;br /&gt;
&lt;br /&gt;
Notes from lecture:&lt;br /&gt;
* [[Notes about RDF and OWL: logical meaning]]&lt;br /&gt;
&lt;br /&gt;
Understand a bit of:&lt;br /&gt;
* [http://www.w3.org/TR/2003/NOTE-lbase-20031010/ Hayes &amp;amp; Guha Lbase]&lt;br /&gt;
&lt;br /&gt;
=== Semantics of ordinary relational base === &lt;br /&gt;
&lt;br /&gt;
* [http://cs.ttu.ee/kursused/wav4130/rdftutapp.pdf rdf tutorial addendum for logic and dbases]&lt;br /&gt;
&lt;br /&gt;
===  First order logic in query engines and planning ===&lt;br /&gt;
&lt;br /&gt;
* [[Media:Geoffreasoningnotes.pdf|Geoff reasoning course notes: just for background, no questions in exam]]&lt;br /&gt;
* [http://www.ee.pdx.edu/~mperkows/May4/005.Ch11-planning.ppt planning and blocks world]&lt;br /&gt;
* [[blocks world axiom/query examples from lecture]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Data extraction ===&lt;br /&gt;
&lt;br /&gt;
Web mining by Nell:&lt;br /&gt;
* [http://rtw.ml.cmu.edu/rtw/ Nell]&lt;br /&gt;
&lt;br /&gt;
===  Restricted english jms ===&lt;br /&gt;
&lt;br /&gt;
* [http://attempto.ifi.unizh.ch/site/pubs/papers/phd_kaljurand.pdf Attempto restricted english]&lt;br /&gt;
&lt;br /&gt;
=== Uncertain knowledge logic ===&lt;br /&gt;
&lt;br /&gt;
* [http://plato.stanford.edu/entries/logic-nonmonotonic/ nonmonotonic logic]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Default_logic default logic]&lt;br /&gt;
* [http://sc.snu.ac.kr/courses/2008/spring/pg/krr/Lectures/Lecture11/Lec11.ppt Reasoning with Conflicting Knowledge]&lt;br /&gt;
&lt;br /&gt;
=== Indexes ===&lt;br /&gt;
&lt;br /&gt;
Traditional database indexes incl B+ tree:&lt;br /&gt;
* [http://www.lambda.ee/index.php/Pilt:IndexNotes04.ppt G. Molina lecture 4]&lt;br /&gt;
&lt;br /&gt;
Bitmap indexes:&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Bitmap_index wiki]&lt;br /&gt;
&lt;br /&gt;
Hash indexes:&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Hash_table wiki]&lt;br /&gt;
&lt;br /&gt;
Fulltext indexes:&lt;br /&gt;
* [http://www.lambda.ee/index.php/Pilt:Fulltext_indexes.ppt good intro and overview]&lt;br /&gt;
&lt;br /&gt;
Term indexes:&lt;br /&gt;
Understand basics of discrimination tree trie-type term indexes and path indexes from&lt;br /&gt;
* [http://www.lambda.ee/index.php/Pilt:Mccuneindexing.pdf mccune paper]&lt;br /&gt;
&lt;br /&gt;
== Course structure ==&lt;br /&gt;
&lt;br /&gt;
We start with representing and converting facts, continue to rules, first monotonic, then probabilistic and nonmonotonic, then look into search and indexing of complex information, and finally, some learning.&lt;br /&gt;
&lt;br /&gt;
=== Intro and paradigms of knowledge representation ===&lt;br /&gt;
&lt;br /&gt;
Lecture materials:&lt;br /&gt;
* [[Media:Kr intro.ppt | Intro lecture: declarative and procedural representations]]&lt;br /&gt;
* [http://dl.dropbox.com/u/11794296/roboswarm_saso_2.pdf roboswarm example of combining dec and proc]&lt;br /&gt;
&lt;br /&gt;
For KR, declarative and procedural rep see:&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Knowledge_representation Short wiki overview of knowledge representation]&lt;br /&gt;
* [http://groups.csail.mit.edu/medg/ftp/psz/k-rep.html Long and philosophical MIT overview of knowledge representation]&lt;br /&gt;
* [http://www.cse.buffalo.edu/~rapaport/676/F01/proc.decl.html Pointers to classical papers]&lt;br /&gt;
* [http://www.cogarch.org/index.php/Main_Page A Survey of Cognitive and Agent Architectures]&lt;br /&gt;
* [ftp://reports.stanford.edu/pub/cstr/reports/cs/tr/76/581/CS-TR-76-581.pdf Classical KRL paper from 1977: Bobrow &amp;amp; Winograd]&lt;br /&gt;
Web mining by Nell:&lt;br /&gt;
* [http://rtw.ml.cmu.edu/rtw/ Nell]&lt;br /&gt;
* [http://www.cs.cmu.edu/~rcwang/ Richard Wang]&lt;br /&gt;
* [http://www.boowa.com/ boowa extractor]&lt;br /&gt;
&lt;br /&gt;
=== Databases: meaning and representation of facts ===&lt;br /&gt;
&lt;br /&gt;
Lecture material:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- * [[Media:Kr_plain_data_db_logic_draft.ppt|logic and databases intro draft]] --&amp;gt;&lt;br /&gt;
* [[Media:Kr_plain_data_db_logic.ppt | relation of plain data in databases to logic &amp;amp; representing complex structures in databases ]]&lt;br /&gt;
&amp;lt;!-- * [[Media:Kr_prop_val_pairs.ppt|property/value pairs]] --&amp;gt;&lt;br /&gt;
* [[Media:Kr_rdf_schemalessdb_3.pdf|key/value pairs and rdf, compared to the relational model]] &lt;br /&gt;
&lt;br /&gt;
See also about databases and logic:&lt;br /&gt;
&lt;br /&gt;
* [http://www.cs.rice.edu/~tlogic/Database/all-lectures.pdf Logic and Database Queries (readable)]&lt;br /&gt;
* [http://magenta.ruc.dk/dat_en/research/reports/127.pdf logic in databases workshop (complex stuff)]&lt;br /&gt;
&lt;br /&gt;
See also about RDF and related:&lt;br /&gt;
&lt;br /&gt;
* [http://cs.ttu.ee/kursused/wav4130/rdftutapp.pdf rdf tutorial addendum for logic and dbases]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Resource_Description_Framework RDF wikipedia]&lt;br /&gt;
* [http://www.w3.org/TR/rdf-primer/ w3c RDF primer]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/RDFa wiki intro]&lt;br /&gt;
* [[Media:portaalidekoosvoime.ppt]] or as pdf [[Media:portaalidekoosvoime.pdf]] &lt;br /&gt;
* [http://www.w3.org/2006/07/SWD/RDFa/primer/ w3c rdfa primer]&lt;br /&gt;
* [http://tripletalk.wordpress.com/2011/01/25/rdfa-deployment-across-the-web/ rdfa and microformats deployment now]&lt;br /&gt;
* [http://www.microformats.org microformats: a similar technology]&lt;br /&gt;
* [http://www.w3.org/TR/2003/NOTE-lbase-20031010/ Hayes &amp;amp; Guha Lbase]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Rules in logic: apps in planning, robotics, ... ===&lt;br /&gt;
&lt;br /&gt;
Lecture material:&lt;br /&gt;
* [[Media:Kr_rules1.pdf|Rules and logic: refresher]] and as [[Media:Kr_rules1.ppt|ppt]]&lt;br /&gt;
&lt;br /&gt;
Topics:&lt;br /&gt;
&lt;br /&gt;
* propositional, first order, higher order&lt;br /&gt;
* semantics/models&lt;br /&gt;
* proofs and deriving new information&lt;br /&gt;
* automated reasoning&lt;br /&gt;
&lt;br /&gt;
See also:&lt;br /&gt;
&lt;br /&gt;
* [[Media:Geoffreasoningnotes.pdf|Geoff reasoning course notes: just for background, no questions in exam]]&lt;br /&gt;
* [http://www.ee.pdx.edu/~mperkows/May4/005.Ch11-planning.ppt planning and blocks world]&lt;br /&gt;
* [[blocks world axiom/query examples from lecture]]&lt;br /&gt;
&lt;br /&gt;
=== Various rule/logic languages ===&lt;br /&gt;
&lt;br /&gt;
Lecture material:&lt;br /&gt;
* [[Media:Kr_rdfs.pdf|RDFS: rdf schema]] and as [[Media:Kr_rdfs.ppt|ppt]]&lt;br /&gt;
* [[Notes about RDF and OWL: logical meaning]]&lt;br /&gt;
&lt;br /&gt;
Several languages:&lt;br /&gt;
* RDFS&lt;br /&gt;
* OWL&lt;br /&gt;
* KIF &lt;br /&gt;
* CL &lt;br /&gt;
* ontologies&lt;br /&gt;
* wordnet&lt;br /&gt;
* cyc&lt;br /&gt;
* restricted english systems&lt;br /&gt;
&lt;br /&gt;
See also:&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Resource_Description_Framework RDF wikipedia]&lt;br /&gt;
* [http://www.w3.org/TR/rdf-primer/ w3c RDF primer]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Web_Ontology_Language OWL wikipedia]&lt;br /&gt;
* [http://www.w3.org/TR/owl-guide/ w3c OWL guide]&lt;br /&gt;
* [http://cl.tamu.edu/ CL main page], &lt;br /&gt;
* [http://attempto.ifi.unizh.ch/site/pubs/papers/phd_kaljurand.pdf Attempto restricted english]&lt;br /&gt;
&lt;br /&gt;
=== Scraping semistructured data ===&lt;br /&gt;
&lt;br /&gt;
* Example for background: http://www.sightsmap.com/&lt;br /&gt;
&lt;br /&gt;
=== Time, context, metainformation ===&lt;br /&gt;
&lt;br /&gt;
=== Probabilistic and nonmonotonic reasoning ===&lt;br /&gt;
&lt;br /&gt;
See also:&lt;br /&gt;
* [http://plato.stanford.edu/entries/logic-nonmonotonic/ nonmonotonic logic]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Default_logic default logic]&lt;br /&gt;
&lt;br /&gt;
=== Personalized search and recommendations ===&lt;br /&gt;
&lt;br /&gt;
=== Fast search of facts and rules using indexing ===&lt;br /&gt;
&lt;br /&gt;
* [http://www.lambda.ee/index.php/Pilt:IndexNotes04.ppt G. Molina lecture 4]&lt;br /&gt;
* [http://www.lambda.ee/index.php/Pilt:IndexNotes05.ppt G. Molina lecture 5]&lt;br /&gt;
* [http://www.lambda.ee/index.php/Pilt:Fulltext_indexes.ppt good intro and overview]&lt;br /&gt;
* [http://www.lambda.ee/index.php/Pilt:Mccuneindexing.pdf mccune paper about term indexes]&lt;br /&gt;
&lt;br /&gt;
=== Learning ===&lt;br /&gt;
&lt;br /&gt;
See also:&lt;br /&gt;
&lt;br /&gt;
* [http://www.cs.toronto.edu/~hinton/csc2515/notes/lec1.ppt intro]&lt;br /&gt;
* [http://gamma.cs.unc.edu/rob-course/public_html/LEC/MachineLearningMethods.ppt robots/cars]&lt;br /&gt;
* [http://www.cs.toronto.edu/~hinton/csc2515/notes/lec4.ppt backpropagation]&lt;br /&gt;
* [http://www.cs.toronto.edu/~hinton/csc2515/lectures.html good set of lecture materials]&lt;br /&gt;
* [http://www.cs.cmu.edu/~tom/mlbook-chapter-slides.html another good full set of lecture materials]&lt;br /&gt;
** sh [http://www.cs.cmu.edu/afs/cs.cmu.edu/project/theo-20/www/mlbook/ch4.pdf neural netw chapter]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
=== Learning ===&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
&lt;br /&gt;
* [http://www.cs.toronto.edu/~hinton/csc2515/notes/lec1.ppt intro]&lt;br /&gt;
* [http://gamma.cs.unc.edu/rob-course/public_html/LEC/MachineLearningMethods.ppt robots/cars]&lt;br /&gt;
* [http://www.cs.toronto.edu/~hinton/csc2515/notes/lec4.ppt backpropagation]&lt;br /&gt;
* [http://www.cs.toronto.edu/~hinton/csc2515/lectures.html good set of lecture materials]&lt;br /&gt;
* [http://www.cs.cmu.edu/~tom/mlbook-chapter-slides.html another good full set of lecture materials]&lt;br /&gt;
** sh [http://www.cs.cmu.edu/afs/cs.cmu.edu/project/theo-20/www/mlbook/ch4.pdf neural netw chapter]&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Kursus]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;owl:Class rdf:ID=&amp;quot;sugu&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;rdfs:subClassOf&amp;gt;&lt;br /&gt;
    &amp;lt;owl:Restriction&amp;gt;&lt;br /&gt;
      &amp;lt;owl:onProperty rdf:resource=&amp;quot;sugu&amp;quot; /&amp;gt;&lt;br /&gt;
      &amp;lt;owl:allValuesFrom rdf:resource=&amp;quot;sugu&amp;quot; /&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:Restriction&amp;gt;&lt;br /&gt;
  &amp;lt;/rdfs:subClassOf&amp;gt;&lt;br /&gt;
&amp;lt;/owl:Class&amp;gt;   &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Kalle</name></author>
	</entry>
	<entry>
		<id>http://www.lambda.ee/w/index.php?title=Itv0060_2011_arhiiv&amp;diff=8617</id>
		<title>Itv0060 2011 arhiiv</title>
		<link rel="alternate" type="text/html" href="http://www.lambda.ee/w/index.php?title=Itv0060_2011_arhiiv&amp;diff=8617"/>
		<updated>2012-02-20T16:06:16Z</updated>

		<summary type="html">&lt;p&gt;Kalle: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;table&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
[[Pilt:Mephistophiles small.gif| left|teadmised]] &lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
Code: &amp;lt;b&amp;gt;ITV0060&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Link: http://www.lambda.ee/index.php/Teadmiste_otsing,_formaliseerimine_ja_hoidmine  or http://www.lambda.ee/index/itv0060&amp;lt;br&amp;gt;&lt;br /&gt;
Lecturer: Tanel Tammet&amp;lt;br&amp;gt;&lt;br /&gt;
Contact: tammet@staff.ttu.ee, 6203457, TTÜ AK223&amp;lt;br&amp;gt;&lt;br /&gt;
Archives of previous years: [[itv0060 20010 arhiiv|2010]], [[itv0060 2009 arhiiv|2009]], [[itv0060 2008 arhiiv|2008]], [[itv0060 2007 arhiiv|2007]],   [[itv0060 2006 arhiiv|2006]], [http:/cs.ttu.ee/kursused/wav4130/ older].&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Time, place, result ==&lt;br /&gt;
&lt;br /&gt;
Semester: spring&amp;lt;br&amp;gt;&lt;br /&gt;
Grading: exam&amp;lt;br&amp;gt;&lt;br /&gt;
Points: 3.5&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Lectures: every Monday 12.00-13.30, room IT-137a&amp;lt;br&amp;gt;&lt;br /&gt;
Practical work: Mondays on odd weeks 10.00-11.30, room IT-213H:&amp;lt;br&amp;gt;31 jan, 14 feb, 28 feb, 14 mar, 28 mar, 4 apr, 18 apr, 2 may, 16 may.&lt;br /&gt;
&lt;br /&gt;
Practical work will give 40% and exam 60% of points underlying the final grade.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;Järeleksam 2011 sügis&amp;lt;/font&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Järeleksam toimub 26 august (reede): kell 10 auditoorium IT-137a &lt;br /&gt;
&lt;br /&gt;
== Eksam ja konsultatsioon ==&lt;br /&gt;
&lt;br /&gt;
16. mai: eksamiks õppimise materjalide ülevaade ja fikseerimine.&lt;br /&gt;
&lt;br /&gt;
Eksam:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
järeleksam 15 juuni (kolmapäev): kell 9 auditoorium IT-137a&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;15 juuni tulemused:&amp;lt;/font&amp;gt;, eksamipunktid viidud 0-60 skaalale:&lt;br /&gt;
* HP eksam 52p + 40p ettekanded, hinne 5&lt;br /&gt;
* GJ eksam 31p + 32p ettekanded, hinne 2&lt;br /&gt;
&lt;br /&gt;
3 juuni (reede): kell 9 auditoorium VI-121&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;3 juuni tulemused:&amp;lt;/font&amp;gt;, eksamipunktid viidud 0-60 skaalale:&lt;br /&gt;
* TT eksam 36p + 40p ettekanded, hinne 3&lt;br /&gt;
* RL eksam 40p + 40p ettekanded, hinne 4&lt;br /&gt;
* HP eksam 28p + 40p ettekanded, hinne 2&lt;br /&gt;
* VP eksam 22p + 40p ettekanded, hinne 2&lt;br /&gt;
* DA eksam 57p + 40p ettekanded, hinne 5&lt;br /&gt;
&lt;br /&gt;
8 juuni (kolmapäev): kell 9 auditoorium VII-131&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;8 juuni tulemused:&amp;lt;/font&amp;gt;, eksamipunktid viidud 0-60 skaalale:&lt;br /&gt;
* KL eksam 60p + 40p ettekanded, hinne 5&lt;br /&gt;
* ML eksam 51p + 40p ettekanded, hinne 5&lt;br /&gt;
* ET eksam 48p + 30p ettekanded, hinne 3&lt;br /&gt;
* DF eksam 58p + 40p ettekanded, hinne 5&lt;br /&gt;
&lt;br /&gt;
Järeleksam kevadel:&lt;br /&gt;
&lt;br /&gt;
* 15 juuni (kolmapäev): kell 9 auditoorium IT-137a&lt;br /&gt;
&lt;br /&gt;
== Practical work ==&lt;br /&gt;
&lt;br /&gt;
There are two labs on the same theme and an optional third lab.&lt;br /&gt;
&lt;br /&gt;
=== First lab === &lt;br /&gt;
&lt;br /&gt;
The main goal of the first lab is to web-scrape data from the public sources using search engines and simple text analysis/statistics.  &lt;br /&gt;
&lt;br /&gt;
Details in [[Teadmised first lab 2011]]. The lab should be completed by March, later presentation will cut the points to half.&lt;br /&gt;
&lt;br /&gt;
=== Second lab ===&lt;br /&gt;
&lt;br /&gt;
The main goal of the second lab is to augment data obtained from the first lab by writing and using probabilistic rules with a rule engine. &lt;br /&gt;
&lt;br /&gt;
Details in [[Teadmised second lab 2011]].&lt;br /&gt;
&lt;br /&gt;
=== Optional third lab ===&lt;br /&gt;
&lt;br /&gt;
The optional third lab can be done in parallel with the second. It will be a relatively complex lab: successful passing will give additional 20 points, thus the weight of the exam is diminished from 60% to 40% of the overall score. &lt;br /&gt;
&lt;br /&gt;
What to do: use Attempto to create a system such that you can write rules and/or facts and/or queries for the second lab in restricted english. These restricted english sentences have to be automatically converted to the form usable by Otter. It is a good idea to avoid probabilities in these rules, since it would be very hard to encode probabilities using attempto.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
See: http://attempto.ifi.uzh.ch/site/ , http://attempto.ifi.uzh.ch/ape/&lt;br /&gt;
&lt;br /&gt;
== Materials to study for the exam ==&lt;br /&gt;
&lt;br /&gt;
Eksamiküsimused:&lt;br /&gt;
&lt;br /&gt;
Väikesed ülesanded: data ja reeglite&lt;br /&gt;
esitamine ja kasutamine&lt;br /&gt;
&lt;br /&gt;
Andmebaas nö tüüpilise relatsioonilise&lt;br /&gt;
mudelina, key-value ja rdf kujul&lt;br /&gt;
&lt;br /&gt;
Ülesanne blocks worldist: esita mingi&lt;br /&gt;
olukord, mingi reegel ja näita rakendamise&lt;br /&gt;
tulemust&lt;br /&gt;
&lt;br /&gt;
RDF, RDFS ja OWL põhiasjad: väike&lt;br /&gt;
ülesanne. Süntaksid ja eridetailid&lt;br /&gt;
ei ole olulised.&lt;br /&gt;
&lt;br /&gt;
RDF ja RDFS esitada loogikas&lt;br /&gt;
faktide ja reeglitena, mõni&lt;br /&gt;
lihtne OWLi näide võib ka olla&lt;br /&gt;
&lt;br /&gt;
Arusaamine RDFa põhiasjadest, oskus&lt;br /&gt;
teha näidet.&lt;br /&gt;
&lt;br /&gt;
MÕni üldküsimus Nelli ja Attempto&lt;br /&gt;
kohta.&lt;br /&gt;
&lt;br /&gt;
Arusaam et mis on mittemonotoonne &lt;br /&gt;
loogika ja mis ei ole, mis oleks&lt;br /&gt;
viisid esitada vasturääkivaid&lt;br /&gt;
teadmisi. Võib olla väike ülesanne&lt;br /&gt;
mingite asjade esitamise kohta: näide&lt;br /&gt;
ja selgitus.&lt;br /&gt;
&lt;br /&gt;
Default loogika ülesanne a la linnud&lt;br /&gt;
ja Quaker diamond: panna kirja reeglid&lt;br /&gt;
ja viia läbi järeldused ja vbl selgitada&lt;br /&gt;
lisaks. Seos CWA, Prolog ja default loogika&lt;br /&gt;
vahel võib samuti küsimuse alla tulla.&lt;br /&gt;
&lt;br /&gt;
Indeksid: arusaam baasindekseerimis-ideedest&lt;br /&gt;
ja B+ treest. Ntx ehitada B+ mingi&lt;br /&gt;
väikese datahulga jaoks. Sama hashi kohta&lt;br /&gt;
ja bit indeksite kohta. Eriteemad a la&lt;br /&gt;
indeksi pakkimine ja erinevad hashi&lt;br /&gt;
viisid ei tule teemaks.&lt;br /&gt;
&lt;br /&gt;
Täistekstiindeksid: osata ehitada näite&lt;br /&gt;
pealt. Vt presentatsioonist erinevaid&lt;br /&gt;
viise, ntx Patricia trie.&lt;br /&gt;
&lt;br /&gt;
Termiindeksid: piisab discrimination&lt;br /&gt;
tree indeksist ja näite põhjal&lt;br /&gt;
indeksi ehitamisest.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Declarative and procedural representations ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Lecture material:&lt;br /&gt;
* [[Media:Kr intro.ppt | Intro lecture: declarative and procedural representations]]&lt;br /&gt;
&lt;br /&gt;
=== Databases: meaning and representation of facts ===&lt;br /&gt;
&lt;br /&gt;
* [[Media:Kr_plain_data_db_logic.ppt | relation of plain data in databases to logic &amp;amp; representing complex structures in databases ]]&lt;br /&gt;
* [[Media:Kr_rdf_schemalessdb_3.pdf|key/value pairs and rdf, compared to the relational model]] &lt;br /&gt;
&lt;br /&gt;
=== Rules in logic: apps in planning, robotics, ... ===&lt;br /&gt;
&lt;br /&gt;
Lecture material:&lt;br /&gt;
* [[Media:Kr_rules1.pdf|Rules and logic: refresher]] and as [[Media:Kr_rules1.ppt|ppt]]&lt;br /&gt;
&lt;br /&gt;
See also:&lt;br /&gt;
&lt;br /&gt;
* [[Media:Geoffreasoningnotes.pdf|Geoff reasoning course notes: just for background, no questions in exam]]&lt;br /&gt;
* [http://www.ee.pdx.edu/~mperkows/May4/005.Ch11-planning.ppt planning and blocks world]&lt;br /&gt;
* [[blocks world axiom/query examples from lecture]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== RDF, RDFS, OWL and conversion to 1st order logic ===&lt;br /&gt;
&lt;br /&gt;
Lecture material:&lt;br /&gt;
* [[Media:Kr_rdfs.pdf|RDFS: rdf schema]] and as [[Media:Kr_rdfs.ppt|ppt]]&lt;br /&gt;
&lt;br /&gt;
Understand RDF and RDFS:&lt;br /&gt;
&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Resource_Description_Framework RDF wikipedia]&lt;br /&gt;
* [http://www.w3.org/TR/rdf-primer/ w3c RDF primer]&lt;br /&gt;
&lt;br /&gt;
Understand basics of owl:&lt;br /&gt;
&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Web_Ontology_Language OWL wikipedia]&lt;br /&gt;
* [http://www.w3.org/TR/owl-guide/ w3c OWL guide]&lt;br /&gt;
&lt;br /&gt;
=== RDFa, reading and using RDF data from web pages ===&lt;br /&gt;
&lt;br /&gt;
Understand main parts:&lt;br /&gt;
&lt;br /&gt;
* [http://en.wikipedia.org/wiki/RDFa wiki intro]&lt;br /&gt;
* [[Media:portaalidekoosvoime.ppt]] or as pdf [[Media:portaalidekoosvoime.pdf]] &lt;br /&gt;
* [http://www.w3.org/2006/07/SWD/RDFa/primer/ w3c rdfa primer]&lt;br /&gt;
&lt;br /&gt;
=== RDF relation to logic ===&lt;br /&gt;
&lt;br /&gt;
Notes from lecture:&lt;br /&gt;
* [[Notes about RDF and OWL: logical meaning]]&lt;br /&gt;
&lt;br /&gt;
Understand a bit of:&lt;br /&gt;
* [http://www.w3.org/TR/2003/NOTE-lbase-20031010/ Hayes &amp;amp; Guha Lbase]&lt;br /&gt;
&lt;br /&gt;
=== Semantics of ordinary relational base === &lt;br /&gt;
&lt;br /&gt;
* [http://cs.ttu.ee/kursused/wav4130/rdftutapp.pdf rdf tutorial addendum for logic and dbases]&lt;br /&gt;
&lt;br /&gt;
===  First order logic in query engines and planning ===&lt;br /&gt;
&lt;br /&gt;
* [[Media:Geoffreasoningnotes.pdf|Geoff reasoning course notes: just for background, no questions in exam]]&lt;br /&gt;
* [http://www.ee.pdx.edu/~mperkows/May4/005.Ch11-planning.ppt planning and blocks world]&lt;br /&gt;
* [[blocks world axiom/query examples from lecture]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Data extraction ===&lt;br /&gt;
&lt;br /&gt;
Web mining by Nell:&lt;br /&gt;
* [http://rtw.ml.cmu.edu/rtw/ Nell]&lt;br /&gt;
&lt;br /&gt;
===  Restricted english jms ===&lt;br /&gt;
&lt;br /&gt;
* [http://attempto.ifi.unizh.ch/site/pubs/papers/phd_kaljurand.pdf Attempto restricted english]&lt;br /&gt;
&lt;br /&gt;
=== Uncertain knowledge logic ===&lt;br /&gt;
&lt;br /&gt;
* [http://plato.stanford.edu/entries/logic-nonmonotonic/ nonmonotonic logic]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Default_logic default logic]&lt;br /&gt;
* [http://sc.snu.ac.kr/courses/2008/spring/pg/krr/Lectures/Lecture11/Lec11.ppt Reasoning with Conflicting Knowledge]&lt;br /&gt;
&lt;br /&gt;
=== Indexes ===&lt;br /&gt;
&lt;br /&gt;
Traditional database indexes incl B+ tree:&lt;br /&gt;
* [http://www.lambda.ee/index.php/Pilt:IndexNotes04.ppt G. Molina lecture 4]&lt;br /&gt;
&lt;br /&gt;
Bitmap indexes:&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Bitmap_index wiki]&lt;br /&gt;
&lt;br /&gt;
Hash indexes:&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Hash_table wiki]&lt;br /&gt;
&lt;br /&gt;
Fulltext indexes:&lt;br /&gt;
* [http://www.lambda.ee/index.php/Pilt:Fulltext_indexes.ppt good intro and overview]&lt;br /&gt;
&lt;br /&gt;
Term indexes:&lt;br /&gt;
Understand basics of discrimination tree trie-type term indexes and path indexes from&lt;br /&gt;
* [http://www.lambda.ee/index.php/Pilt:Mccuneindexing.pdf mccune paper]&lt;br /&gt;
&lt;br /&gt;
== Course structure ==&lt;br /&gt;
&lt;br /&gt;
We start with representing and converting facts, continue to rules, first monotonic, then probabilistic and nonmonotonic, then look into search and indexing of complex information, and finally, some learning.&lt;br /&gt;
&lt;br /&gt;
=== Intro and paradigms of knowledge representation ===&lt;br /&gt;
&lt;br /&gt;
Lecture materials:&lt;br /&gt;
* [[Media:Kr intro.ppt | Intro lecture: declarative and procedural representations]]&lt;br /&gt;
* [http://dl.dropbox.com/u/11794296/roboswarm_saso_2.pdf roboswarm example of combining dec and proc]&lt;br /&gt;
&lt;br /&gt;
For KR, declarative and procedural rep see:&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Knowledge_representation Short wiki overview of knowledge representation]&lt;br /&gt;
* [http://groups.csail.mit.edu/medg/ftp/psz/k-rep.html Long and philosophical MIT overview of knowledge representation]&lt;br /&gt;
* [http://www.cse.buffalo.edu/~rapaport/676/F01/proc.decl.html Pointers to classical papers]&lt;br /&gt;
* [http://www.cogarch.org/index.php/Main_Page A Survey of Cognitive and Agent Architectures]&lt;br /&gt;
* [ftp://reports.stanford.edu/pub/cstr/reports/cs/tr/76/581/CS-TR-76-581.pdf Classical KRL paper from 1977: Bobrow &amp;amp; Winograd]&lt;br /&gt;
Web mining by Nell:&lt;br /&gt;
* [http://rtw.ml.cmu.edu/rtw/ Nell]&lt;br /&gt;
* [http://www.cs.cmu.edu/~rcwang/ Richard Wang]&lt;br /&gt;
* [http://www.boowa.com/ boowa extractor]&lt;br /&gt;
&lt;br /&gt;
=== Databases: meaning and representation of facts ===&lt;br /&gt;
&lt;br /&gt;
Lecture material:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- * [[Media:Kr_plain_data_db_logic_draft.ppt|logic and databases intro draft]] --&amp;gt;&lt;br /&gt;
* [[Media:Kr_plain_data_db_logic.ppt | relation of plain data in databases to logic &amp;amp; representing complex structures in databases ]]&lt;br /&gt;
&amp;lt;!-- * [[Media:Kr_prop_val_pairs.ppt|property/value pairs]] --&amp;gt;&lt;br /&gt;
* [[Media:Kr_rdf_schemalessdb_3.pdf|key/value pairs and rdf, compared to the relational model]] &lt;br /&gt;
&lt;br /&gt;
See also about databases and logic:&lt;br /&gt;
&lt;br /&gt;
* [http://www.cs.rice.edu/~tlogic/Database/all-lectures.pdf Logic and Database Queries (readable)]&lt;br /&gt;
* [http://magenta.ruc.dk/dat_en/research/reports/127.pdf logic in databases workshop (complex stuff)]&lt;br /&gt;
&lt;br /&gt;
See also about RDF and related:&lt;br /&gt;
&lt;br /&gt;
* [http://cs.ttu.ee/kursused/wav4130/rdftutapp.pdf rdf tutorial addendum for logic and dbases]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Resource_Description_Framework RDF wikipedia]&lt;br /&gt;
* [http://www.w3.org/TR/rdf-primer/ w3c RDF primer]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/RDFa wiki intro]&lt;br /&gt;
* [[Media:portaalidekoosvoime.ppt]] or as pdf [[Media:portaalidekoosvoime.pdf]] &lt;br /&gt;
* [http://www.w3.org/2006/07/SWD/RDFa/primer/ w3c rdfa primer]&lt;br /&gt;
* [http://tripletalk.wordpress.com/2011/01/25/rdfa-deployment-across-the-web/ rdfa and microformats deployment now]&lt;br /&gt;
* [http://www.microformats.org microformats: a similar technology]&lt;br /&gt;
* [http://www.w3.org/TR/2003/NOTE-lbase-20031010/ Hayes &amp;amp; Guha Lbase]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Rules in logic: apps in planning, robotics, ... ===&lt;br /&gt;
&lt;br /&gt;
Lecture material:&lt;br /&gt;
* [[Media:Kr_rules1.pdf|Rules and logic: refresher]] and as [[Media:Kr_rules1.ppt|ppt]]&lt;br /&gt;
&lt;br /&gt;
Topics:&lt;br /&gt;
&lt;br /&gt;
* propositional, first order, higher order&lt;br /&gt;
* semantics/models&lt;br /&gt;
* proofs and deriving new information&lt;br /&gt;
* automated reasoning&lt;br /&gt;
&lt;br /&gt;
See also:&lt;br /&gt;
&lt;br /&gt;
* [[Media:Geoffreasoningnotes.pdf|Geoff reasoning course notes: just for background, no questions in exam]]&lt;br /&gt;
* [http://www.ee.pdx.edu/~mperkows/May4/005.Ch11-planning.ppt planning and blocks world]&lt;br /&gt;
* [[blocks world axiom/query examples from lecture]]&lt;br /&gt;
&lt;br /&gt;
=== Various rule/logic languages ===&lt;br /&gt;
&lt;br /&gt;
Lecture material:&lt;br /&gt;
* [[Media:Kr_rdfs.pdf|RDFS: rdf schema]] and as [[Media:Kr_rdfs.ppt|ppt]]&lt;br /&gt;
* [[Notes about RDF and OWL: logical meaning]]&lt;br /&gt;
&lt;br /&gt;
Several languages:&lt;br /&gt;
* RDFS&lt;br /&gt;
* OWL&lt;br /&gt;
* KIF &lt;br /&gt;
* CL &lt;br /&gt;
* ontologies&lt;br /&gt;
* wordnet&lt;br /&gt;
* cyc&lt;br /&gt;
* restricted english systems&lt;br /&gt;
&lt;br /&gt;
See also:&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Resource_Description_Framework RDF wikipedia]&lt;br /&gt;
* [http://www.w3.org/TR/rdf-primer/ w3c RDF primer]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Web_Ontology_Language OWL wikipedia]&lt;br /&gt;
* [http://www.w3.org/TR/owl-guide/ w3c OWL guide]&lt;br /&gt;
* [http://cl.tamu.edu/ CL main page], &lt;br /&gt;
* [http://attempto.ifi.unizh.ch/site/pubs/papers/phd_kaljurand.pdf Attempto restricted english]&lt;br /&gt;
&lt;br /&gt;
=== Scraping semistructured data ===&lt;br /&gt;
&lt;br /&gt;
* Example for background: http://www.sightsmap.com/&lt;br /&gt;
&lt;br /&gt;
=== Time, context, metainformation ===&lt;br /&gt;
&lt;br /&gt;
=== Probabilistic and nonmonotonic reasoning ===&lt;br /&gt;
&lt;br /&gt;
See also:&lt;br /&gt;
* [http://plato.stanford.edu/entries/logic-nonmonotonic/ nonmonotonic logic]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Default_logic default logic]&lt;br /&gt;
&lt;br /&gt;
=== Personalized search and recommendations ===&lt;br /&gt;
&lt;br /&gt;
=== Fast search of facts and rules using indexing ===&lt;br /&gt;
&lt;br /&gt;
* [http://www.lambda.ee/index.php/Pilt:IndexNotes04.ppt G. Molina lecture 4]&lt;br /&gt;
* [http://www.lambda.ee/index.php/Pilt:IndexNotes05.ppt G. Molina lecture 5]&lt;br /&gt;
* [http://www.lambda.ee/index.php/Pilt:Fulltext_indexes.ppt good intro and overview]&lt;br /&gt;
* [http://www.lambda.ee/index.php/Pilt:Mccuneindexing.pdf mccune paper about term indexes]&lt;br /&gt;
&lt;br /&gt;
=== Learning ===&lt;br /&gt;
&lt;br /&gt;
See also:&lt;br /&gt;
&lt;br /&gt;
* [http://www.cs.toronto.edu/~hinton/csc2515/notes/lec1.ppt intro]&lt;br /&gt;
* [http://gamma.cs.unc.edu/rob-course/public_html/LEC/MachineLearningMethods.ppt robots/cars]&lt;br /&gt;
* [http://www.cs.toronto.edu/~hinton/csc2515/notes/lec4.ppt backpropagation]&lt;br /&gt;
* [http://www.cs.toronto.edu/~hinton/csc2515/lectures.html good set of lecture materials]&lt;br /&gt;
* [http://www.cs.cmu.edu/~tom/mlbook-chapter-slides.html another good full set of lecture materials]&lt;br /&gt;
** sh [http://www.cs.cmu.edu/afs/cs.cmu.edu/project/theo-20/www/mlbook/ch4.pdf neural netw chapter]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
=== Learning ===&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
&lt;br /&gt;
* [http://www.cs.toronto.edu/~hinton/csc2515/notes/lec1.ppt intro]&lt;br /&gt;
* [http://gamma.cs.unc.edu/rob-course/public_html/LEC/MachineLearningMethods.ppt robots/cars]&lt;br /&gt;
* [http://www.cs.toronto.edu/~hinton/csc2515/notes/lec4.ppt backpropagation]&lt;br /&gt;
* [http://www.cs.toronto.edu/~hinton/csc2515/lectures.html good set of lecture materials]&lt;br /&gt;
* [http://www.cs.cmu.edu/~tom/mlbook-chapter-slides.html another good full set of lecture materials]&lt;br /&gt;
** sh [http://www.cs.cmu.edu/afs/cs.cmu.edu/project/theo-20/www/mlbook/ch4.pdf neural netw chapter]&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Kursus]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;owl:Class rdf:ID=&amp;quot;sugu&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;rdfs:subClassOf&amp;gt;&lt;br /&gt;
    &amp;lt;owl:Restriction&amp;gt;&lt;br /&gt;
      &amp;lt;owl:onProperty rdf:resource=&amp;quot;sugu&amp;quot; /&amp;gt;&lt;br /&gt;
      &amp;lt;owl:allValuesFrom rdf:resource=&amp;quot;sugu&amp;quot; /&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:Restriction&amp;gt;&lt;br /&gt;
  &amp;lt;/rdfs:subClassOf&amp;gt;&lt;br /&gt;
&amp;lt;/owl:Class&amp;gt;   &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Kalle</name></author>
	</entry>
	<entry>
		<id>http://www.lambda.ee/w/index.php?title=Teadmiste_otsing,_formaliseerimine_ja_hoidmine&amp;diff=6711</id>
		<title>Teadmiste otsing, formaliseerimine ja hoidmine</title>
		<link rel="alternate" type="text/html" href="http://www.lambda.ee/w/index.php?title=Teadmiste_otsing,_formaliseerimine_ja_hoidmine&amp;diff=6711"/>
		<updated>2012-02-20T16:06:02Z</updated>

		<summary type="html">&lt;p&gt;Kalle: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;table&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
[[Pilt:Mephistophiles small.gif| left|teadmised]] &lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
Code: &amp;lt;b&amp;gt;ITV0060&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Link: http://www.lambda.ee/index.php/Teadmiste_otsing,_formaliseerimine_ja_hoidmine  or http://www.lambda.ee/index/itv0060&amp;lt;br&amp;gt;&lt;br /&gt;
Lecturer: Tanel Tammet&amp;lt;br&amp;gt;&lt;br /&gt;
Contact: tammet@staff.ttu.ee, 6203457, TTÜ AK223&amp;lt;br&amp;gt;&lt;br /&gt;
Archives of previous years: [[itv0060 2011 arhiiv|2011]], [[itv0060 20010 arhiiv|2010]], [[itv0060 2009 arhiiv|2009]], [[itv0060 2008 arhiiv|2008]], [[itv0060 2007 arhiiv|2007]],   [[itv0060 2006 arhiiv|2006]], [http:/cs.ttu.ee/kursused/wav4130/ older].&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Time, place, result ==&lt;br /&gt;
&lt;br /&gt;
Semester: spring&amp;lt;br&amp;gt;&lt;br /&gt;
Grading: exam&amp;lt;br&amp;gt;&lt;br /&gt;
Points: 3.5&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Lectures: every Monday 12.00-13.30, room IT-137a&amp;lt;br&amp;gt;&lt;br /&gt;
Practical work: Mondays on odd weeks 10.00-11.30, room IT-213H:&amp;lt;br&amp;gt;31 jan, 14 feb, 28 feb, 14 mar, 28 mar, 4 apr, 18 apr, 2 may, 16 may.&lt;br /&gt;
&lt;br /&gt;
Practical work will give 40% and exam 60% of points underlying the final grade.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;Järeleksam 2011 sügis&amp;lt;/font&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Järeleksam toimub 26 august (reede): kell 10 auditoorium IT-137a &lt;br /&gt;
&lt;br /&gt;
== Eksam ja konsultatsioon ==&lt;br /&gt;
&lt;br /&gt;
16. mai: eksamiks õppimise materjalide ülevaade ja fikseerimine.&lt;br /&gt;
&lt;br /&gt;
Eksam:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
järeleksam 15 juuni (kolmapäev): kell 9 auditoorium IT-137a&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;15 juuni tulemused:&amp;lt;/font&amp;gt;, eksamipunktid viidud 0-60 skaalale:&lt;br /&gt;
* HP eksam 52p + 40p ettekanded, hinne 5&lt;br /&gt;
* GJ eksam 31p + 32p ettekanded, hinne 2&lt;br /&gt;
&lt;br /&gt;
3 juuni (reede): kell 9 auditoorium VI-121&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;3 juuni tulemused:&amp;lt;/font&amp;gt;, eksamipunktid viidud 0-60 skaalale:&lt;br /&gt;
* TT eksam 36p + 40p ettekanded, hinne 3&lt;br /&gt;
* RL eksam 40p + 40p ettekanded, hinne 4&lt;br /&gt;
* HP eksam 28p + 40p ettekanded, hinne 2&lt;br /&gt;
* VP eksam 22p + 40p ettekanded, hinne 2&lt;br /&gt;
* DA eksam 57p + 40p ettekanded, hinne 5&lt;br /&gt;
&lt;br /&gt;
8 juuni (kolmapäev): kell 9 auditoorium VII-131&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;8 juuni tulemused:&amp;lt;/font&amp;gt;, eksamipunktid viidud 0-60 skaalale:&lt;br /&gt;
* KL eksam 60p + 40p ettekanded, hinne 5&lt;br /&gt;
* ML eksam 51p + 40p ettekanded, hinne 5&lt;br /&gt;
* ET eksam 48p + 30p ettekanded, hinne 3&lt;br /&gt;
* DF eksam 58p + 40p ettekanded, hinne 5&lt;br /&gt;
&lt;br /&gt;
Järeleksam kevadel:&lt;br /&gt;
&lt;br /&gt;
* 15 juuni (kolmapäev): kell 9 auditoorium IT-137a&lt;br /&gt;
&lt;br /&gt;
== Practical work ==&lt;br /&gt;
&lt;br /&gt;
There are two labs on the same theme and an optional third lab.&lt;br /&gt;
&lt;br /&gt;
=== First lab === &lt;br /&gt;
&lt;br /&gt;
The main goal of the first lab is to web-scrape data from the public sources using search engines and simple text analysis/statistics.  &lt;br /&gt;
&lt;br /&gt;
Details in [[Teadmised first lab 2011]]. The lab should be completed by March, later presentation will cut the points to half.&lt;br /&gt;
&lt;br /&gt;
=== Second lab ===&lt;br /&gt;
&lt;br /&gt;
The main goal of the second lab is to augment data obtained from the first lab by writing and using probabilistic rules with a rule engine. &lt;br /&gt;
&lt;br /&gt;
Details in [[Teadmised second lab 2011]].&lt;br /&gt;
&lt;br /&gt;
=== Optional third lab ===&lt;br /&gt;
&lt;br /&gt;
The optional third lab can be done in parallel with the second. It will be a relatively complex lab: successful passing will give additional 20 points, thus the weight of the exam is diminished from 60% to 40% of the overall score. &lt;br /&gt;
&lt;br /&gt;
What to do: use Attempto to create a system such that you can write rules and/or facts and/or queries for the second lab in restricted english. These restricted english sentences have to be automatically converted to the form usable by Otter. It is a good idea to avoid probabilities in these rules, since it would be very hard to encode probabilities using attempto.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
See: http://attempto.ifi.uzh.ch/site/ , http://attempto.ifi.uzh.ch/ape/&lt;br /&gt;
&lt;br /&gt;
== Materials to study for the exam ==&lt;br /&gt;
&lt;br /&gt;
Eksamiküsimused:&lt;br /&gt;
&lt;br /&gt;
Väikesed ülesanded: data ja reeglite&lt;br /&gt;
esitamine ja kasutamine&lt;br /&gt;
&lt;br /&gt;
Andmebaas nö tüüpilise relatsioonilise&lt;br /&gt;
mudelina, key-value ja rdf kujul&lt;br /&gt;
&lt;br /&gt;
Ülesanne blocks worldist: esita mingi&lt;br /&gt;
olukord, mingi reegel ja näita rakendamise&lt;br /&gt;
tulemust&lt;br /&gt;
&lt;br /&gt;
RDF, RDFS ja OWL põhiasjad: väike&lt;br /&gt;
ülesanne. Süntaksid ja eridetailid&lt;br /&gt;
ei ole olulised.&lt;br /&gt;
&lt;br /&gt;
RDF ja RDFS esitada loogikas&lt;br /&gt;
faktide ja reeglitena, mõni&lt;br /&gt;
lihtne OWLi näide võib ka olla&lt;br /&gt;
&lt;br /&gt;
Arusaamine RDFa põhiasjadest, oskus&lt;br /&gt;
teha näidet.&lt;br /&gt;
&lt;br /&gt;
MÕni üldküsimus Nelli ja Attempto&lt;br /&gt;
kohta.&lt;br /&gt;
&lt;br /&gt;
Arusaam et mis on mittemonotoonne &lt;br /&gt;
loogika ja mis ei ole, mis oleks&lt;br /&gt;
viisid esitada vasturääkivaid&lt;br /&gt;
teadmisi. Võib olla väike ülesanne&lt;br /&gt;
mingite asjade esitamise kohta: näide&lt;br /&gt;
ja selgitus.&lt;br /&gt;
&lt;br /&gt;
Default loogika ülesanne a la linnud&lt;br /&gt;
ja Quaker diamond: panna kirja reeglid&lt;br /&gt;
ja viia läbi järeldused ja vbl selgitada&lt;br /&gt;
lisaks. Seos CWA, Prolog ja default loogika&lt;br /&gt;
vahel võib samuti küsimuse alla tulla.&lt;br /&gt;
&lt;br /&gt;
Indeksid: arusaam baasindekseerimis-ideedest&lt;br /&gt;
ja B+ treest. Ntx ehitada B+ mingi&lt;br /&gt;
väikese datahulga jaoks. Sama hashi kohta&lt;br /&gt;
ja bit indeksite kohta. Eriteemad a la&lt;br /&gt;
indeksi pakkimine ja erinevad hashi&lt;br /&gt;
viisid ei tule teemaks.&lt;br /&gt;
&lt;br /&gt;
Täistekstiindeksid: osata ehitada näite&lt;br /&gt;
pealt. Vt presentatsioonist erinevaid&lt;br /&gt;
viise, ntx Patricia trie.&lt;br /&gt;
&lt;br /&gt;
Termiindeksid: piisab discrimination&lt;br /&gt;
tree indeksist ja näite põhjal&lt;br /&gt;
indeksi ehitamisest.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Declarative and procedural representations ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Lecture material:&lt;br /&gt;
* [[Media:Kr intro.ppt | Intro lecture: declarative and procedural representations]]&lt;br /&gt;
&lt;br /&gt;
=== Databases: meaning and representation of facts ===&lt;br /&gt;
&lt;br /&gt;
* [[Media:Kr_plain_data_db_logic.ppt | relation of plain data in databases to logic &amp;amp; representing complex structures in databases ]]&lt;br /&gt;
* [[Media:Kr_rdf_schemalessdb_3.pdf|key/value pairs and rdf, compared to the relational model]] &lt;br /&gt;
&lt;br /&gt;
=== Rules in logic: apps in planning, robotics, ... ===&lt;br /&gt;
&lt;br /&gt;
Lecture material:&lt;br /&gt;
* [[Media:Kr_rules1.pdf|Rules and logic: refresher]] and as [[Media:Kr_rules1.ppt|ppt]]&lt;br /&gt;
&lt;br /&gt;
See also:&lt;br /&gt;
&lt;br /&gt;
* [[Media:Geoffreasoningnotes.pdf|Geoff reasoning course notes: just for background, no questions in exam]]&lt;br /&gt;
* [http://www.ee.pdx.edu/~mperkows/May4/005.Ch11-planning.ppt planning and blocks world]&lt;br /&gt;
* [[blocks world axiom/query examples from lecture]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== RDF, RDFS, OWL and conversion to 1st order logic ===&lt;br /&gt;
&lt;br /&gt;
Lecture material:&lt;br /&gt;
* [[Media:Kr_rdfs.pdf|RDFS: rdf schema]] and as [[Media:Kr_rdfs.ppt|ppt]]&lt;br /&gt;
&lt;br /&gt;
Understand RDF and RDFS:&lt;br /&gt;
&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Resource_Description_Framework RDF wikipedia]&lt;br /&gt;
* [http://www.w3.org/TR/rdf-primer/ w3c RDF primer]&lt;br /&gt;
&lt;br /&gt;
Understand basics of owl:&lt;br /&gt;
&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Web_Ontology_Language OWL wikipedia]&lt;br /&gt;
* [http://www.w3.org/TR/owl-guide/ w3c OWL guide]&lt;br /&gt;
&lt;br /&gt;
=== RDFa, reading and using RDF data from web pages ===&lt;br /&gt;
&lt;br /&gt;
Understand main parts:&lt;br /&gt;
&lt;br /&gt;
* [http://en.wikipedia.org/wiki/RDFa wiki intro]&lt;br /&gt;
* [[Media:portaalidekoosvoime.ppt]] or as pdf [[Media:portaalidekoosvoime.pdf]] &lt;br /&gt;
* [http://www.w3.org/2006/07/SWD/RDFa/primer/ w3c rdfa primer]&lt;br /&gt;
&lt;br /&gt;
=== RDF relation to logic ===&lt;br /&gt;
&lt;br /&gt;
Notes from lecture:&lt;br /&gt;
* [[Notes about RDF and OWL: logical meaning]]&lt;br /&gt;
&lt;br /&gt;
Understand a bit of:&lt;br /&gt;
* [http://www.w3.org/TR/2003/NOTE-lbase-20031010/ Hayes &amp;amp; Guha Lbase]&lt;br /&gt;
&lt;br /&gt;
=== Semantics of ordinary relational base === &lt;br /&gt;
&lt;br /&gt;
* [http://cs.ttu.ee/kursused/wav4130/rdftutapp.pdf rdf tutorial addendum for logic and dbases]&lt;br /&gt;
&lt;br /&gt;
===  First order logic in query engines and planning ===&lt;br /&gt;
&lt;br /&gt;
* [[Media:Geoffreasoningnotes.pdf|Geoff reasoning course notes: just for background, no questions in exam]]&lt;br /&gt;
* [http://www.ee.pdx.edu/~mperkows/May4/005.Ch11-planning.ppt planning and blocks world]&lt;br /&gt;
* [[blocks world axiom/query examples from lecture]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Data extraction ===&lt;br /&gt;
&lt;br /&gt;
Web mining by Nell:&lt;br /&gt;
* [http://rtw.ml.cmu.edu/rtw/ Nell]&lt;br /&gt;
&lt;br /&gt;
===  Restricted english jms ===&lt;br /&gt;
&lt;br /&gt;
* [http://attempto.ifi.unizh.ch/site/pubs/papers/phd_kaljurand.pdf Attempto restricted english]&lt;br /&gt;
&lt;br /&gt;
=== Uncertain knowledge logic ===&lt;br /&gt;
&lt;br /&gt;
* [http://plato.stanford.edu/entries/logic-nonmonotonic/ nonmonotonic logic]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Default_logic default logic]&lt;br /&gt;
* [http://sc.snu.ac.kr/courses/2008/spring/pg/krr/Lectures/Lecture11/Lec11.ppt Reasoning with Conflicting Knowledge]&lt;br /&gt;
&lt;br /&gt;
=== Indexes ===&lt;br /&gt;
&lt;br /&gt;
Traditional database indexes incl B+ tree:&lt;br /&gt;
* [http://www.lambda.ee/index.php/Pilt:IndexNotes04.ppt G. Molina lecture 4]&lt;br /&gt;
&lt;br /&gt;
Bitmap indexes:&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Bitmap_index wiki]&lt;br /&gt;
&lt;br /&gt;
Hash indexes:&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Hash_table wiki]&lt;br /&gt;
&lt;br /&gt;
Fulltext indexes:&lt;br /&gt;
* [http://www.lambda.ee/index.php/Pilt:Fulltext_indexes.ppt good intro and overview]&lt;br /&gt;
&lt;br /&gt;
Term indexes:&lt;br /&gt;
Understand basics of discrimination tree trie-type term indexes and path indexes from&lt;br /&gt;
* [http://www.lambda.ee/index.php/Pilt:Mccuneindexing.pdf mccune paper]&lt;br /&gt;
&lt;br /&gt;
== Course structure ==&lt;br /&gt;
&lt;br /&gt;
We start with representing and converting facts, continue to rules, first monotonic, then probabilistic and nonmonotonic, then look into search and indexing of complex information, and finally, some learning.&lt;br /&gt;
&lt;br /&gt;
=== Intro and paradigms of knowledge representation ===&lt;br /&gt;
&lt;br /&gt;
Lecture materials:&lt;br /&gt;
* [[Media:Kr intro.ppt | Intro lecture: declarative and procedural representations]]&lt;br /&gt;
* [http://dl.dropbox.com/u/11794296/roboswarm_saso_2.pdf roboswarm example of combining dec and proc]&lt;br /&gt;
&lt;br /&gt;
For KR, declarative and procedural rep see:&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Knowledge_representation Short wiki overview of knowledge representation]&lt;br /&gt;
* [http://groups.csail.mit.edu/medg/ftp/psz/k-rep.html Long and philosophical MIT overview of knowledge representation]&lt;br /&gt;
* [http://www.cse.buffalo.edu/~rapaport/676/F01/proc.decl.html Pointers to classical papers]&lt;br /&gt;
* [http://www.cogarch.org/index.php/Main_Page A Survey of Cognitive and Agent Architectures]&lt;br /&gt;
* [ftp://reports.stanford.edu/pub/cstr/reports/cs/tr/76/581/CS-TR-76-581.pdf Classical KRL paper from 1977: Bobrow &amp;amp; Winograd]&lt;br /&gt;
Web mining by Nell:&lt;br /&gt;
* [http://rtw.ml.cmu.edu/rtw/ Nell]&lt;br /&gt;
* [http://www.cs.cmu.edu/~rcwang/ Richard Wang]&lt;br /&gt;
* [http://www.boowa.com/ boowa extractor]&lt;br /&gt;
&lt;br /&gt;
=== Databases: meaning and representation of facts ===&lt;br /&gt;
&lt;br /&gt;
Lecture material:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- * [[Media:Kr_plain_data_db_logic_draft.ppt|logic and databases intro draft]] --&amp;gt;&lt;br /&gt;
* [[Media:Kr_plain_data_db_logic.ppt | relation of plain data in databases to logic &amp;amp; representing complex structures in databases ]]&lt;br /&gt;
&amp;lt;!-- * [[Media:Kr_prop_val_pairs.ppt|property/value pairs]] --&amp;gt;&lt;br /&gt;
* [[Media:Kr_rdf_schemalessdb_3.pdf|key/value pairs and rdf, compared to the relational model]] &lt;br /&gt;
&lt;br /&gt;
See also about databases and logic:&lt;br /&gt;
&lt;br /&gt;
* [http://www.cs.rice.edu/~tlogic/Database/all-lectures.pdf Logic and Database Queries (readable)]&lt;br /&gt;
* [http://magenta.ruc.dk/dat_en/research/reports/127.pdf logic in databases workshop (complex stuff)]&lt;br /&gt;
&lt;br /&gt;
See also about RDF and related:&lt;br /&gt;
&lt;br /&gt;
* [http://cs.ttu.ee/kursused/wav4130/rdftutapp.pdf rdf tutorial addendum for logic and dbases]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Resource_Description_Framework RDF wikipedia]&lt;br /&gt;
* [http://www.w3.org/TR/rdf-primer/ w3c RDF primer]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/RDFa wiki intro]&lt;br /&gt;
* [[Media:portaalidekoosvoime.ppt]] or as pdf [[Media:portaalidekoosvoime.pdf]] &lt;br /&gt;
* [http://www.w3.org/2006/07/SWD/RDFa/primer/ w3c rdfa primer]&lt;br /&gt;
* [http://tripletalk.wordpress.com/2011/01/25/rdfa-deployment-across-the-web/ rdfa and microformats deployment now]&lt;br /&gt;
* [http://www.microformats.org microformats: a similar technology]&lt;br /&gt;
* [http://www.w3.org/TR/2003/NOTE-lbase-20031010/ Hayes &amp;amp; Guha Lbase]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Rules in logic: apps in planning, robotics, ... ===&lt;br /&gt;
&lt;br /&gt;
Lecture material:&lt;br /&gt;
* [[Media:Kr_rules1.pdf|Rules and logic: refresher]] and as [[Media:Kr_rules1.ppt|ppt]]&lt;br /&gt;
&lt;br /&gt;
Topics:&lt;br /&gt;
&lt;br /&gt;
* propositional, first order, higher order&lt;br /&gt;
* semantics/models&lt;br /&gt;
* proofs and deriving new information&lt;br /&gt;
* automated reasoning&lt;br /&gt;
&lt;br /&gt;
See also:&lt;br /&gt;
&lt;br /&gt;
* [[Media:Geoffreasoningnotes.pdf|Geoff reasoning course notes: just for background, no questions in exam]]&lt;br /&gt;
* [http://www.ee.pdx.edu/~mperkows/May4/005.Ch11-planning.ppt planning and blocks world]&lt;br /&gt;
* [[blocks world axiom/query examples from lecture]]&lt;br /&gt;
&lt;br /&gt;
=== Various rule/logic languages ===&lt;br /&gt;
&lt;br /&gt;
Lecture material:&lt;br /&gt;
* [[Media:Kr_rdfs.pdf|RDFS: rdf schema]] and as [[Media:Kr_rdfs.ppt|ppt]]&lt;br /&gt;
* [[Notes about RDF and OWL: logical meaning]]&lt;br /&gt;
&lt;br /&gt;
Several languages:&lt;br /&gt;
* RDFS&lt;br /&gt;
* OWL&lt;br /&gt;
* KIF &lt;br /&gt;
* CL &lt;br /&gt;
* ontologies&lt;br /&gt;
* wordnet&lt;br /&gt;
* cyc&lt;br /&gt;
* restricted english systems&lt;br /&gt;
&lt;br /&gt;
See also:&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Resource_Description_Framework RDF wikipedia]&lt;br /&gt;
* [http://www.w3.org/TR/rdf-primer/ w3c RDF primer]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Web_Ontology_Language OWL wikipedia]&lt;br /&gt;
* [http://www.w3.org/TR/owl-guide/ w3c OWL guide]&lt;br /&gt;
* [http://cl.tamu.edu/ CL main page], &lt;br /&gt;
* [http://attempto.ifi.unizh.ch/site/pubs/papers/phd_kaljurand.pdf Attempto restricted english]&lt;br /&gt;
&lt;br /&gt;
=== Scraping semistructured data ===&lt;br /&gt;
&lt;br /&gt;
* Example for background: http://www.sightsmap.com/&lt;br /&gt;
&lt;br /&gt;
=== Time, context, metainformation ===&lt;br /&gt;
&lt;br /&gt;
=== Probabilistic and nonmonotonic reasoning ===&lt;br /&gt;
&lt;br /&gt;
See also:&lt;br /&gt;
* [http://plato.stanford.edu/entries/logic-nonmonotonic/ nonmonotonic logic]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Default_logic default logic]&lt;br /&gt;
&lt;br /&gt;
=== Personalized search and recommendations ===&lt;br /&gt;
&lt;br /&gt;
=== Fast search of facts and rules using indexing ===&lt;br /&gt;
&lt;br /&gt;
* [http://www.lambda.ee/index.php/Pilt:IndexNotes04.ppt G. Molina lecture 4]&lt;br /&gt;
* [http://www.lambda.ee/index.php/Pilt:IndexNotes05.ppt G. Molina lecture 5]&lt;br /&gt;
* [http://www.lambda.ee/index.php/Pilt:Fulltext_indexes.ppt good intro and overview]&lt;br /&gt;
* [http://www.lambda.ee/index.php/Pilt:Mccuneindexing.pdf mccune paper about term indexes]&lt;br /&gt;
&lt;br /&gt;
=== Learning ===&lt;br /&gt;
&lt;br /&gt;
See also:&lt;br /&gt;
&lt;br /&gt;
* [http://www.cs.toronto.edu/~hinton/csc2515/notes/lec1.ppt intro]&lt;br /&gt;
* [http://gamma.cs.unc.edu/rob-course/public_html/LEC/MachineLearningMethods.ppt robots/cars]&lt;br /&gt;
* [http://www.cs.toronto.edu/~hinton/csc2515/notes/lec4.ppt backpropagation]&lt;br /&gt;
* [http://www.cs.toronto.edu/~hinton/csc2515/lectures.html good set of lecture materials]&lt;br /&gt;
* [http://www.cs.cmu.edu/~tom/mlbook-chapter-slides.html another good full set of lecture materials]&lt;br /&gt;
** sh [http://www.cs.cmu.edu/afs/cs.cmu.edu/project/theo-20/www/mlbook/ch4.pdf neural netw chapter]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
=== Learning ===&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
&lt;br /&gt;
* [http://www.cs.toronto.edu/~hinton/csc2515/notes/lec1.ppt intro]&lt;br /&gt;
* [http://gamma.cs.unc.edu/rob-course/public_html/LEC/MachineLearningMethods.ppt robots/cars]&lt;br /&gt;
* [http://www.cs.toronto.edu/~hinton/csc2515/notes/lec4.ppt backpropagation]&lt;br /&gt;
* [http://www.cs.toronto.edu/~hinton/csc2515/lectures.html good set of lecture materials]&lt;br /&gt;
* [http://www.cs.cmu.edu/~tom/mlbook-chapter-slides.html another good full set of lecture materials]&lt;br /&gt;
** sh [http://www.cs.cmu.edu/afs/cs.cmu.edu/project/theo-20/www/mlbook/ch4.pdf neural netw chapter]&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Kursus]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;owl:Class rdf:ID=&amp;quot;sugu&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;rdfs:subClassOf&amp;gt;&lt;br /&gt;
    &amp;lt;owl:Restriction&amp;gt;&lt;br /&gt;
      &amp;lt;owl:onProperty rdf:resource=&amp;quot;sugu&amp;quot; /&amp;gt;&lt;br /&gt;
      &amp;lt;owl:allValuesFrom rdf:resource=&amp;quot;sugu&amp;quot; /&amp;gt;&lt;br /&gt;
    &amp;lt;/owl:Restriction&amp;gt;&lt;br /&gt;
  &amp;lt;/rdfs:subClassOf&amp;gt;&lt;br /&gt;
&amp;lt;/owl:Class&amp;gt;   &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Kalle</name></author>
	</entry>
</feed>