RDF by Structured Reference to Semantics, the RS2 framework
-
Upload
khan-sadh-mostafa -
Category
Documents
-
view
1.838 -
download
1
description
Transcript of RDF by Structured Reference to Semantics, the RS2 framework
![Page 1: RDF by Structured Reference to Semantics, the RS2 framework](https://reader038.fdocuments.in/reader038/viewer/2022102813/545cfa1eaf7959cd098b48ec/html5/thumbnails/1.jpg)
An Approach to Emerge Semantic Web
Khan Muhammad Nafee Mostafa | 0507007Samiul Hoque Sourav | 0507035Qudrat-E-Alahy Ratul | 0507037
Khulna University of Engineering & TechnologyDepartment of Computer Science and Engineering
Supervised by |Rushdi Shams |
LecturerCSE, KUET
![Page 2: RDF by Structured Reference to Semantics, the RS2 framework](https://reader038.fdocuments.in/reader038/viewer/2022102813/545cfa1eaf7959cd098b48ec/html5/thumbnails/2.jpg)
Introduction
• Web » a horde of valuable but unorganized and scattered documents
• Web of document is not intelligible to machines but web of linked data is
• Semantic Web » web of data• RDF graph » semantics underlying the
document• bottleneck of emerging semantic web »
conversion of html to RDF
![Page 3: RDF by Structured Reference to Semantics, the RS2 framework](https://reader038.fdocuments.in/reader038/viewer/2022102813/545cfa1eaf7959cd098b48ec/html5/thumbnails/3.jpg)
Objective
• Generate RDF from HTML document • Suggesting a framework titled ‘RDF by
Structured Reference to Semantics’ or RS2 framework to do so
![Page 4: RDF by Structured Reference to Semantics, the RS2 framework](https://reader038.fdocuments.in/reader038/viewer/2022102813/545cfa1eaf7959cd098b48ec/html5/thumbnails/4.jpg)
Overview: Web Versions
Web
1.0
• Static Web
Web
2.0
• Social Web• User-generated Content• people consume, produce & share info
Web
3.0
• Semantic web• Collection of machine understanding data
and documents.
Example
Example
![Page 5: RDF by Structured Reference to Semantics, the RS2 framework](https://reader038.fdocuments.in/reader038/viewer/2022102813/545cfa1eaf7959cd098b48ec/html5/thumbnails/5.jpg)
Why Semantic Web
QUERY: Bangladeshi player played in IPLList of
![Page 6: RDF by Structured Reference to Semantics, the RS2 framework](https://reader038.fdocuments.in/reader038/viewer/2022102813/545cfa1eaf7959cd098b48ec/html5/thumbnails/6.jpg)
Why Semantic Web
![Page 7: RDF by Structured Reference to Semantics, the RS2 framework](https://reader038.fdocuments.in/reader038/viewer/2022102813/545cfa1eaf7959cd098b48ec/html5/thumbnails/7.jpg)
Semantic Web Stack
APPLICATION
DATAIN
ABSTRUCT FORMAT
DATAIN
VARIOUS FORMATURI XML
SYNTAX
QUERY
MAP
![Page 8: RDF by Structured Reference to Semantics, the RS2 framework](https://reader038.fdocuments.in/reader038/viewer/2022102813/545cfa1eaf7959cd098b48ec/html5/thumbnails/8.jpg)
Why RDF?• A simple RDF graph tells about who is the instance
of which class.
• What is the relation between two instance.• Ex:- Mashrafe play for Kolkata Knight rider.
Mashrafe’s nationality is Bangladeshi.
Mashrafe
Player Cricket Team
Kolkata Nightrider
Instance of Instance of
play for
Country
Bangladeshnationality
Instance of
![Page 9: RDF by Structured Reference to Semantics, the RS2 framework](https://reader038.fdocuments.in/reader038/viewer/2022102813/545cfa1eaf7959cd098b48ec/html5/thumbnails/9.jpg)
Architecture of RS2 framework
Extract plaintext plaintext
Parse Natural Language TEXT Parse tree
Yield SPO
SubjectPredicate
Object
Lookup for Semantic
equivalentSemantic Web
entities for SPO
Generate RDF
![Page 10: RDF by Structured Reference to Semantics, the RS2 framework](https://reader038.fdocuments.in/reader038/viewer/2022102813/545cfa1eaf7959cd098b48ec/html5/thumbnails/10.jpg)
RS2 framework in action
RS2 framework
lexicon mapper ontology
![Page 11: RDF by Structured Reference to Semantics, the RS2 framework](https://reader038.fdocuments.in/reader038/viewer/2022102813/545cfa1eaf7959cd098b48ec/html5/thumbnails/11.jpg)
HTML to plaintext
Html tags don’t have sensible info
Strip them
Get the text that we actually read
![Page 12: RDF by Structured Reference to Semantics, the RS2 framework](https://reader038.fdocuments.in/reader038/viewer/2022102813/545cfa1eaf7959cd098b48ec/html5/thumbnails/12.jpg)
Parse sentence
Separate sentences
Separate words
POS tagging
parse with a grammar
parse tree
Mashrafe plays for KKR
<noun/> <verb/> <preposition/> <name/>
sentence
Noun Phrase
Mashrafe
Verb Phrase
Verb Phrase
Verb
plays
Pronoun
for
Noun
KKR
![Page 13: RDF by Structured Reference to Semantics, the RS2 framework](https://reader038.fdocuments.in/reader038/viewer/2022102813/545cfa1eaf7959cd098b48ec/html5/thumbnails/13.jpg)
Yield Subject-Predicate-Object
• first Noun Phrase traversed in the parse treeSubject
• Part of Verb Phrase that describes predicates, generally the part before the NP in VP
Predicate
• Noun Phrase in the parse tree of first Verb PhraseObject
![Page 14: RDF by Structured Reference to Semantics, the RS2 framework](https://reader038.fdocuments.in/reader038/viewer/2022102813/545cfa1eaf7959cd098b48ec/html5/thumbnails/14.jpg)
Lookup semantic web entities
KKR is located in Kolkata.
Kolkata Knight Rider is situated at west Bengal.
I think KKR and Kolkata Knight
Raider are different
Same anomaly occurred for predicate and object
![Page 15: RDF by Structured Reference to Semantics, the RS2 framework](https://reader038.fdocuments.in/reader038/viewer/2022102813/545cfa1eaf7959cd098b48ec/html5/thumbnails/15.jpg)
Lookup semantic web entities• Natural language subject, predicate and object is
not recognizable by the machine.• Convert it to a machine accessible way.
KKR is located in Kolkata.
Kolkata Knight Rider is situated at west Bengal.
Kolkata Knight Rider location Kolkata.
Natural Language
RDF Triple
Subject
Predicate
Object
![Page 16: RDF by Structured Reference to Semantics, the RS2 framework](https://reader038.fdocuments.in/reader038/viewer/2022102813/545cfa1eaf7959cd098b48ec/html5/thumbnails/16.jpg)
Generate RDFGenerate URI
Check Property Type in OWL
Lookup domain and range of the property in OWL
Create Instances if not created before in RDF Graph
Create the Triple with Subject, Predicate, Object in RDF Graph
![Page 17: RDF by Structured Reference to Semantics, the RS2 framework](https://reader038.fdocuments.in/reader038/viewer/2022102813/545cfa1eaf7959cd098b48ec/html5/thumbnails/17.jpg)
Web 3.0: Advantages
Playing song on the basis of users feedback.Tag based Application.
![Page 18: RDF by Structured Reference to Semantics, the RS2 framework](https://reader038.fdocuments.in/reader038/viewer/2022102813/545cfa1eaf7959cd098b48ec/html5/thumbnails/18.jpg)
Web 3.0: Advantages(2)
Automatic Air ticket reservationAutomatic data integrationDigital LibrarySemantic Web ServicesSearching
![Page 19: RDF by Structured Reference to Semantics, the RS2 framework](https://reader038.fdocuments.in/reader038/viewer/2022102813/545cfa1eaf7959cd098b48ec/html5/thumbnails/19.jpg)
Demo ApplicationOWL: English Premier LeagueTopic: Chelsea Football Club
![Page 20: RDF by Structured Reference to Semantics, the RS2 framework](https://reader038.fdocuments.in/reader038/viewer/2022102813/545cfa1eaf7959cd098b48ec/html5/thumbnails/20.jpg)
Demo Application
Conversion from HTML to RDF
![Page 21: RDF by Structured Reference to Semantics, the RS2 framework](https://reader038.fdocuments.in/reader038/viewer/2022102813/545cfa1eaf7959cd098b48ec/html5/thumbnails/21.jpg)
Demo Application
![Page 22: RDF by Structured Reference to Semantics, the RS2 framework](https://reader038.fdocuments.in/reader038/viewer/2022102813/545cfa1eaf7959cd098b48ec/html5/thumbnails/22.jpg)
Future Work and Benefits
• An application/framework to enhance Web Ontology from knowledge conceived from html document
• applications with Semantic Web featuresBenefit:• Emergence of Semantic Web• Automatic conversion of piles of html into RDF
graph
![Page 23: RDF by Structured Reference to Semantics, the RS2 framework](https://reader038.fdocuments.in/reader038/viewer/2022102813/545cfa1eaf7959cd098b48ec/html5/thumbnails/23.jpg)
Conclusion
• A framework and a prototype application to convert html document into RDF• Eliminate the bottleneck in the
emergence of Semantic Web by RS2
![Page 24: RDF by Structured Reference to Semantics, the RS2 framework](https://reader038.fdocuments.in/reader038/viewer/2022102813/545cfa1eaf7959cd098b48ec/html5/thumbnails/24.jpg)
Thank you
RS2 fx O W L