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

More Related Content

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

What's hot

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

Viewers also liked

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

Similar to A Semantic Data Model for Web Applications

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

Recently uploaded

PDF
Transforming Supply Chains with Amazon Bedrock AgentCore (AWS Swiss User Grou...
PPTX
MuleSoft AI Series : Introduction to MCP
PDF
Crane Accident Prevention Guide: Key OSHA Regulations for Safer Operations
PDF
ODSC AI West: Agent Optimization: Beyond Context engineering
PDF
[DevFest Strasbourg 2025] - NodeJs Can do that !!
PDF
Accessibility & Inclusion: What Comes Next. Presentation of the Digital Acces...
PDF
[BDD 2025 - Mobile Development] Exploring Apple’s On-Device FoundationModels
PDF
Cybersecurity Prevention and Detection: Unit 2
PDF
Parallel Computing BCS702 Module notes of the vtu college 7th sem 4.pdf
PPTX
Support, Monitoring, Continuous Improvement & Scaling Agentic Automation [3/3]
PPTX
UFCD 0797 - SISTEMAS OPERATIVOS_Unidade Completa.pptx
PDF
Top Crypto Supers 15th Report November 2025
PDF
The Evolving Role of the CEO in the Age of AI
PDF
"DISC as GPS for team leaders: how to lead a team from storming to performing...
 
PDF
Mastering Agentic Orchestration with UiPath Maestro | Hands on Workshop
PPTX
Connecting the unconnectable: Exploring LoRaWAN for IoT
PDF
So You Want to Work at Google | DevFest Seattle 2025
PDF
Mulesoft Meetup Online Portuguese: MCP e IA
PDF
The partnership effect: Libraries and publishers on collaborating and thrivin...
PDF
Transcript: The partnership effect: Libraries and publishers on collaborating...
Transforming Supply Chains with Amazon Bedrock AgentCore (AWS Swiss User Grou...
MuleSoft AI Series : Introduction to MCP
Crane Accident Prevention Guide: Key OSHA Regulations for Safer Operations
ODSC AI West: Agent Optimization: Beyond Context engineering
[DevFest Strasbourg 2025] - NodeJs Can do that !!
Accessibility & Inclusion: What Comes Next. Presentation of the Digital Acces...
[BDD 2025 - Mobile Development] Exploring Apple’s On-Device FoundationModels
Cybersecurity Prevention and Detection: Unit 2
Parallel Computing BCS702 Module notes of the vtu college 7th sem 4.pdf
Support, Monitoring, Continuous Improvement & Scaling Agentic Automation [3/3]
UFCD 0797 - SISTEMAS OPERATIVOS_Unidade Completa.pptx
Top Crypto Supers 15th Report November 2025
The Evolving Role of the CEO in the Age of AI
"DISC as GPS for team leaders: how to lead a team from storming to performing...
 
Mastering Agentic Orchestration with UiPath Maestro | Hands on Workshop
Connecting the unconnectable: Exploring LoRaWAN for IoT
So You Want to Work at Google | DevFest Seattle 2025
Mulesoft Meetup Online Portuguese: MCP e IA
The partnership effect: Libraries and publishers on collaborating and thrivin...
Transcript: The partnership effect: Libraries and publishers on collaborating...

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