BBY 464 Semantic Information Management (Spring 2016) URIs, XML and XML Schema Yaşar Tonta & Orçun Madran [yasartonta, orcunmadran]@gmail.com Hacettepe University Department of Information Management
Semantic Web
From Syntactic to Semantic Interoperability
Applications of representation of metadata Card index (DC) Privacy info (P3P) IPR labeling (PICS labels) Schema layer DTDs Needed to check if elements are used in appropriate places Conversion languages
Logical layer: Different databases talking to each other
URIs
URIs Cool URIs don’t change https://www.w3.org/Provider/Style/URI “URIs don’t change; people change them” Why do they get changed? Designing persistent URIs http://yunus.hacettepe.edu.tr/~tonta/yayinlar/tonta-acik_bilim_ve_acik_erisim.pdf How about www.hun.edu.tr? Would it still work?
URLs
IRIs What is the difference between IRIs and URIs? URIs use ASCII whereas IRIs use Universal Character Set (UTF-8 character encoding, accounting for 86.4% of all Web pages as of January 2016) What does that mean?
XML Human- and machine-readable markup language Simple, general, usable Document formats using XML: RSS, Atom, SOAP, XHTML . .
Document Type Definitions (DTDs) DTDs are the most widely supported schema language for XML Syntax
HTML 4.01 DTDs
XHTML 1.1 DTD (most current version)
XML Markup Languages https://en.wikipedia.org/wiki/List_of_XML_markup_languages
HTML5 DTD-less DOCTYPE HTML5 uses a DOCTYPE declaration which is very short, due to its lack of references to a DTD in the form of a URL or FPI. All it contains is the tag name of the root element of the document, HTML.[5] In the words of the specification draft itself: In other words, <!DOCTYPE html>, case-insensitively.
XML Schema Schema: an abstract collection of metadata consisting of a set of schema components (ie, element and attribute declarations) XML Schema specifies how to formally describe the elements in an XML document XML Schema is one of several XML schema languages
Graphical representation of a schema
XML document conforming to this schema
List of XML schemas https://en.wikipedia.org/wiki/List_of_types_of_XML_schemas BeerXML
Assignment http://www.acikders.net/mod/page/view.php?id=1814 Due next week