sw 1

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson
Download our mobile app to listen on the go
Get App

Questions and Answers

Which of the following best describes the relationship between the Internet and the World Wide Web?

  • The Internet is a subset of the World Wide Web.
  • The World Wide Web is a collection of interconnected networks, while the Internet provides the software for accessing resources.
  • The Internet is the underlying infrastructure, and the World Wide Web is a system of interconnected resources accessed over it. (correct)
  • There is no difference; the terms Internet and World Wide Web are interchangable.

What was a key innovation introduced by Doug Engelbart's oNLine System (NLS)?

  • The integration of ARPANET for remote collaboration.
  • The use of punch cards for data input.
  • The introduction of hypertext, word processing and data sharing. (correct)
  • The development of the first commercial web browser.

Which of the following figures is most associated with the conceptualization of Xanadu?

  • Doug Engelbart
  • Tim Berners-Lee
  • Ted Nelson (correct)
  • Vannevar Bush

What role did IETF play in shaping the World Wide Web?

<p>It established the standards for URIs and HTTP. (C)</p> Signup and view all the answers

What is the primary function of the Internet Assigned Numbers Authority (IANA)?

<p>To coordinate IP address allocation and manage the DNS. (D)</p> Signup and view all the answers

Which of the following examples is the BEST illustration of Metcalfe's Law?

<p>The value of a social network increases exponentially with each new user. (A)</p> Signup and view all the answers

Within the structure of a URI, what is the function of the 'scheme' component?

<p>It defines the type of the URI and the associated protocol. (B)</p> Signup and view all the answers

Which RFCs are most important to understand Message Syntax and Routing and Semantics and Content?

<p>RFC 7230 and RFC 7231 (C)</p> Signup and view all the answers

Which organization is responsible for setting standards for the World Wide Web?

<p>The World Wide Web Consortium (W3C) (A)</p> Signup and view all the answers

If a web server returns a 301 status code in response to an HTTP request, what does this indicate?

<p>The requested resource has been permanently moved to a new URI. (C)</p> Signup and view all the answers

Arrange the following specifications categories assigned by the IETF from initial to most mature.

<p>Draft Standard, Proposed Standard, Internet Standard (B)</p> Signup and view all the answers

What is the primary difference between HTML and XML in terms of syntax requirements?

<p>XML requires stricter syntax than HTML. (A)</p> Signup and view all the answers

Which element in the HTTP request/response structure is always mandatory?

<p>Start line (C)</p> Signup and view all the answers

What concept did Vannevar Bush introduce to organize and access information in a way that mimics human thought processes?

<p>The Memex (B)</p> Signup and view all the answers

Which HTTP header enables content negotiation, allowing the user agent to specify preferred media types?

<p>Accept (D)</p> Signup and view all the answers

In the context of URIs and the Semantic Web, what is the most critical difference between a resource and a URI?

<p>A resource is an abstract or concrete thing, while a URI is the name or identifier for that thing. (B)</p> Signup and view all the answers

Which of the following is a core architectural principle that enabled the rapid growth and scalability of the web?

<p>A network design without mandatory backlinks (D)</p> Signup and view all the answers

What role does the 'Content-Location' header play in HTTP communications?

<p>It indicates that the content of the message body is available at a different location than the requested URI. (D)</p> Signup and view all the answers

By status codes, the server interacts with the user agent, reporting success, ________, etc.

<p>Failure (C)</p> Signup and view all the answers

What are the main functions of web architecture?

<p>To correctly use URIs and HTTP in context with the web. (D)</p> Signup and view all the answers

Which of the following is NOT an example of valid URI?

<p>index.html (C)</p> Signup and view all the answers

What is the function of a user agent in web communications?

<p>It is used for browsing websites and requesting resources. (B)</p> Signup and view all the answers

The process of figuring out the media type of messages is called?

<p>Content negotiation (A)</p> Signup and view all the answers

