Semantic Web Programming in Python An Introduction
Semantic Web Programming in Python An Introduction
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
Tabulated Data
Relational Data-Model
Tabulated Data
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
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
Demo
RDF
Provides standard way of expressing graphs of data and sharing them with other people
RDFLib Introduction
Demo
SPARQL
RDF Term Syntax Syntax for Triple Patterns SPARQL Queries in RDFLib
FOAF
OWL
Demo
Demo
Conclusion