100 likes | 232 Views
The Semantic Web extends the traditional web by enabling computers to understand and process data meaningfully. While the current web is designed for human readability and cannot express meaning, the Semantic Web utilizes structured architectures like URIs, XML, and ontological languages to enhance data interoperability. Key technologies, including RDF and OWL, facilitate machine comprehension of semantic documents,. This enables a new era of knowledge management where web services and agents can efficiently manipulate and comprehend information.
E N D
The Web Today • Designed for Human to read • Cannot express meaning • Architecture: URL • Decentralized: Link structure • Language: html
XML • HTML • Tag + Rule • XML separates data and its display • Tag • XML cannot express meaning • DTD design a XML document
Semantic Web • Designed for computer program to manipulate meaningfully. • An extension of the current Web • A Knowledge web that enables machines to comprehend semantic documents and data. • Express meaning by ontological language.
URI • Architecture • Universial Resource Identifier • Language • XML + XMLS • RDF + RDFS • DAML + OIL • OWL
Technology and Tools • Description Logics • Frame-based Systems • Standard Web • Web Service Agents
XML Parser • DocumentBuilderFactory factory • DocumentBuilder builder • Document doc • Node root = doc.getDocumentElement() • NodeList l = root.getChildNodes() • Node current = l.item(i) • Node type: DOCUMENT_NODE, ELEMENT_NODE, TEXT_NODE
XSLT • Transform an XML document to other format • <xsl:template match=”booklist”> <xsl:for-each select=”book”> <xsl:value-of select=”title”/> </xsl:for each> </xsl:template>