A _______is a stateless application-level protocol for distributed, collaborative, hypertext information systems?

<p>HTTP (C)</p> Signup and view all the answers

Which of the following is an example of URI scheme?

<p>http (D)</p> Signup and view all the answers

Besides web browsers, user agents can be?

<p>Household appliances, cars, command line programs (A)</p> Signup and view all the answers

Which figure is most closely associated with the initial proposal for the World Wide Web?

<p>Tim Berners-Lee. (B)</p> Signup and view all the answers

Which status code classification defines client errors?

<p>4xx (C)</p> Signup and view all the answers

What is the goal of the World Wide Web Consortion?

<p>The worldwide availability of web access. (A)</p> Signup and view all the answers

What is the function of the HTTP GET method?

<p>Request a representation of the specified resource (D)</p> Signup and view all the answers

Who were the individuals that initiated HTML5?

<p>Apple, the Mozilla Foundation and Opera Software (B)</p> Signup and view all the answers

Which of the following best describes the focus of the W3C's Web Architecture Group?

<p>Establishing the principles of web architecture. (C)</p> Signup and view all the answers

Which of the following is a core function of IANA?

<p>Coordinating the allocation of IP addresses. (C)</p> Signup and view all the answers

What is the relationship between ICANN and IANA?

<p>IANA is a department within ICANN. (A)</p> Signup and view all the answers

Which of the following is a key characteristic of HTTP?

<p>Stateless communication. (B)</p> Signup and view all the answers

What does the 'Accept' header field in an HTTP request specify?

<p>The acceptable media types the client understands. (A)</p> Signup and view all the answers

In the context of HTTP communication, what is 'content negotiation'?

<p>The process of determining the media type of messages. (A)</p> Signup and view all the answers

Which of the following components of a URI is optional?

<p>Query. (D)</p> Signup and view all the answers

Which part of the URI contains the hostname?

<p>Authority (D)</p> Signup and view all the answers

A web server responds to a request with a '301 Moved Permanently' status code. What should the client generally do?

<p>Use the URI provided in the 'Location' header for future requests. (B)</p> Signup and view all the answers

What is the role of the 'Content-Location' header in an HTTP response?

<p>Indicates where the content of the message body is actually available. (B)</p> Signup and view all the answers

What is the primary purpose of HTTP methods like GET?

<p>To indicate the purpose of the request to the server. (A)</p> Signup and view all the answers

Which header is mandatory in HTTP request/response structure?

<p>Start line (A)</p> Signup and view all the answers

How is a request related to a response in HTTP?

<p>A request is a prerequisite for a server to issue a response back to the user agent. (C)</p> Signup and view all the answers

Which of the following is a key difference between HTML and XML?

<p>XML is for organizing and formatting structured data, while HTML's primary role is to display information in a web browser. (D)</p> Signup and view all the answers

Which of the following is an accurate description of the Internet Engineering Task Force (IETF)?

<p>A standards organization that develops and promotes voluntary Internet standards. (C)</p> Signup and view all the answers

How does the design of the web address the need for governance and standardization?

<p>The Internet Engineering Task Force plays a key role in specification. (B)</p> Signup and view all the answers

Which of the following is an example of a specification status category assigned by the IETF?

<p>Standards Track (A)</p> Signup and view all the answers

What does Postel's Robustness Principle generally advise?

<p>Be conservative in what you do, be liberal in what you accept from others. (B)</p> Signup and view all the answers

What is the significance of the HTTP start line?

<p>It provides the essential information for the request or the response. (A)</p> Signup and view all the answers

What is 'permissionless innovation' as it relates to the web's architecture?

<p>The freedom to create and deploy new technologies without needing prior authorization. (C)</p> Signup and view all the answers

What is one of the benefits from a decentralised system?

<p>Removal of single point of failure (A)</p> Signup and view all the answers

What is the most important feature of HTML?

