During this course of 11 weeks, various aspects have been covered about advanced web technologies which are the following:
[2] http://www.w3schools.com/dtd/dtd_summary.asp
[3] http://www.w3schools.com/dtd/dtd_entities.asp
[4] http://www.w3schools.com/xml/xml_cdata.asp
[5] http://www.w3schools.com/xml/xml_encoding.asp
[6] http://www.w3schools.com/xlink/xlink_intro.asp
[7] http://www.xaprb.com/blog/2006/03/16/simple-and-complex-types-in-xml-schema/
[8] http://www.obitko.com/tutorials/ontologies-semantic-web/semantic-web-architecture.html
- eXtensible Markup Language (XML) - is a markup language used to store and share data. An XML document should consist of a root element and also should contain proper nesting in tags (forming a tree structures). Also, the tags are case sensitive and each element should have a closing tags. For further information as regards an element, attributes (that should be quoted) are used. When these rules are followed, the XML document is well-formed. A valid document should be well-formed and also should follow the restrictions which have been specified in the Document Type Definition (DTD).[1]
- Document Type Definition (DTD) - A DTD is used to describe the elements of an XML document. A DTD can either be declared inside the XML document or externally. Elements are declared using the
ELEMENTdeclaration, while attributes are declared using theATTLISTdeclaration. In a DTD, entities are variables that are used to create shortcut to text.[2] AnENTITYcan also be known as escape sequences, used for special characters.[3] - XML CDATA - In a Parsed Character Data (PCDATA), data will be parsed by the XML parser. On the other hand, in Character Data (CDATA), data will not be parsed, that is, data will be ignored.[4]
- XML Encoding - An XML document can consist of characters that are not (American Standard Code for Information Interchange) ASCII. Therefore to eliminate errors, an XML encoding should be specified. Another alternative is by saving the XML documents as Unicode.[5]
- XML Namespaces - Namespaces are used to avoid conflicts on element names.
- Cascading Style Sheets (CSS) - Cascading Style Sheets can be used to style both the XML and HTML document. Usually in an XML document, eXtensible Stylesheet Language (XSL) is used for styling.
- XML Path Language (XPath) - Is used to extract specific information inside the XML document.
- XLink and Xpointer - XLink is used to embed hyperlinks inside the XML document. To make a hyperlink pointing to particular parts of the XML document, XPointer should be used.[6]
- XML Schema - An XML schema is an alternative to a DTD, but has more benefits. XML schemas are written using XML and includes data types and namespaces. In an XML schema, complex types (
complexType) can contain attributes or child nodes, whereas simple types (simpleType) cannot contain attributes or child elements[7].
XML Editors
A web developer can create XML documents using XML editors instead of a normal text editor. These editors will help the developer creating a well-formed and valid XML document. Two known XML editors are:- Altova XML Spy: http://www.altova.com/xml-editor/
- Stylus Studio: http://www.stylusstudio.com/
Sematic Web Stack
To sum things up, to create Semantic web, the following languages or technologies (forming a stack)[8] are used:![]() |
| Semantic Web Stack |
- Unicode and Uniform Resource Identifier (URI) - Unicode is used to encode character sets that are international, whereas a URI is used to uniquely identify resources;
- eXtensible Markup Language (XML) - The XML layer uses namespaces and XML schema definitions to ensure that the syntax used is common. Namespaces and XML schema have been briefly described above;
- Resource Description Framework (RDF) - RDF is a framework used to represent information on resources;
- RDF Schema (RDFS) - RDFS is an extension to RDF. It can be used to depict taxonomies (classification) of classes;
- Web Ontology Language (OWL) - OWL is an extension to RDF and RDFS used to describe logics;
- Simple Protocol and RDF Query Language (SPARQL) - It is used to query RDF data, RDFS and OWL ontologies;
- Rules - Rule languages are used to produce rules. Exaples of rule languages are Rule Interchange Format (RIF) and Semantic Web Rule Language (SWRL);
- Proof and Trust - Results will be trusted when the inputs for the proof are trusted;
- Cryptography - Digital signatures are used to verify the sources.
Sources:
[1] http://www.w3schools.com/xml/xml_summary.asp[2] http://www.w3schools.com/dtd/dtd_summary.asp
[3] http://www.w3schools.com/dtd/dtd_entities.asp
[4] http://www.w3schools.com/xml/xml_cdata.asp
[5] http://www.w3schools.com/xml/xml_encoding.asp
[6] http://www.w3schools.com/xlink/xlink_intro.asp
[7] http://www.xaprb.com/blog/2006/03/16/simple-and-complex-types-in-xml-schema/
[8] http://www.obitko.com/tutorials/ontologies-semantic-web/semantic-web-architecture.html




