Sei sulla pagina 1di 26

1

Personalized Semantic Web Service for Classifieds


Requirements Specification
Version 1.0

Specification prepared by,

Registration No. Index Number Name of the Member


2007 cs 016 07000162 J.K.P.S. Chathurika.
2007 cs 062 07000626 T.R. Kodikara.
2007 cs 093 07000936 M.L.D. Prasad.
2007 cs 115 07001152 R.G.S. Saranga.
2007 cs 139 07001398 K. Wijewardena
Supervisor: Dr. Prasad Wimalarathna.

Date: 05/10/2009

Copyright@2009bySemanticClassifiedsGroup
2

Table of Contents

PROJECT DRIVERS
1. Introduction……………………………………..03
2. Project outline……………………......................04
3. The Purpose of the Project……………………...05
4. Users of the product…………………………….06
PROJECT CONSTRAINTS
5. Mandated Constraints…………………………...08
6. Naming Conventions and Definitions…………..12
7. Relevant Facts and Assumptions………………..13
REQUIREMENTS
8. System Features…………………………………14
9. External Interface Requirements………………...20
10. Other Non-functional
Requirements…………….24

Copyright@2009bySemanticClassifiedsGroup
3

01. Introduction

1.1 Purpose

This system requirement specification basically our understanding


Personalized Semantic Web Solution for Classifieds system requirements
and dependencies at this time prior to any actual design or development
work.
The data gathered from this analysis is taken by,
• Meeting the supervisor and got an overview about project
• Meeting the group members and discuss about the project
• Performing a literary survey on existing classified sites & semantic
web solutions

Currently, the client cannot perform a satisfactory search on the vehicle that
they search. They want to have much better search capabilities on their
search. In our system we provide an easy way to store and search the data in
a reliable way. Performance and search options of current classified sites is
not sophisticated enough to meet their needs.

02. Project outline

Copyright@2009bySemanticClassifiedsGroup
4

The new paradigm of web is a market place of services accessible via


internet. The demand for e-business increased rapidly after adopting web
service technologies by business communities. Web services provide a
framework for exchanging dynamic content on demand and accomplish
business much faster and efficiently.

Introduction of Semantic Web leads a revolution of existing web into


a new generation of web with more capabilities, satisfying modern
globalized business world. Semantic Web Services are one step ahead of
current XML based web services with web markup languages for describing
web services.

In modern globalized business world the classified of ads became


more popular. It provides customers to enhance his business. When comes to
vehicle classified web applications, in modern community there are a lot of
buying and selling’s are going on. In automobile firm, classified web
applications give a huge backup to extend its businesses.

Our project presents a scalable framework for personalized, ontology-


based, semantic web service discovery for classified domain by enhancing
the current search mechanism with semantic web technologies.

We provides user to advertise his ads in our system. Then anyone can
search the application with few keywords and can choose a vehicle he desire
easily.

This system also has increased functionality to allow for future


expansion. System will bridge vehicle buyers and sellers although they are
in several places in the world.

03. Purpose of the Project

Copyright@2009bySemanticClassifiedsGroup
5

3.1 User problem or background of the project effort

Normally a normal search on a classified web application the user


faces more difficulties when searching his needs. When the user searches a
vehicle using few keywords the system gives list of data (with lot of user
unwanted data). Then the user has to find the advertisement that suit to him
one by one. In here user gets a lot of troubles to find the actual vehicle that
he wants.

When searching, if the search gives only the data that the user
probably wants, it’s a huge opportunity to the user to find his needs easy and
without wasting any time.

3.2 Goals

• Give the user the opportunity to find the ads he looking for,
without putting extra effort or without wasting any time.
• User friendliness
• Fast searching environment

04. Users of the Product

4.1 The Hands-On users of the product

Copyright@2009bySemanticClassifiedsGroup
6

• Vehicle buyers

Peoples who want to buy vehicles are most target users of the
system. These type users don’t want to register with the system. They
can search vehicles as guests.

Although this is a semantic web application these type of users


do not want special technological experience. Users may have not
experience with relevant technologies. Semantic web is leads a
revolution of existing web into a new generation of web with more
capabilities. They can search the most appropriate vehicle they want.

• Vehicle sellers

Peoples who want to sell vehicles can advertise their vehicle in


this application. Before advertise they should register with the system.
Users are given a register form and login. Users do not want special
technical knowledge to register and advertise.

• Infrequent users

Site visitors can visit the site and visit new vehicles release to
the market and photo galleries of vehicles.

4.2 Priorities Assign to Users

Some users are critical to the success of the product. But some users will
use the system, but their opinion has no effect on long term success .This
gives importance and precedence of users.

• Key users

Key users are critical to continued success of the system. In this


system vehicle buyers and sellers are the key users of the system.
Because they are critical to continued success of the system. This web
application is totally for vehicle buyers as well as sellers.

• Unimportant users

Copyright@2009bySemanticClassifiedsGroup
7

Site visitors can visit the site and visit new vehicles release to
the system. Their opinion has no effect on long term success.

05. Mandated Constraints

Copyright@2009bySemanticClassifiedsGroup
8

Constraints are factors that apply to the entire product. Constraints are
requirements. They are like other requirements gathered during requirement
gathering phase. The difference is that constraints are mandated, usually at
the outset of the project.

5.1 Solution Design Constraints

Solution design constraints are design solutions that mandate how the
final product must look or what technologies use to develop the system.

To implement our semantic web solution it is necessary to create


ontology tree. Ontology provides a common vocabulary for researchers who
share knowledge of the domain. There are several reasons to create
ontology.
• To share common understanding of the structure of information
among people or software agents
• To enable reuse of domain knowledge To make domain
assumptions explicit
• To separate domain knowledge from operational knowledge.
• To analyze domain knowledge

Developing ontology is an iterative process. There is no specific


methodology for create ontology. Developing ontology includes several
steps.

• defining classes in the ontology


• arranging the classes in a subclass-super class hierarchy
• Defining slots and describing allowed values for these slot.
• filling in the values for slots for instances

To develop the ontology protégé 3.4 was used. The Protégé-OWL API
is an open-source Java library for the Web Ontology Language (OWL) and
RDF(S). The API provides classes and methods to load and save OWL files,
to query and manipulate OWL data models, and to perform reasoning based
on Description Logic engines. The protégé OWL API is a collection of java
interfaces from the model package. These interfaces provide access to the
OWL model and its elements like classes, properties, and individuals.
OWL language is used to,

• Formalize a domain by defining classes and properties of those classes


• Define individuals and assert properties about them, and

Copyright@2009bySemanticClassifiedsGroup
9

• Reason about these classes and individuals to the degree permitted by


the formal semantics of the OWL language

OWL is a component of the semantic web activity. This makes web


resources more readily accessible to automated process by adding
information about the resources in the web content. As the Semantic Web is
inherently distributed, OWL must allow for information to be gathered from
distributed sources.

J2EE was used to implement the system. MYSQL was used as the
Database Management System. This combination ensures a high portability
to the system developed. To create attractive user interfaces flex was used.

5.2 Implementation Environment of the Current System

This is a web application for advertise and search vehicles. So the


guest users can search ads without log into the system. With the semantic
web user can search most appropriate vehicle he wants. Suppose a user
wants to search a Nissan car. Then the user may want a sub model. User
may also check for low price and some comfortable options. With the
semantic web, when the user enter the preferences it will find the best
option.

This web application also allows users to advertise. To advertise user


should register with the system. Users are given a facility to register with the
system. System keeps records about frequent users. When a frequent user
log into the system, it gives most appropriate information which is user
looking for.

5.3 Off-the-shelf software

• protégé 3.4
• Netbeans 6.5
• Flex 3.0
• MySQL

5.4 Anticipated Workplace Environment

Copyright@2009bySemanticClassifiedsGroup
10

5.4.1 Operating System

This system can support any operating system and most of popular
browsers in the world.
E.g.: IE 6 or above, Mozilla Firefox 2.0 or above, opera, Google
chrome etc.

5.4.2 Hardware Platform

Need just a working computer with internet connection. If the


hardware support to the web browser and internet connection the users can
easily get connected with the system.

5.4.3 Other software component or Applications

To get the maximum interaction between users and the site, computer
must have
• Java script enable browser
• Flash player

User may face some inconveniences in user interfaces without these


facilities. But the system will work without these applications.

5.5 Design and implementation constraint

5.5.1 What problems could the new system cause in the current
environment?

The new paradigm of web is a market place of services accessible via


internet. So there are more classified sites in internet. Our software system is
going to change the searching process. So there is no problem occur when
changing the environment. Our system is only making the searching process
easily.

5.5.2 Will any of our existing users be adversely affected by the new
development?

Our new system will not affect any current users of existing classified
sites. Only the searching process is effective.

5.5.3 Will the new product create other problems?

Copyright@2009bySemanticClassifiedsGroup
11

There is no chance to arise problems with our semantic web solution.


But the success of the new system is mostly depended on the developers.
Because success of a semantic web solution depend on ontology mapping.

06. Naming Conventions and Definitions

Copyright@2009bySemanticClassifiedsGroup
12

6.1 Definition of all terms including acronyms used in the


project

• OWL – Web Ontology Language


• RDF – Resource Description Framework

07. Relevant Facts and Assumptions

Copyright@2009bySemanticClassifiedsGroup
13

Personalized semantic web solution for classifieds is based on the


fundamental assumption that the classified site has.

• For each car model there will be sub models.

• Vehicle buyers may search vehicle by its model or sub model.

• The communication method of this system would be limited to email.

• The main user interfaces of this system would be the online web
interface.

• Users can advertise in this site. But the users have to register with the
system.

In future this system is bound to change with customer requirements.


These are some of expected changes to be taken place in the future versions.

• The communication methods such as SMS application, video


conferencing might develop in the future and the system should be
able to incorporate them.

• The main interface of this system could be changed with advancing


hardware technology.

• Report generation facilities could be implemented. Advertisers can get


reports about classifieds.

• If new features are introduced to vehicles, then the advertising form


will have to be customized to suit to new vehicles.

08. System Features

8.1 User Registration

Copyright@2009bySemanticClassifiedsGroup
14

8.1.1 Introduction

User registration is processing through the web site. Those who want
to advertise in this site that user should register with the system. There is no
any manual system for register with system. Not only advertisers but also
other users can register with the system.

8.1.2 Use Case Diagrams

<<include>>
Advertise
<<communicate>>

<<communicate>>
Register
Vehicle Seller
<<communicate>>

Edit/Delete profile

<<communicate>> Register

<<communicate>>
Vehicle Buyers

Edit/Delete profile

<<include>>

System Accept Registration Verifying form data

Copyright@2009bySemanticClassifiedsGroup
15

8.1.3 Activity Diagram

Fill Out registration Validate


form the form

[incorrect form]

[correct form]

Create an
Account

8.1.4 Sequence Diagram

User Register System

Registration form

create registered user


add a user to database

8.1.5 Main Functions

User registration form is available in the site. If anyone wants


advertise in this site after searching vehicles, user should fill the registration
form. After submitting the form with information system checks the form for

Copyright@2009bySemanticClassifiedsGroup
16

the validity. If the information is valid system will finalize the registration
process. After finalizing registration process users can advertise on the site.

8.2 Adding Classifieds

8.2.1 Introduction

Those who want to sell their vehicles they can advertise in this site.
After advertise user can edit or delete his classified.

8.2.2 Use Case Diagrams

<<include>>
Advertise

<<communicate>>
Register

<<communicate>>
Vehicle Seller
Edit/Delete classified

<<communicate>> Delete classifieds

Site Admin

8.2.3 Activity Diagram

Copyright@2009bySemanticClassifiedsGroup
17

insert username verfy user


& password details

[incorrect username or password]

Fill out log into the


advertising form system

[incorrct form]

Validate [correct form] publish the


the form ad

8.2.4 Main Functions

Advertising form is available in the site. If registered user wants to


advertise registration form should be filled. Advertisers allow submitting
photos of the vehicle and other all regarded information. After submitting
the form with relevant information system checks for the validity. If the
information valid, system will finalize the advertizing process. After
finalizing the advertizing process site visitors and vehicle buyers can see the
classified. Site admin can delete any classified at any time.

8.3 Search Vehicles

8.3.1 Introduction

This system provides a special type of search. Vehicle buyers can


search what he really wants through semantic search. Users no need to
register with the system to search vehicles. So any user can search vehicle
from this site.

8.3.2 Use Case Diagrams

Copyright@2009bySemanticClassifiedsGroup
18

<<communicate>> Search Vehicles

User <<communicate>>

View Classifieds

8.3.3 Main Functions

System provides a special type of semantic search. When the user


search special type of model then system ask some questions from the user.
These questions based on related sub models, color or engine capacity. End
of the search user will get most appropriate vehicle for him. This semantic
search reduces time consuming.

8.4 Adding new features and information (Site Admin)

8.4.1 Introduction

Target users of this site are vehicle buyers and sellers. So they are
interested in new information about vehicles. So the system provides new
information about auto mobiles. To improve the user friendliness new
features van be added.

8.3.2 Use Case Diagrams

Copyright@2009bySemanticClassifiedsGroup
19

Update the web site

<<communicate>> new car release


<<include>>

<<communicate>>

Publish Information
Site Admin

8.3.3 Main Functions

System provides information about new car releases to the market. It


also provides photo albums of new releases.

09. External Interface Requirements

Copyright@2009bySemanticClassifiedsGroup
20

9.1 User Interfaces

Home page:
Mainly divided into four sections. Header, left, middle, and right.
There are several links to other pages. Search ads, register page, log in page,
and about us.

Figure 1

Figure 2

Search cars:

Copyright@2009bySemanticClassifiedsGroup
21

The important page of the site. User can type the attributes of the car
he wants and press the search button. The application will search suitable
ads and display them on the same page.

Figure 3

Register page:
Car sellers can register in our site an advertise ads they have. In the
registration page user has to fill a form by entering some details about him.
Name, email address, phone no, country, postal code, password, etc.