<p>Linking to other documents (B)</p> Signup and view all the answers

Which RFCs are specific for HTTP/1.1?

<p>RFC 7230 and RFC 7231 (D)</p> Signup and view all the answers

What does the '303 See Other' status code tell the client?

<p>Consult another URI. (A)</p> Signup and view all the answers

What is 'content negotiation'?

<p>Process of getting the media type (D)</p> Signup and view all the answers

Which of the following statement is true regarding the HTTP protocol?

<p>HTTP is a stateless protocol (D)</p> Signup and view all the answers

If the server returns a 404 status code in response to an HTTP request, what does this indicate?

<p>The requested resource cannot be found. (C)</p> Signup and view all the answers

The TCP connection uses which Header Field?

<p>Host (A)</p> Signup and view all the answers

What is the function of User Agents?

<p>Protocol used to display to the clients HTTP, FTP, Gopher. (A)</p> Signup and view all the answers

Which is a good value for a good feedback loop?

<p>Value of network grows with number of participants (B)</p> Signup and view all the answers

What does Postel's Law state?

<p>Be conservative in what you do, be liberal in what you accept from others (B)</p> Signup and view all the answers

Why is standardization necessary for the web?

<p>So that users can understand the content, service integration, and more. (B)</p> Signup and view all the answers

Which RFC provides semantics and content?

<p>7231 (B)</p> Signup and view all the answers

Which components makes up an HTTP message tuple?

<p>Start Line, Header, Body (B)</p> Signup and view all the answers

How is an HTTP interaction modeled?

<p>http(req) = resp (C)</p> Signup and view all the answers

Which is the correct way to write a URI?

<p>scheme, hierarchical part, query (D)</p> Signup and view all the answers

Which is the correct form to get from Apple to Google?

<p>Apple -- Access -- RDF Dataset -- Google (D)</p> Signup and view all the answers

What is meant by the scalability issue on the web?

<p>Growth of the web (A)</p> Signup and view all the answers

Which of the following statements accurately reflects the relationship between the Internet's architecture and the concept of standardization?

<p>Despite its decentralized nature, the Internet relies on standards set by bodies like the IETF and ICANN for key protocols and functions. (C)</p> Signup and view all the answers

When a web server employs content negotiation, what mechanism does it use to signal to the user agent the specific location of the content it has chosen to deliver?

<p>The 'Content-Location' header. (D)</p> Signup and view all the answers

How does the concept of 'statelessness' in HTTP impact the design and operation of web applications?

<p>It enables simpler scalability but necessitates the use of mechanisms like cookies or session IDs to manage persistent user sessions. (D)</p> Signup and view all the answers

How do architectural styles, like Representational State Transfer (REST), contribute to the scalability and maintainability of the World Wide Web?

<p>They provide a set of constraints that, when followed, lead to more uniform, scalable, and evolvable systems. (A)</p> Signup and view all the answers

How does the structure of a URI contribute to the identification and retrieval of resources on the web?

<p>The scheme identifies the protocol, the authority specifies the naming authority, and the path locates the resource within that authority. (A)</p> Signup and view all the answers

Flashcards

What is a Memex?

A device where an individual stores all his books, records, and communication

Augmenting Human Intellect means...

Increasing a man's capability to approach a complex problem, gain comprehension and derive solutions

WWW's Goal

Using computers to analyze, make sense of what we're doing; to better work together

Metcalfe's Law

The rationale that the value of a network increases proportionally to the square of the number of users

Signup and view all the flashcards

IETF's Role

An organization that promotes the development and evolution of the Internet and its technologies.

Signup and view all the flashcards

What are RFCs

Specifications of protocols, methods, and concepts essential for operating systems on the Internet

Signup and view all the flashcards

Postel's Law

Be conservative in what you do, be liberal in what you accept from others

Signup and view all the flashcards

What is ICANN?

The main organization that governs the internet

