You are on page 1of 20

Semantic Web Programming in Python an Introduction

Biju B Jaganath G

Presentation outline

Semantics Meaningful data Representation Triple Store Querying & Searching semantic Data RDF SPARQL FOAF (Friend of a Friend) OWL

Semantics

Semantics is the study of meaning

Sequence of words or symbols used to convey enough meaning

Traditional Data-Modeling methods

Tabulated Data

Relational Data-Model

Tabulated Data

Doctors Near Home


Name Address

George
Bill

Xyz St
Abc Rd

Relational Data-Model
ID 1 Name George Address Xyz St

2
ID

Bill
Available timings

Abc Rd

1 1 2

10 AM 1PM 7 PM 10 PM 6PM 10 PM

Meaningful data Representation

Triple : Three column Format

A Triple is composed of a subject, predicate and object Triples could be represented easily in the form of graphs

Triple
Babu bought doll Doll costs 20 Subject : An entity which could be person place or other concrete objects Predicate: Property of the entity. Object : could be Subject to other triples or literal value

Merging Triples
As the Triples are represented in the form of graphs the merging could be done with less effort

Simple Query Language

Demo

Feed Forward Inference


Inferring Triple Geocoding Chain of Rules

RDF

Provides standard way of expressing graphs of data and sharing them with other people

RDF Data Model

Resource Serialization N-Triples

RDFLib Introduction

Demo

SPARQL

RDF Term Syntax Syntax for Triple Patterns SPARQL Queries in RDFLib

FOAF

Social Network Graph Analysis Cloud of Data Consuming Linked Data

OWL

Demo

Semantic Data Publishing


Microformats Tables and Spreadsheets Linked Data

Demo

Conclusion

You might also like