Movatterモバイル変換


[0]ホーム

URL:


Armin Haller, profile picture
Uploaded byArmin Haller
PPT, PDF2,930 views

A Semantic Data Model for Web Applications

The document presents a semantic data model for web applications, emphasizing the importance of machine-readable data and the principles of the Semantic Web. It outlines four key principles: identifying resources, reusing ontologies, expressing meaning, and linking to other web resources, accompanied by examples related to a specific book. Additionally, it discusses the application of RDF and RDFa in enhancing the usability of web forms while integrating with linked open data.

Embed presentation

Downloaded 96 times
Armin Haller & Florian RosenbergA Semantic Data Model for WebApplicationsCSIRO ICT Centre Conference
Semantic WebAdds machine readable data to Webresources
Semantic Web“First step is putting data on the Webin a form that machines can naturallyunderstand, or converting it to thatform. This creates what I call aSemantic Web - a web of data thatcan be processed directly or indirectlyby machines.” – Tim Berners-Lee
Web ResourceA page about a book<html><head><title>Tractatus Logico-Philosophicus</title></head><body><p><img src="tractatus.png" /><br/>Written by: Ludwig Wittgenstein <br />With an Introduction by: Bertrand Russell</p><p>New York <br />Harcourt, Brace & Company, Inc. <br />London: Kegan Paul, Trench, Trubner & Co.,Ltd. <br /><p>1922</p></body></html>
Web ResourceA Book – Metadata elementsTitleAuthorPublisherDateContributor
Four principles to add machine readable data1. Identify resources2. Reuse ontologies3. Express meaning4. Link to other Web resources
Semantic Web1. Identify resources– Uniquely assign a Uniform ResourceIdentifier (URI) to every Web resource
TitleAuthorPublisherDateContributorWeb Resource1. Identify resourceshttp://example.org/book/Tractatus_Logico-Philosophicus
Semantic Web2. Reuse Ontologies– Specification of a conceptualization,ie. a description of the concepts andrelationships in a domain– Link to information in ontologies bytheir URI to reuse the samedefinition of common concepts, suchas the "book" or the "title“
TitleAuthorPublisherDateContributorWeb Resource2. Reuse ontologies – e.g. Dublin Corehttp://purl.org/dc/elements/1.1/creatorhttp://purl.org/dc/elements/1.1/datehttp://purl.org/dc/elements/1.1/publisherhttp://purl.org/dc/elements/1.1/contributorhttp://purl.org/dc/elements/1.1/title
Semantic Web3. Express meaning– Add structured information and setof rules to Web resources– Use knowledge representationlanguage – typically RDF• statements about Web resources in theform of Subject-Predicate-Object(S P O) triples
Web Resource3. Express meaninghttp://example.org/book/Tractatus_Logico-Philosophicusdc:titlehas awhich is
Web Resource3. Express meaninghttp://example.org/book/Tractatus_Logico-Philosophicusdc:creatorhas awhose name is
Web Resource3. Express meaninghttp://example.org/book/Tractatus_Logico-Philosophicusdc:contributorhasawhose name is
Web Resource3. Express meaninghttp://example.org/book/Tractatus_Logico-Philosophicusdc:publisherwhich ishas a
Web Resource3. Express meaninghttp://example.org/book/Tractatus_Logico-Philosophicusdc:datehas awhich is
@prefix dc: <http://purl.org/dc/terms/> .@prefix : <http://example.org/book#> .:Tractatus_Logico-Philosophicus dc:title "Tractatus Logico-Philospohicus" .:Tractatus_Logico-Philosophicus dc:creator "Ludwig Wittgenstein" .:Tractatus_Logico-Philosophicus dc:contributor "Bertrand Russell" .:Tractatus_Logico-Philosophicus dc:publisher "Harcourt, Brace & Company, Inc." .:Tractatus_Logico-Philosophicus dc:date "1922" .Resulting triples3. Express meaning
<?xml version="1.0" encoding="UTF-8"?><rdf:RDFxmlns:dc="http://purl.org/dc/terms/"xmlns="http://example.org/book#"xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="http://example.org/book#Tractatus_LogicoPhilosophicus"><dc:title>Tractatus Logicao-Philospohicus</dc:title><dc:creator>Ludwig Wittgenstein</dc:creator><dc:contributor>Bertrand Russell</dc:contributor><dc:publisher>Harcourt, Brace &amp; Company, Inc.</dc:publisher><dc:date>1922</dc:date></rdf:Description></rdf:RDF>Resulting triples in RDF/XML3. Express meaning
Semantic Web4. Link to other Web resources– Progressively link to existing Webresources that someone else hasdefined already
Web Resource4. Link to other Web resourceshttp://example.org/book/Tractatus_Logico-Philosophicusdc:creatorhas awhose name is
Web Resource4. Link to other Web resourceshttp://example.org/book/Tractatus_Logico-Philosophicusdc:creatorhas ahttp://dbpedia.org/page/Ludwig_Wittgensteinwhosenameis
Where is the semantic Web?
RDF → for agentsRDF annotations often expressmetadata (as in our book example)– usually stored in a separate .rdf file– useful for agents, limited use for humans
RDFa → for agents and humansRDFa = RDF in attributes– a way to mark up data in a web page– RDFa encodes RDF triples in HTML– useful for agents and (relatively) easyto use for humans
HTML<html><head><title>Tractatus Logico-Philosophicus</title></head><body><p><img src="tractatus.png" /><br />Written by: Ludwig Wittgenstein <br />With an Introduction by: Bertrand Russell <br /><br />New York <br />Harcourt, Brace & Company, Inc. <br />London: Kegan Paul, Trench, Trubner & Co., Ltd. <br /><p>1922</p></body></html>
RDFa example<html prefix="dc: http://purl.org/dc/terms/“base="http://example.org/book/Tractatus_Logico-Philosophicus"><head><title about="" property="dc:title">Tractatus LogicoPhilosophicus</title></head><body><p about=""><img src="tractatus.png" /><br />Written by: <span property="dc:creator">LudwigWittgenstein</span><br />With an Introduction by: <span property="dc:contributor">Bertrand Russell</span><br /><br />New York <br /><span property="dc:publisher">Harcourt, Brace & Company, Inc.</span><br />London: Kegan Paul, Trench, Trubner & Co., Ltd. <br /><p about=""><span property="dc:date">1922</span></p></body></html>
RDFa – metadata vs. dataRDFa mostly used for metadata, e.g.the book metadata as beforeBut: the principle of the SemanticWeb and Linked Data is to addmeaning to metadata and data– Data could be metadata,– but it could be data, e.g. a bookpurchase at Amazon
Forms, metadata vs. datae.g. Book purchase on AmazonFirst Name:Last Name:JaneDoeEmail: jane.doe@example.comPassword: ********Gender:Birthday: 03 04 1976Male Female
1976Forms, metadata vs. datae.g. Book purchase on AmazonFirst Name:Last Name:JaneDoeEmail: jane.doe@example.comPassword: ********Gender:Birthday: 03 04Male FemaleTitle:Author:Tractatus Logico PhiLudwig WittgensteinPrice: 25 GBPAmount: 1DeliveryAddress:10 Downing StreetLondonSW1A 2AAUnited Kingdom
1976Forms, metadata vs. datae.g. Book purchase on AmazonFirst Name: JaneDoeEmail: jane.doe@example.comPassword: ********Gender:Birthday: 03 04Male FemaleTitle:Author:Tractatus Logico PhiLudwig WittgensteinPrice: 25 GBPAmount:1DeliveryAddress:10 Downing StreetLondonSW1A 2AAUnited Kingdom1976041Cardholder:CC Number:Expiry Date:CVV: 999Price:Type: MastercardJane Doe5999 9999 9999 999904 1325 GBPLast Name:
Forms, metadata vs. datae.g. Book purchase on Amazon197604FemaleTitle:Author:Tractatus Logico PhiLudwig WittgensteinPrice: 25 GBPAmount: 1DeliveryAddress:10 Downing StreetLondonSW1A 2AAUnited Kingdom→ metadata→ metadata→ metadata / data→ data→ data→ data→ data→ data
Issue – Adding RDFa for data to formsForm input elements can beannotated with RDFaBut: RDFa annotations for input datais not possible → no binding
Issue – Adding RDFa for data to formse.g. “Jane” can not be defined asfoaf:firstNameFirst Name:Last Name:JaneDoeEmail: jane.doe@example.comPassword: ********Gender:Birthday: 03 04 1976Male Female<span about="" property="foaf:firstName" content=""><input type="text" name=“First Name" value="" /></span>span>No binding!
Making input data available onthe Semantic Web!
Model and System for semantic Web applications– RDF-based model for forms (RaUL)http://purl.org/NET/raul#– RESTful Web service (ActiveRaUL)http://raul.deri.ie/raul– JavaScript RDFa API
RaUL form modelDefines meta model for form elements
RaUL form model– Triples defining the structure of a form– Triples defining the dataFirst Name:Last Name:JaneDoeEmail: jane.doe@example.comPassword: ********Gender:Birthday: 03 04 1976Male Female→ foaf:firstName→ foaf:surname→ foaf:mbox→ foaf:sha1→ foaf:gender→ time:day, time:month, time:year
ActiveRaUL Web serviceModel-View-Controller– Model: RaUL– View: Rendering serviceto generate RaUL-basedWeb forms inXHTML+RDFa– Controller: Web servicethat maps HTTP terms toCRUD operations on RaULWeb forms
JavaScript RDFa API– Parses RDFa– Manages data binding of form inputto data model
Lifecycle1. Form Modeling:form model in RDFbased on the RaULontology– Actor: ontology engineer
Lifecycle2. Form Deployment:form submitted bycalling ActiveRaUL– Generic form models in apublic namespace →standard form models– Actor: ontology engineer
Lifecycle3. Form Usage: accessand manipulate a formmodel by callingActiveRaUL– submit instance data for aform → bound to a datamodel– Actor: Web user or agent
Lifecycle4. Data Reuse: Add linkto existing, local data ordata in the Linked datacloud– RDFa API retrieves datafrom that URI and prefillsform controls– Actor: Form Provider
ConclusionRDFa annotated Web forms which follow theprinciples of Linked Open Data.Advantages:1. Non-ambiguous model: typed through an ontologicalmodel.2. RDF data submission: submitted data encoded in RDF.3. Explicit form structure: form elements are explicitlymodelled as RDF statements.4. External schema augmentation: reuse existingschemas for form data5. Reuse of Linked Open Data: retrieve data from theLinked Open Data cloud