Signup and view all the flashcards

IANA's role

Assigning IP addresses and administers the Domain Name System.

Signup and view all the flashcards

IP's Function

Responsible for sending packets to devices in a network

Signup and view all the flashcards

TCP's function

Responsible for breaking data into packets to fit IP

Signup and view all the flashcards

What is a URI?

A character sequence that identifies a resource

Signup and view all the flashcards

URI's structure

A scheme, authority, path, query, and fragment

Signup and view all the flashcards

URI scheme

Specifies type of URI and associated protocol

Signup and view all the flashcards

URI authority

Hostname and optional port number

Signup and view all the flashcards

URI path

Reference to content on the host server

Signup and view all the flashcards

URI query

Data not matching tree structure like variables

Signup and view all the flashcards

URI fragment

Address local part of document

Signup and view all the flashcards

Internet's role

Used for global data exchange

Signup and view all the flashcards

What is HTTP

The foundation of the World Wide Web

Signup and view all the flashcards

Key HTTP RFCs

Message syntax/routing plus semantics/content

Signup and view all the flashcards

HTTP Definition

A stateless application-level protocol for distributed and collaborative hypermedia information systems

Signup and view all the flashcards

HTTP User agents

Web browsers, appliances, cars

Signup and view all the flashcards

What is An HTTP server?

Traditional servers, devices offering data access

Signup and view all the flashcards

HTTP Interaction

User agent establishes connection, transmits request, gets response, connection terminates

Signup and view all the flashcards

HTTP 301

Indicates the server has moved content to a new location

Signup and view all the flashcards

Content Negotiation

The server and client automatically negotiate data type

Signup and view all the flashcards

Select Content Types

Any, HTML, XHTML, RDF/XML, JSON-LD, Turtle, N3

Signup and view all the flashcards

Linking ability

The most important feature of HTML

Signup and view all the flashcards

What is XML?

Format readable to humans and machines

Signup and view all the flashcards

Study Notes

  • This lecture introduces Semantic Web technologies
  • It describes how the web works

Course Information

  • Lecture C01 covers hypertext, the Internet, and the Web
  • The lecturer is Prof. Stefan Decker
  • Slides are by Rezaul Karim, Sascha Welten, and Lars Gleim
  • Exercises are mandatory, needing at least 50% points to qualify for the final exam
  • Six exercises are to be be submitted online and will be auto-graded
  • Exercises are based on Jupyter notebooks, but exercise 1 is an exception
  • Notebooks can be accessed through RWTH Jupyter Hub at https://jupyter.rwth-aachen.de
  • Exercise information can be found in the Moodle room

Creative Commons License

  • The slides are derived from the "Semantic Web Technologies" lecture at RWTH Aachen University
  • Slides are based on previous work by Stefan Decker, Benedikt Köhler, Andreas Harth, and Lars Gleim
  • Content is licensed under a Creative Commons Attribution 4.0 International License (CC BY 4.0)
  • License details: http://creativecommons.org/licenses/by/4.0/

Semantic Web Context

  • Semantic Web bridges databases, knowledge representation/AI, and the Internet
  • It combines elements of data management, AI, and web technologies

Agenda

  • The vision
  • The Internet
  • The World Wide Web
  • Towards a Web of Data

A History of Communication

  • Cave drawings were an early form of communication (10000 BC)
  • Sumerian cuneiform marked the advent of writing (3200 BC)
  • Gutenberg's printing press revolutionized information dissemination (1450)
  • Photography (Daguerre, 1839), Phonograph (Edison, 1877), Movies (Lumiere, 1895)

Early Visionaries

  • Paul Otlet: Developed hierarchical modelling for organizing knowledge.
  • Vannevar Bush (1945): Envisioned the "Memex" as a device for storing and retrieving books, records, and communications.
  • J.C.R. Licklider (1965): Discussed the possibility of systems that could transfer chemical formulas without human reading or key pressing.
  • Doug Engelbart (1968): Created the oNLine System (NLS), featuring the mouse, word processing, data sharing, and hypertext.
  • Ted Nelson (1960s): Conceived Xanadu, emphasizing the deep interconnection of everything

