1
The Semantic Web Reference Application Tutorial
Ryan Blace [email protected]
Mike Dean [email protected]
John Hebeler [email protected]
Andrew Perez-Lopez [email protected]
The Fourth Semantic Interoperability for EGovernment ConferenceFebruary 10,2006
2
BBN
• Semantic Web Supporter and Contributor– Standards– Tools– Applications
• Broad Support for Complementary Areas– Distributed computing, agents, networks, security,…
• “Your Semantic Guides”…
3
Agenda
• Overview– Philosophies and Goals– Terms, Tools, and Technologies– Tutorial Methodology– Problem Outline
• Begin with the End in Mind– Final Assembled Site– Explore Source Sites– Explore Assembled Site
Note: Open Source Tutorial, Code, and Running Example
4
Philosophy
• Simple and Direct
• Examples Illustrate Semantic Web Advantages
– Working illustrations over PowerPoint Hubris and Aggrandizing
• Addressed Problem is Merely for Exploring Semantic Web Constructs And Issues
• Questions welcome…– Long winded questions accepted in written
format only
• Welcome Contributions and Comments– A place to play and learn…
5
Why do we need the Semantic Web?
6
Terms, Tools, and Technologies
• Terms– Ontology, Instance Data, Knowledgebase, URI, URL, and
Query
• Tools– Protégé, CMAP, SWeDE– Jena
• Technologies– OWL, RDF, & XML– Supporting Technologies: Tomcat, Java, and MySQL
7
Tutorial Methodology
• On-Line Tutorial and Open Source Application– Two level tutorial available at http://refapp.projects.semwebcentral.org/On-
line dedicated individual study – we will examine key parts– Open source available at http://projects.semwebcentral.org/frs/?group_id=83
• Tutorial Driven By– Code and ontology snippets– Running examples
• Tutorial Outline– Simple Ontology– Problem and Architecture Overview– “Begin with the End in Mind” first – Semantic Integration Site– Break and Class Exercise– Examine the three distinct source sites– Examine Integration techniques
8
Ontology Introduction
• Ontology– Class: foaf:Organization, foaf:Image, foaf:Document – Properties (Relationship): foaf:knows, foaf:surname, foaf:interest
• Can be Class to Class or Class to data type
– Restrictions: inverse of, cannot be (disjoint), cardinality, classes/datatypes
– Inheritance: Person Worker Clerk Seniorclerk• Multiple inheritance: employed father = worker and father• Classes and properties
• Instance– Data encoded to (=>)a particular ontology– i.e. BBN, , [email protected], Mike Dean, Hebeler,
9
Problem Overview
10
Architecture Overview
Jena
JenaJenaJena
XML
11
Ok, Lets Get Going…
12
But first…
• Break Time
• Class Exercise– List 5+ types of individuals that work for your organization
and the types of relationships between them
13
Tutorial Flow
• Source Sites– Contractor (from scratch)– Project (from relational database)– Weather (from active XML web service)
• Integrated Site – Project Management
• Summary
• Questions etc.
14
Summary
• Creation of Content– From scratch– From relational database– From XML web service
• Integration of Knowledge– Mapping and alignment
• Interesting Extensions– SWRL– OWL-S– Others?
• Explore the Site and Contribute…
15
Questions??
http://refapp.projects.semwebcentral.org/
Ryan Blace [email protected]
Mike Dean [email protected]
John Hebeler [email protected]
Andrew Perez-Lopez [email protected]