Recommended

PPT
Linked Data Tutorial
PPTX
Introduction to Linked Data
PPTX
First Steps in Semantic Data Modelling and Search & Analytics in the Cloud
PPTX
Usage of Linked Data: Introduction and Application Scenarios
PDF
An introduction to Semantic Web and Linked Data
PPTX
Consuming Linked Data SemTech2010
PPTX
Linked Data for Czech Legislation
PPT
Semantic Technologies: Representing Semantic Data
ODP
Linked Data
PDF
Danbri Drupalcon Export
PDF
Linked Open Data
PDF
Introduction to RDF & SPARQL
PDF
The Bounties of Semantic Data Integration for the Enterprise
PPTX
2011 05-01 linked data
PPTX
2011 05-02 linked data intro
PPT
Making the Web searchable
PPTX
Search Engines After The Semanatic Web
PPTX
Get on the Linked Data Web!
PPTX
Hack U Barcelona 2011
ODP
Building a semantic website
PDF
Do it on your own - From 3 to 5 Star Linked Open Data with RMLio
PPT
The Power of Semantic Technologies to Explore Linked Open Data
PPTX
Linked Data Usecases
PDF
Linked data as a library data platform
PDF
Linked Data Tutorial
PDF
DH11: Browsing Highly Interconnected Humanities Databases Through Multi-Resul...
PDF
Efficient Practices for Large Scale Text Mining Process
PPTX
Keystone Summer School 2015: Mauro Dragoni, Ontologies For Information Retrieval
PDF
Introduction to Ontology Concepts and Terminology
PPTX
Semantic Web, Ontology, and Ontology Learning: Introduction

More Related Content

PPT
Linked Data Tutorial
PPTX
Introduction to Linked Data
PPTX
First Steps in Semantic Data Modelling and Search & Analytics in the Cloud
PPTX
Usage of Linked Data: Introduction and Application Scenarios
PDF
An introduction to Semantic Web and Linked Data
PPTX
Consuming Linked Data SemTech2010
PPTX
Linked Data for Czech Legislation
PPT
Semantic Technologies: Representing Semantic Data
Linked Data Tutorial
Introduction to Linked Data
First Steps in Semantic Data Modelling and Search & Analytics in the Cloud
Usage of Linked Data: Introduction and Application Scenarios
An introduction to Semantic Web and Linked Data
Consuming Linked Data SemTech2010
Linked Data for Czech Legislation
Semantic Technologies: Representing Semantic Data

What's hot

ODP
Linked Data
PDF
Danbri Drupalcon Export
PDF
Linked Open Data
PDF
Introduction to RDF & SPARQL
PDF
The Bounties of Semantic Data Integration for the Enterprise
PPTX
2011 05-01 linked data
PPTX
2011 05-02 linked data intro
PPT
Making the Web searchable
PPTX
Search Engines After The Semanatic Web
PPTX
Get on the Linked Data Web!
PPTX
Hack U Barcelona 2011
ODP
Building a semantic website
PDF
Do it on your own - From 3 to 5 Star Linked Open Data with RMLio
PPT
The Power of Semantic Technologies to Explore Linked Open Data
PPTX
Linked Data Usecases
PDF
Linked data as a library data platform
PDF
Linked Data Tutorial
PDF
DH11: Browsing Highly Interconnected Humanities Databases Through Multi-Resul...
PDF
Efficient Practices for Large Scale Text Mining Process
PPTX
Keystone Summer School 2015: Mauro Dragoni, Ontologies For Information Retrieval
Linked Data
Danbri Drupalcon Export
Linked Open Data
Introduction to RDF & SPARQL
The Bounties of Semantic Data Integration for the Enterprise
2011 05-01 linked data
2011 05-02 linked data intro
Making the Web searchable
Search Engines After The Semanatic Web
Get on the Linked Data Web!
Hack U Barcelona 2011
Building a semantic website
Do it on your own - From 3 to 5 Star Linked Open Data with RMLio
The Power of Semantic Technologies to Explore Linked Open Data
Linked Data Usecases
Linked data as a library data platform
Linked Data Tutorial
DH11: Browsing Highly Interconnected Humanities Databases Through Multi-Resul...
Efficient Practices for Large Scale Text Mining Process
Keystone Summer School 2015: Mauro Dragoni, Ontologies For Information Retrieval

Viewers also liked

PDF
Introduction to Ontology Concepts and Terminology
PPTX
Semantic Web, Ontology, and Ontology Learning: Introduction
PDF
Freebase, RDF and the Semantic Web
PPT
Object Oriented Dbms
PPTX
Object oriented database model
PPTX
Semantic Data Normalization For Efficient Clinical Trial Research
PPTX
Object oriented dbms
PDF
The Object Oriented Database System Manifesto
PPTX
Jarrar: The Next Generation of the Web 3.0: The Semantic Web
PDF
Smart Models for Smart Cities - Modeling of Dynamics, Sensors, Urban Indicato...
PDF
Freebase Schema
PPT
A Semantic Multimedia Web (Part 3)
PPT
A Semantic Multimedia Web (Part 2)
PPT
Modeling and Representing Trust Relations in Semantic Web-Driven Social Networks
PPT
Building Semantic Web Portals with WebML
PPT
Towards Linked Ontologies and Data on the Semantic Web
PPT
Concept Modeling on Semantic Wiki
PPT
Data Modeling Presentations I
PPT
A Semantic Multimedia Web (Part 1)
PDF
Semantic Modeling - A Query Language for the 21st century
Introduction to Ontology Concepts and Terminology
Semantic Web, Ontology, and Ontology Learning: Introduction
Freebase, RDF and the Semantic Web
Object Oriented Dbms
Object oriented database model
Semantic Data Normalization For Efficient Clinical Trial Research
Object oriented dbms
The Object Oriented Database System Manifesto
Jarrar: The Next Generation of the Web 3.0: The Semantic Web
Smart Models for Smart Cities - Modeling of Dynamics, Sensors, Urban Indicato...
Freebase Schema
A Semantic Multimedia Web (Part 3)
A Semantic Multimedia Web (Part 2)
Modeling and Representing Trust Relations in Semantic Web-Driven Social Networks
Building Semantic Web Portals with WebML
Towards Linked Ontologies and Data on the Semantic Web
Concept Modeling on Semantic Wiki
Data Modeling Presentations I
A Semantic Multimedia Web (Part 1)
Semantic Modeling - A Query Language for the 21st century