ARPANET and the Internet

  • The ARPANET was created by John Postel, David Crocker, and Vint Cerf, with the first internet protocols being defined (1969)
  • Vint Cerf and Bob Kahn are key figures in the Internet's development
  • The internet Architecture has a need for Internet Standardization and governance

Internet Engineering Task Force (IETF)

  • The IETF is hosted by the Internet Society and provides a forum for internet technology specifications
  • Specifications are called Request for Comments (RFCs) and provide essential protocols, methods, and concepts
  • It also published RFCs that serve as foundation of the World Wide Web: Uniform Resource Identifiers (URIs) and Hypertext Transfer Protocol (HTTP)
  • Internet standards are specifications with significant implementation and operational experience

The Robustness Principle

  • Jon Postel (1943-1998) was an RFC editor and Internet Hall of Fame Pioneer
  • Postel's Robustness Principle (RFC 793) states a system should "be conservative in what you do, be liberal in what you accept from others."
  • Internet systems should be strict in what they emit, and liberal in what they accept

Governance of the Internet

  • The Internet Corporation for Assigned Names and Numbers (ICANN) governs the internet
  • ICANN is an internationally organized, non-profit with responsibility for Internet Protocol address space allocation, protocol identifier assignment, domain name system management, and root server system management functions
  • IANA (a department of ICANN) coordinates IP address allocation and administers the DNS
  • DNS is hierarchically organized and maps hostnames to IP addresses

IETF Internet Standards

  • Internet Protocol (IP) RFC 791 (Sept 1981) is responsible for sending packets
  • Transmission Control Protocol (TCP) RFC 793 (Sept 1981) is responsible for breaking data into packets
  • Domain Names RFC 1034 (Nov 1987) introduces the Domain Name System (DNS)

Network Effects

  • Metcalfe's Law states that the cost of a network is proportional to the number of cards installed, while the value is proportional to the square of the number of users

World Wide Web

  • Vision: the computers help people analyse and make sense of what they are doing
  • Goal is to work better together.

Web Architecture

  • Web architecture principles are published in "Architecture of the World Wide Web, Volume One" (W3C, 2004)
  • Document covers URIs and HTTP usage within the web
  • Representational State Transfer (REST) is the theoretical foundation

Resources

  • Resource definition is An abstract notion for things of discourse, be they abstract or concrete, physical or virtual
  • electronic documents, images, collections of other resources, chemical elements, numeric values, rooms
  • "files" : Information resources
  • "directories": Collection Resources
  • Non-information Resources: abstract concepts

Uniform Resource Identifiers (URIs)

  • URI definition is A uniform Resource Identifier (URI) is a character sequence that identified a resrouce
  • URIs are names for resources, and are defined in RFC 3986 (Jan 2005; Internet Standard)

Valid URI Examples

URI Structure

  • The generic URI syntax includes the scheme, authority, path, query, and fragment with an URI syntax specification in RFC 3986
  • The hierarchical part contains the authority (headed by "//") and an optional path
  • URI = scheme ":" hierarchical part[ "?" query ][ "#" fragment ]
  • Scheme specifies the URI type and associated protocol
  • Authority includes hostname and optional port number
  • Path references content and can be interpreted hierarchically
  • Query contains data that does not match the tree, like variables.
  • Fragment addresses the local part of a document

Protocols

  • The internet provides the infrastructure for global data exchange, and information is accessed using different protocols
  • HTTP (Hypertext Transfer Protocol) is foundation of the World Wide Web
  • Common protocols include : FTP, SMTP, and others

