WEB SEMANTIC LAB 3 (27.03.2016)

Give an RDF description that states the following:

1. Resource  http://www.haneena.com/~haneena/homepage is a homepage and it is owned by Haneena.


2. Resource  http://www.haneena.com/haneena-ns/#T-999”> is a course named C-programming and is lectured by Adib Razi at room BT1.


3. By using container element rdf:Bag,  give an RDF description that states the following: Faizah and Din own the car ABZ-88


4. By using the ”collection” value of the rdf : parseType attribute, give an RDF description that states the following: Faizah and Din own the car ABZ-88.



  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

WEB SEMANTIC LAB 1 (09.03.2016)

Question 1

Haneena and Co. has a telephone directory that records the first and last name, telephone number and email address of everyone working in the company. Departments are the main organizing unit of the company so the telephone directory is typically displayed in department order and shows for each department the contact phone and fax number and email address.
Create an XML file containing some directory data.



Question 2

a.  Give an XML-document (by not using attributes), which includes the information that the first name of a person is Adi, his last name is Maulud, and his professions are doctor, therapist and surgeon.



b.  Give the tree diagram of the document given in 2a.


c.  Modify the document given in exercise 1 such that the “first” and “last” are the attributes of the name element



Question 3

a.  Give an XML-document (by not using attributes), which includes the following information: the social security number (123456789A), the first name of a person is Adha, and his last name is Hadif, his address is composed of postcode (86400), city (Batu Pahat) and street (Jalan Puding), and his telephone numbers are 12345 and 67890.



b.  Give the tree diagram of the document given in exercise 3a.


c.  Give a DTD (Document Type Definition) for the XML-document specified  in 3a.



d.  Give an XML Schema for the information specified  in exercise 3a.



  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS