Incorporating Semantics with P2P Resource Distribution Networks

nervousripΑσφάλεια

5 Νοε 2013 (πριν από 3 χρόνια και 5 μήνες)

54 εμφανίσεις

1

Incorporating Semantics with P2P
Resource Distribution Networks

Ryan Blace

December 7
th
, 2006

Network Architecture and Protocols Final Report

2

What is it?

Tiered Resource Distribution Network

OWL

Semantic Web Technology

How?

3

Project Overview


Build a baseline resource
distribution framework on Jxta


Some peers ‘seed’ the network
with resources


All peers can communicate and
transfer resources


Baseline communication (no
Semantics)


Familiarization with Jxta
technology and design
philosophy


Investigation and assessment
of how to incorporate
Semantic Web technologies


Is it appropriate?


How easy or difficult would it
be?

Initialization
Connect to
Jxta
Net Peer Group
Begin Resource Distribution Services
Perform Resource Retrieval Operations
Unload and Exit
Resource Distribution Peer Life Cycle

SwppyNode
{abstract}
SwppyPeer
SwppySuperPeer
4

Communication

Local Peer
Jxta Ne twork
Query Issued
Query Response
senderId: peer-02
messageId: 87
message: file1.txt
senderId: peer-99
receiverId: peer-02
messageId: 87
message: Huzzah!
Server Peer
Client Peer
Connection Request
Connection Accept
Send Connection
Establishment String
Send Message Id
Send File
Waiting for
connections
Use msg Id to
determine
which file to
send
Got a query response
and want to request
a transfer
Querying for Resources

Transferring Resources

5

Semantic Web 101


The Semantic Web is about making information
available on the WWW readable and
understandable by machines.


It is the collection of standards, protocols,
recommendation, applications, etc… that go into
making this possible.


Web Ontology Language (OWL)


Resource Description Framework (RDF)


Semantic Web Rule Language (SWRL)


SPARQL Semantic Query Language for RDF


And many many many many many more.


It is all about information interchange and
utilization.

6

Critical Standards


OWL (Web Ontology Language)

http://www.w3.org/TR/owl
-
features/


Models formal semantics in a way that lends itself to
web sharing and cumulative knowledge


SWRL (Semantic Web Rule Language)


http://www.w3.org/Submission/SWRL/


Models rules that enhance the meaning that can be
expressed in OWL; also useful for translating between
OWL ontologies


SPARQL (Semantic Query Language for RDF)


http://www.w3.org/TR/rdf
-
sparql
-
query/


Standardized query language for RDF

7

Testing and Verification


First experiment


Run the solo Peer on
Computer1


Observed the console output to
see it querying and then
transferring the files


Opened each of the three files
on Computer 1 to verify the
transfer


Second experiment


Update Computer1
configuration to show the need
for a new file ‘big.mp3’


Observe querying to see that
no peers in the network have
the file


Drop the file into Computer2’s
Resource Provider Peer


Observe the successful query
and transfer of ‘big.mp3’ to
Computer1 by playing the mp3



Computer 1
Computer 2
<No files>
<No files>
file1.txt
file2.odt
file3.ppt
peer
peer
resource
provider
8

Where does the SW fit?

SPARQL



In the
communication
and querying

OWL



In the peers

9

Conclusions


Jxta has a STEEP learning curve


Jxta is very powerful and useful


Semantic Web could easily fit into my or any Jxta
architecture


Semantic Web would make it more extensible


Future efforts will start with adding Semantic Web
querying and peer
-
level RDF storage


Future efforts will develop a Semantic querying
network for distributing services, resources, and
knowledge

10

Questions?