HTTP (Hypertext Transfer Protocol)

  • HTTP 1.1 RFCs is the communication between agents and servers via HTTP
  • RFC 7230 is the protocol for message syntax and routing
  • RFC 7231 defines semantics and content.
  • HTTP is a stateless application-level protocol for distributed, collaborative, hypertext information systems.
  • User agents pose requests and servers issue responses

HTTP interactions

  • User agents include web browsers, appliances, cars, or command line programs
  • Server sends a HTTP response. Trailing newlines indicates the end of message.
  • Connection is terminated following the HTTP response

HTTP - Stateless interactions

  • HTTP doesn't retain client information between interactions.
  • Permanent authentications can be handled through: HTTP authentication, Session-IDs and Cookies

HTTP Request and Responses Structure

  • Uses a start line: request for HTTP requests, and is the status line for HTTP responses
  • Uses header fields: Additional information is message in key/value format. Header fields are optional
  • Transferred content is displayed as the message body (a list of bytes).

HTTP Methods

  • The HTTP method is part of the request line
  • Used to inform what purpose is used in the request
  • The "GET" method is mentioned, more methods may exist

HTTP Status Codes

  • Status codes are interactions between the user agent reporting
  • Each statues has a different code classification like: success, fail and redirection codes
  • Informational is the 1xx
  • Successful 2xx
  • Redirection is 3xx
  • Client Error is 4xx
  • Server Error is 5xx

Selected HTTP header fields

  • The header field is named Used by and Description
  • Host, U, User agent specifies the hostname
  • User-Agent, U, Name of user agent
  • Server, S, Name of the server
  • Accept, U, agent can identify media types
  • Content-Type, U, S, The media type of the message body
  • Location, S, Location of the requested URI
  • Content- Location, S, Content is available at the specified location, not the URI

HTTP Message Body

  • The message body contains a byte stream of content
  • A server response is only the requested content
  • The recipient can access the bytes contained in the message body on the type of content
  • The processes of figuring out each messeges is called content negotiation

Selected content / MediaType

  • text/html is HTML
  • application/xhtml+xml XML
  • application/rdf+xml RDF XML
  • application/Id+json JSON-LD
  • text/turtle RDF Turtle
  • text/n3 Notation3

Hypertext Markup Language is used for

  • HTML is Hypertext documents and to represent document structure, such as headings and paragraphs
  • To further document other documets, documents can reference media or provide links
  • 1995: HTML 2.0 was specified as an IETF RFC 18661
  • HTML 5, initiated in 2004 by Apple, the Mozilla Foundation and Opera Software
  • HTML is used to link with other documents
  • Browsers are used by links can naviguate to other pages and display info

Extensible Markup Language (XML)

  • XML is readable to both humans and machines
  • Documents stick adhere to syntactic rules than HTML
  • Attributes in XML do use URIs for identification, however, XML does not provide the capability to reference URIs as attribute values
  • XML 1.0 is a W3C recommendation in 1998

World Wide Web Consortium

  • An International Community where the public works together to develop web standards
  • W3C aims for the worldwide availability of web access and helps security and progress.
  • Tim berner Lee Is the director of W3C
  • Comparable to IETF’s standardisation through RFCs, W3C publishes reports that pass different maturity levels until they are officially recommended
  • Working Draft(WD), Candidate Recommendation (CR ), Proposed Recommendation (PR), W3C Recommendation (REC)

Learning goals

  • Distinguish between hierarchical and network structure
  • Outline basic internet, web technologies, relationship between them
  • Assess the decentralisation characteristics in info and system architectures.
  • Explain the Metcalfe’s Law
  • Identify, name resources, information resourses apart from other resources based on textual description

Vision for data on the web

  • Memex, individual stores all books communications and records
  • Augmenthing human intellect through comprehension and approach with complex situation
  • Making the computer help analyse to make better better

Studying That Suits You

Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

Quiz Team

Related Documents

Use Quizgecko on...
Browser
Browser