Similar to A Semantic Data Model for Web Applications

PPTX
The Social Semantic Web
PPT
The Semantic Web
PPT
Future of Web 2.0 & The Semantic Web
ODP
Web 3.0 The Semantic Web
PPTX
SNSW CO3.pptx
PPT
Semantic web
PPTX
PR and Web 3.0
PPT
Semantic web
PPT
DM110 - Week 10 - Semantic Web / Web 3.0
DOCX
Snsw mid-1 & 2 QB.docx.docx
PPT
Semantic Web 2.0: Creating Social Semantic Information Spaces
PPT
Publishing data on the Semantic Web
PPTX
Linked data MLA 2015
PPTX
Linked Data MLA 2015
PDF
WebGUI And The Semantic Web
PPTX
New Directions in Information Organization: A Linked Data Model with BIBFRAME
PPTX
Semantic web xml-rdf-dom parser
PPTX
The Evolving Semantic Web
PDF
RDF Seminar Presentation
PDF
RDFa: putting RDF on the Web
The Social Semantic Web
The Semantic Web
Future of Web 2.0 & The Semantic Web
Web 3.0 The Semantic Web
SNSW CO3.pptx
Semantic web
PR and Web 3.0
Semantic web
DM110 - Week 10 - Semantic Web / Web 3.0
Snsw mid-1 & 2 QB.docx.docx
Semantic Web 2.0: Creating Social Semantic Information Spaces
Publishing data on the Semantic Web
Linked data MLA 2015
Linked Data MLA 2015
WebGUI And The Semantic Web
New Directions in Information Organization: A Linked Data Model with BIBFRAME
Semantic web xml-rdf-dom parser
The Evolving Semantic Web
RDF Seminar Presentation
RDFa: putting RDF on the Web

Recently uploaded

