Chapter 2 Structured web documents in XMl Grigoris Antoniou Frank van Harmelen 1 Chapter 2 A Semantic Web Primer
1 Chapter 2 A Semantic Web Primer Chapter 2 Structured Web Documents in XML Grigoris Antoniou Frank van Harmelen
An HTML Example <h2>Nonmonotonic Reasoning Context Dependent Reasoning </h2> <i>by <b>V Marek</b> and <b>M. Truszczynski</b></><br> Springer 1993<br> SBN0387976892 Chapter 2 A Semantic Web primer
Chapter 2 A Semantic Web Primer 2 An HTML Example <h2>Nonmonotonic Reasoning: ContextDependent Reasoning</h2> <i>by <b>V. Marek</b> and <b>M. Truszczynski</b></i><br> Springer 1993<br> ISBN 0387976892
The Same Example in XML <book> <title>Nonmonotonic Reasoning: Context Dependent Reasoning</title> <author>v marek</author> <author>M. truszczynski</author> <publisher> Springer</publisher> <year>1993</year> <|SBN>0387976892</SBN> </book> 3 Chapter 2 A Semantic Web primer
Chapter 2 A Semantic Web Primer 3 The Same Example in XML <book> <title>Nonmonotonic Reasoning: ContextDependent Reasoning</title> <author>V. Marek</author> <author>M. Truszczynski</author> <publisher>Springer</publisher> <year>1993</year> <ISBN>0387976892</ISBN> </book>
HTML Versus XML: similarities o Both use tags(e.g <h2> and </year>) o Tags may be nested(tags within tags) o Human users can read and interpret both HTML and XML representations quite easily But how about machines Chapter 2 A Semantic Web primer
Chapter 2 A Semantic Web Primer 4 HTML versus XML: Similarities ⚫ Both use tags (e.g. <h2> and </year>) ⚫ Tags may be nested (tags within tags) ⚫ Human users can read and interpret both HTML and XML representations quite easily … But how about machines?
Problems with automated Interpretation of HTML Documents An intelligent agent trying to retrieve the names of the authors of the book o Authors names could appear immediately after the title o or immediately after the word by Are there two authors? e Or just one, called"V Marek and M Truszczynski? 5 Chapter 2 A Semantic Web primer
Chapter 2 A Semantic Web Primer 5 Problems with Automated Interpretation of HTML Documents An intelligent agent trying to retrieve the names of the authors of the book ⚫ Authors’ names could appear immediately after the title ⚫ or immediately after the word by ⚫ Are there two authors? ⚫ Or just one, called “V. Marek and M. Truszczynski”?