Figure 4

Copyright@2009bySemanticClassifiedsGroup
22

Log in page:
Registered users can log in to the system. There are several users that
have several privileges. They can do changes according to their privileges.
Users can enter the system by typing user name and password. Then the
account of him will display in the same site.

Figure 5

9.2 Hardware Interfaces

Personalized semantic web solution for classifieds will interface with


the following hardware.
• Server
• The secondary storage device containing the database
• Hosts

9.3 Software Interfaces

Client computer may have any operating system. With Mozilla


Firefox or any other browser the user can log into the system. The system
will implement new database in MYSQL. The system will have the
capability to search the ontology and have the result of the search return a
list of samples satisfying query. The searching will be performed from a
web-based user interface. Data entry will be performed from a web-based
user interface.

Copyright@2009bySemanticClassifiedsGroup
23

9.4 Communication Interfaces

Even the server is Linux installed the client computer will be able to
communicate with them through HTTP.

9.5 Requirements Prioritization

Requirement priority
Implement the ontology 1
Implement the search mechanism 2
Build interfaces of the web site 3
Build the back end of the web site 4

10. Other Nonfunctional Requirements

Copyright@2009bySemanticClassifiedsGroup
24

10.1 Performance Requirements

Any interface between a user and the semantic web based automated
information will have minimum response time. The response will be fast
enough to avoid interrupting the users’ flow of thought. It will not take more
information about the user when registering. When searching vehicles
system provides special kind of semantic search. So it will decrease the time
consuming when searching. So it will increase the performance of the
system. Download speed will depend on the speed of the down link.
Uploading can be done by vehicle sellers and its’ speed will depend on the
speed of the uplink.

10.2 Safety Requirements

Safety of data is necessity to ensure the reliability of the system. A


System can be failed due to database failure. So backup of the databases
should be frequently created manually and restored on data loss or damage.

10.3 Security Requirements

The system handles sensitive information. Therefore the security and


reliability of the data is essential.
• All users will be prompted to change their password periodically.
• Every user must be logged into the system to advertise.
• Every user must be aware of the risk of exposing their passwords and
they should have strong passwords with minimum length of 6 letters.
• This system will not reveal private information of registered users to
any other parties. This information only use to identify the advertiser
to the system.
• The system will make its user aware of its information practices
before collection data from them. All the relevant data will be
provided by the users when they are registered via this web-based
semantic system.

10.4 Software quality Attributes

Copyright@2009bySemanticClassifiedsGroup
25

10.4.1 Ease of use

This web based semantic system is easily used by any person who has
only knowledge of computer fundamentals. Also this system can be used by
people even without any training. This system itself provides help to user to
avoid mistakes.

10.4.2 Personalization

This system provides personalized web solution for classifieds.


System records some details of users and when search it will give most
appropriate one.

10.4.3 Ease of learning

This system can be easily learned by any person. Even the public
users, who will receive no training before using it, will be able to familiar
with the system if they have basic computer and English knowledge.

10.4.4 Understandability and Politeness requirements

The system will use symbols and words that are naturally
understandable by any user in the community. Target users of this site are
vehicle buyers and sellers. So most of times words related to auto mobiles
are used. Then the users can use the site easily.

10.4.5 Acceptability requirements

This is not applicable to this information system. Because we are not


going to provide help to the people with common disabilities to access this
system. Only the people who do not have any disability will be able to
access the system (sight, physical disablement or other). But deaf people can
access the site.

10.4.6 Supportability Requirements

The system will provide necessary support by giving guide lines to the
user. When any user requires a support regarding this system, system itself
provides the support to the in some situations.

10.4.7 Adaptability Requirements

Copyright@2009bySemanticClassifiedsGroup
26

Before starting the work on project, development team will need to


check the similar classified sites, mainly auto mobile sites. So system can be
guaranteed to be adaptable with similar capacity.

10.5 Legal Requirements

This system will be collected personal information of vehicle buyers


and sellers. Therefore it should comply with the data protection act. If the
development team wants to protect he system or the code of the system from
the competitors, they can use copyright laws.

10.6 Accessibility

This can be viewed as the “ability to access” the functionality,


possible benefit of some entity. In this system advertising part is accessible
only to registered users. Any other user can view classifieds.

10.7 Maintainability

Maintainability can be categorized into several parts.


• Correct defects.
• Cope with changed environments.
• Meet new requirements.
• Make future maintenance easier.

System can be easily maintained when developers good coding, with


commenting and reduce unnecessary coding.

10.8 Operational and Environmental Requirements

This system will work any environment which has internet facility,
java script enable browser and any operating system. System does not need
any other special system requirements.

Copyright@2009bySemanticClassifiedsGroup

Potrebbero piacerti anche