PDF
Oracle MySQL HeatWave - Short - Version 3
PDF
Transforming Content Operations in the Age of AI
PDF
Oracle MySQL HeatWave - One Page - Version 3
PDF
Running Non-Cloud-Native Databases in Cloud-Native Environments_ Challenges a...
PDF
Mulesoft Meetup Online Portuguese: MCP e IA
PDF
[BDD 2025 - Artificial Intelligence] Building AI Systems That Users (and Comp...
PDF
Open Source Post-Quantum Cryptography - Matt Caswell
PDF
ODSC AI West: Agent Optimization: Beyond Context engineering
PPTX
Guardrails in Action - Ensuring Safe AI with Azure AI Content Safety.pptx
PDF
Mastering Agentic Orchestration with UiPath Maestro | Hands on Workshop
PDF
The partnership effect: Libraries and publishers on collaborating and thrivin...
PDF
Transforming Supply Chains with Amazon Bedrock AgentCore (AWS Swiss User Grou...
PDF
"DISC as GPS for team leaders: how to lead a team from storming to performing...
 
PDF
So You Want to Work at Google | DevFest Seattle 2025
PPTX
"Feelings versus facts: why metrics are more important than intuition", Igor ...
 
PDF
Lets Build a Serverless Function with Kiro
PDF
[BDD 2025 - Artificial Intelligence] AI for the Underdogs: Innovation for Sma...
PDF
10 Best Automation QA Testing Software Tools in 2025.pdf
PPTX
kernel PPT (Explanation of Windows Kernal).pptx
PPTX
How to Choose the Right Vendor for ADA PDF Accessibility and Compliance in 2026
Oracle MySQL HeatWave - Short - Version 3
Transforming Content Operations in the Age of AI
Oracle MySQL HeatWave - One Page - Version 3
Running Non-Cloud-Native Databases in Cloud-Native Environments_ Challenges a...
Mulesoft Meetup Online Portuguese: MCP e IA
[BDD 2025 - Artificial Intelligence] Building AI Systems That Users (and Comp...
Open Source Post-Quantum Cryptography - Matt Caswell
ODSC AI West: Agent Optimization: Beyond Context engineering
Guardrails in Action - Ensuring Safe AI with Azure AI Content Safety.pptx
Mastering Agentic Orchestration with UiPath Maestro | Hands on Workshop
The partnership effect: Libraries and publishers on collaborating and thrivin...
Transforming Supply Chains with Amazon Bedrock AgentCore (AWS Swiss User Grou...
"DISC as GPS for team leaders: how to lead a team from storming to performing...
 
So You Want to Work at Google | DevFest Seattle 2025
"Feelings versus facts: why metrics are more important than intuition", Igor ...
 
Lets Build a Serverless Function with Kiro
[BDD 2025 - Artificial Intelligence] AI for the Underdogs: Innovation for Sma...
10 Best Automation QA Testing Software Tools in 2025.pdf
kernel PPT (Explanation of Windows Kernal).pptx
How to Choose the Right Vendor for ADA PDF Accessibility and Compliance in 2026

A Semantic Data Model for Web Applications

  • 1.
    Armin Haller &Florian RosenbergA Semantic Data Model for WebApplicationsCSIRO ICT Centre Conference
  • 2.
    Semantic WebAdds machinereadable data to Webresources
  • 3.
    Semantic Web“First stepis putting data on the Webin a form that machines can naturallyunderstand, or converting it to thatform. This creates what I call aSemantic Web - a web of data thatcan be processed directly or indirectlyby machines.” – Tim Berners-Lee
  • 4.
    Web ResourceA pageabout a book<html><head><title>Tractatus Logico-Philosophicus</title></head><body><p><img src="tractatus.png" /><br/>Written by: Ludwig Wittgenstein <br />With an Introduction by: Bertrand Russell</p><p>New York <br />Harcourt, Brace & Company, Inc. <br />London: Kegan Paul, Trench, Trubner & Co.,Ltd. <br /><p>1922</p></body></html>
  • 5.
    Web ResourceA Book– Metadata elementsTitleAuthorPublisherDateContributor
  • 6.
    Four principles toadd machine readable data1. Identify resources2. Reuse ontologies3. Express meaning4. Link to other Web resources
  • 7.
    Semantic Web1. Identifyresources– Uniquely assign a Uniform ResourceIdentifier (URI) to every Web resource
  • 8.
    TitleAuthorPublisherDateContributorWeb Resource1. Identifyresourceshttp://example.org/book/Tractatus_Logico-Philosophicus
  • 9.
    Semantic Web2. ReuseOntologies– Specification of a conceptualization,ie. a description of the concepts andrelationships in a domain– Link to information in ontologies bytheir URI to reuse the samedefinition of common concepts, suchas the "book" or the "title“
  • 10.
    TitleAuthorPublisherDateContributorWeb Resource2. Reuseontologies – e.g. Dublin Corehttp://purl.org/dc/elements/1.1/creatorhttp://purl.org/dc/elements/1.1/datehttp://purl.org/dc/elements/1.1/publisherhttp://purl.org/dc/elements/1.1/contributorhttp://purl.org/dc/elements/1.1/title
  • 11.
    Semantic Web3. Expressmeaning– Add structured information and setof rules to Web resources– Use knowledge representationlanguage – typically RDF• statements about Web resources in theform of Subject-Predicate-Object(S P O) triples
  • 12.
    Web Resource3. Expressmeaninghttp://example.org/book/Tractatus_Logico-Philosophicusdc:titlehas awhich is
  • 13.
    Web Resource3. Expressmeaninghttp://example.org/book/Tractatus_Logico-Philosophicusdc:creatorhas awhose name is
  • 14.
    Web Resource3. Expressmeaninghttp://example.org/book/Tractatus_Logico-Philosophicusdc:contributorhasawhose name is
  • 15.
    Web Resource3. Expressmeaninghttp://example.org/book/Tractatus_Logico-Philosophicusdc:publisherwhich ishas a
  • 16.
    Web Resource3. Expressmeaninghttp://example.org/book/Tractatus_Logico-Philosophicusdc:datehas awhich is
  • 17.
    @prefix dc: <http://purl.org/dc/terms/>.@prefix : <http://example.org/book#> .:Tractatus_Logico-Philosophicus dc:title "Tractatus Logico-Philospohicus" .:Tractatus_Logico-Philosophicus dc:creator "Ludwig Wittgenstein" .:Tractatus_Logico-Philosophicus dc:contributor "Bertrand Russell" .:Tractatus_Logico-Philosophicus dc:publisher "Harcourt, Brace & Company, Inc." .:Tractatus_Logico-Philosophicus dc:date "1922" .Resulting triples3. Express meaning
  • 18.
    <?xml version="1.0" encoding="UTF-8"?><rdf:RDFxmlns:dc="http://purl.org/dc/terms/"xmlns="http://example.org/book#"xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Descriptionrdf:about="http://example.org/book#Tractatus_LogicoPhilosophicus"><dc:title>Tractatus Logicao-Philospohicus</dc:title><dc:creator>Ludwig Wittgenstein</dc:creator><dc:contributor>Bertrand Russell</dc:contributor><dc:publisher>Harcourt, Brace &amp; Company, Inc.</dc:publisher><dc:date>1922</dc:date></rdf:Description></rdf:RDF>Resulting triples in RDF/XML3. Express meaning
  • 19.
    Semantic Web4. Linkto other Web resources– Progressively link to existing Webresources that someone else hasdefined already
  • 20.
    Web Resource4. Linkto other Web resourceshttp://example.org/book/Tractatus_Logico-Philosophicusdc:creatorhas awhose name is
  • 21.
    Web Resource4. Linkto other Web resourceshttp://example.org/book/Tractatus_Logico-Philosophicusdc:creatorhas ahttp://dbpedia.org/page/Ludwig_Wittgensteinwhosenameis
  • 22.
    Where is thesemantic Web?
  • 23.
    RDF → foragentsRDF annotations often expressmetadata (as in our book example)– usually stored in a separate .rdf file– useful for agents, limited use for humans
  • 24.
    RDFa → foragents and humansRDFa = RDF in attributes– a way to mark up data in a web page– RDFa encodes RDF triples in HTML– useful for agents and (relatively) easyto use for humans
  • 25.
    HTML<html><head><title>Tractatus Logico-Philosophicus</title></head><body><p><img src="tractatus.png"/><br />Written by: Ludwig Wittgenstein <br />With an Introduction by: Bertrand Russell <br /><br />New York <br />Harcourt, Brace & Company, Inc. <br />London: Kegan Paul, Trench, Trubner & Co., Ltd. <br /><p>1922</p></body></html>
  • 26.
    RDFa example<html prefix="dc:http://purl.org/dc/terms/“base="http://example.org/book/Tractatus_Logico-Philosophicus"><head><title about="" property="dc:title">Tractatus LogicoPhilosophicus</title></head><body><p about=""><img src="tractatus.png" /><br />Written by: <span property="dc:creator">LudwigWittgenstein</span><br />With an Introduction by: <span property="dc:contributor">Bertrand Russell</span><br /><br />New York <br /><span property="dc:publisher">Harcourt, Brace & Company, Inc.</span><br />London: Kegan Paul, Trench, Trubner & Co., Ltd. <br /><p about=""><span property="dc:date">1922</span></p></body></html>
  • 27.
    RDFa – metadatavs. dataRDFa mostly used for metadata, e.g.the book metadata as beforeBut: the principle of the SemanticWeb and Linked Data is to addmeaning to metadata and data– Data could be metadata,– but it could be data, e.g. a bookpurchase at Amazon
  • 28.
    Forms, metadata vs.datae.g. Book purchase on AmazonFirst Name:Last Name:JaneDoeEmail: jane.doe@example.comPassword: ********Gender:Birthday: 03 04 1976Male Female
  • 29.
    1976Forms, metadata vs.datae.g. Book purchase on AmazonFirst Name:Last Name:JaneDoeEmail: jane.doe@example.comPassword: ********Gender:Birthday: 03 04Male FemaleTitle:Author:Tractatus Logico PhiLudwig WittgensteinPrice: 25 GBPAmount: 1DeliveryAddress:10 Downing StreetLondonSW1A 2AAUnited Kingdom
  • 30.
    1976Forms, metadata vs.datae.g. Book purchase on AmazonFirst Name: JaneDoeEmail: jane.doe@example.comPassword: ********Gender:Birthday: 03 04Male FemaleTitle:Author:Tractatus Logico PhiLudwig WittgensteinPrice: 25 GBPAmount:1DeliveryAddress:10 Downing StreetLondonSW1A 2AAUnited Kingdom1976041Cardholder:CC Number:Expiry Date:CVV: 999Price:Type: MastercardJane Doe5999 9999 9999 999904 1325 GBPLast Name:
  • 31.
    Forms, metadata vs.datae.g. Book purchase on Amazon197604FemaleTitle:Author:Tractatus Logico PhiLudwig WittgensteinPrice: 25 GBPAmount: 1DeliveryAddress:10 Downing StreetLondonSW1A 2AAUnited Kingdom→ metadata→ metadata→ metadata / data→ data→ data→ data→ data→ data
  • 32.
    Issue – AddingRDFa for data to formsForm input elements can beannotated with RDFaBut: RDFa annotations for input datais not possible → no binding
  • 33.
    Issue – AddingRDFa for data to formse.g. “Jane” can not be defined asfoaf:firstNameFirst Name:Last Name:JaneDoeEmail: jane.doe@example.comPassword: ********Gender:Birthday: 03 04 1976Male Female<span about="" property="foaf:firstName" content=""><input type="text" name=“First Name" value="" /></span>span>No binding!
  • 34.
    Making input dataavailable onthe Semantic Web!
  • 35.
    Model and Systemfor semantic Web applications– RDF-based model for forms (RaUL)http://purl.org/NET/raul#– RESTful Web service (ActiveRaUL)http://raul.deri.ie/raul– JavaScript RDFa API
  • 36.
    RaUL form modelDefinesmeta model for form elements
  • 37.
    RaUL form model–Triples defining the structure of a form– Triples defining the dataFirst Name:Last Name:JaneDoeEmail: jane.doe@example.comPassword: ********Gender:Birthday: 03 04 1976Male Female→ foaf:firstName→ foaf:surname→ foaf:mbox→ foaf:sha1→ foaf:gender→ time:day, time:month, time:year
  • 38.
    ActiveRaUL Web serviceModel-View-Controller–Model: RaUL– View: Rendering serviceto generate RaUL-basedWeb forms inXHTML+RDFa– Controller: Web servicethat maps HTTP terms toCRUD operations on RaULWeb forms
  • 39.
    JavaScript RDFa API–Parses RDFa– Manages data binding of form inputto data model
  • 40.
    Lifecycle1. Form Modeling:formmodel in RDFbased on the RaULontology– Actor: ontology engineer
  • 41.
    Lifecycle2. Form Deployment:formsubmitted bycalling ActiveRaUL– Generic form models in apublic namespace →standard form models– Actor: ontology engineer
  • 42.
    Lifecycle3. Form Usage:accessand manipulate a formmodel by callingActiveRaUL– submit instance data for aform → bound to a datamodel– Actor: Web user or agent
  • 43.
    Lifecycle4. Data Reuse:Add linkto existing, local data ordata in the Linked datacloud– RDFa API retrieves datafrom that URI and prefillsform controls– Actor: Form Provider
  • 44.
    ConclusionRDFa annotated Webforms which follow theprinciples of Linked Open Data.Advantages:1. Non-ambiguous model: typed through an ontologicalmodel.2. RDF data submission: submitted data encoded in RDF.3. Explicit form structure: form elements are explicitlymodelled as RDF statements.4. External schema augmentation: reuse existingschemas for form data5. Reuse of Linked Open Data: retrieve data from theLinked Open Data cloud

[8]ページ先頭

©2009-2025 Movatter.jp