SlideShare a Scribd company logo
RDF Briefing
     Frank van Harmelen
Vrije Universiteit Amsterdam
W3C Stack
 XML:
  • Surface syntax, no semantics
 XML Schema:
  • Describes structure of XML documents
 RDF:
  • Datamodel for “relations” between “things”
 RDF Schema:
  • RDF Vocabulary Definition Language
 OWL:
  • A more expressive
    Vocabulary Definition Language
Meta-data
            alleviates

<treatment>
                          <name>

  <symptoms>

  IS-A                   <disease>
         <drug>

         <drug
administration>
Meta-data in XML
           αλλεϖιατεσ

<τρεατµεντ>
                         <ναµε>

   <σψµπτοµσ>

   ΙΣ−Α                 <δισεασε>
          <δρυγ>

          <δρυγ
αδµινιστρατιον>
Meta-data in RDF
           αλλεϖιατεσ

<τρεατµεντ>
                         <ναµε>

   <σψµπτοµσ>

   IS-A                 <δισεασε>
          <δρυγ>

          <δρυγ
αδµινιστρατιον>
Bluffer’s guide to RDF (1)
  Object ->Attribute-> Value triples
                                    Author-of
                          pers05                ISBN...

  objects are web-resources
  Value is again an Object:
   • triples can be linked
   • data-model = graph
          Author-of                  Publ-
 pers05                   ISBN...    by         MIT
          Au t
              hor
                    -of                Pub l-
                          ISBN...
                                        by
Bluffer’s guide to RDF (2)
  Every identifier is a URL
    = world-wide unique naming
  Has XML syntax    <rdf:Description rdf:about=“#pers05”>
                       <authorOf>ISBN...</authorOf>
                     </rdf:Description>



  Any statement can be an object
    • graphs can be nested
          claims                 Author-of
  NYT                 pers05                     ISBN...
What does RDF Schema add?
  • Defines vocabulary for RDF
  • Organizes this vocabulary in a
    typed hierarchy
    • Class, subClassOf, type
    • Property, subPropertyOf
    • domain, range
                                          Person
                                                          subClassOf
                       subClassOf

                          domain                    range
              Author         c o m m u n ic a t e s T o          Reader

            type                                                       type
                             c o m m u n ic a t e s T o
               Frank                                              Lynda
RDF(S) have a (very small)
formal semantics
 Defines what other statements are implied
  by a given set of RDF(S) statements

 Ensures mutual
  agreement on minimal content
  between parties without further contact

 In the form of “entailment rules”
 Very simple to compute
  (and not explosive in practice)
RDF(S) semantics: examples
 Aspirin isOfType Painkiller
  Painkiller subClassOf Drug
   Aspirin isOfType Drug

 aspirin alleviates headache
  alleviates range symptom
   headache isOfType symptom
RDF(S) semantics: examples
 Ασπιριν isOfType Παινκιλλερ
  Παινκιλλερ subClassOf ∆ρυγ
   Ασπιριν isOfType ∆ρυγ

 ασπιριν αλλεϖιατεσ ηεαδαχηε
  τρεατσ range σψµπτοµ
   ηεαδαχηε isOfType σψµπτοµ
RDF(S) semantics
 X R Y + R domain T → X IsOfType T
 X R Y + R range T → Y IsOfType T
 T1 SubClassOf T2 +
  T2 SubClassOf T3 → T1 SubClassOf T3
 X IsOfType T1 +
  T1 SubClassOf T2 → X IsOfType T1
RDF(S) syntax: graphics
 Turtle
      <http://sem-web-primer>              dc:author

              dc:title


       "Semantic Web Primer"

                                fullname
                                           homepage
            "Frank van Harmelen"

                          http://www.cs.vu.nl/~frankh
RDF(S) syntax: XML

<rdf:RDF>
 <rdf:Description rdf:about="http://sem-web-primer"
  dc:title="Semantic Web Primer">
   <dc:author>
    <rdf:Description fullname="Frank van Harmelen">
     <homePage rdf:resource="http://www.cs.vu.nl/~frankh"/>
    </rdf:Description>
   </dc:author>
 </rdf:Description>
</rdf:RDF>
RDF(S) syntax: Turtle

<http://sem-web-primer>
 dc:title "Semantic Web Primer" ;
 dc:author [
  fullname "Frank van Harmelen";
  homePage <http://www.cs.vu.nl/~frankh>
 ].
RDF(S)/XML relationship
 XML is a just a syntax for RDF(S)
  • (one of many)
 RDF(S) assigns meaning to some terms
  • (XML doesn't)
 This allows greater interoperability:
  • tools/tools
  • thesaurus/thesaurus
  • tools/thesaurus
RDF(S)/XML relationship
 All identifiers are URL's
  • Allows total decoupling of
     • document
     • thesaurus
     • meta-data
                   [<x> IsOfType <T>]




                       different
                   owners & locations
RDF(S) interoperability:
example: EMTREE → UMLS
Work by Heiner Stuckenschmidt@VU
  and Maria Taboada@Santiago

   Converted EMTREE to RDF(S)
   Load into existing RDF(S) editor (Protégé)
   Use existing RDF(S) wrapper for UMLS
   Deploy existing linguistic term mapper
RDF(S) interoperability:
example: EMTREE → UMLS
 24305 EMTREE pref.names →
  unique UMLS concept
 2051 EMTREE pref.names →
  multiple UMLS concepts
 20071 EMTREE pref. name →
  no UMLS concepts
 34332 EMTREE pref. names + synonyms →
  some UMLS concept(s): 74%
Effort = days
RDF(S)/XML conversion
 step-wise process description exists
 hardest part is:
  • mentally re-engineering the thesaurus model
make this model as sharable as possible
RDF does, XML doesn't
Summary in quotes
"RDF developers focus on its non-anglebracketty abstract
information model rather than its representation in markup"

"the RDF information model is couched in terms
 of "resources" (aka things, objects, entities...)
 and their "properties" (aka relationships)"

"RDF offers XML tools a way of being explicit
 about the content of (some subset of) XML documents"

"RDF can be used to represent the claims implicit in XML
Linking elements […] we can think about the resulting RDF
data as a characterisation of what the XML was telling us"

"RDF cares about the messages encoded in XML, not about
the specific form of their encoding in elements and attributes"
Summary in quotes

"There is no algorithm for merging two XML Infosets, to
enable us to pool knowledge acquired from diverse
sources. The RDF information model, by constrast, was
designed with data aggregation (rather than structured
documents) in mind. Merging RDF data is trivial: add the
triples extracted from two RDF/XML documents, and
store them in a new one."




         syntactically…
Things RDF(S) can’t do
 equality
 enumeration
 number restrictions
  • Single-valued/multi-valued
  • Optional/required values
 inverse, symmetric, transitive
 boolean algebra
  • Union, complement
…
OWL: more expressivity
 OWL Light
  (sub)classes, individuals
  (sub)properties, domain,           RDF Schema
  range
  conjunction                                       Full
  (in)equality
  cardinality 0/1                                    DL
  datatypes
  inverse, transitive, symmetric                    Lite
  hasValue
  someValuesFrom
  allValuesFrom
OWL DL                              OWL Full
  Negation                            Allow meta-classes etc
  Disjunction
  Full Cardinality
  Enumerated types
OWL also has a
formal semantics
 Defines what other statements are implied by a
  given set of statements

 Ensures mutual agreement on content
  (both minimal and maximal)
  between parties without further contact

 Can be used for integrity/consistency checking
 Hard to compute
  (and rarely/sometime/always explosive in practice)
OWL semantics: minimal
 vanGogh isOfType Impressionist
  Impressionist subClassOf Painter
   vanGogh isOfType Painter

 vanGogh painter-of sunflowers
  painter-of domain painter
   vanGogh isOfType painter
OWL semantics: maximal
 vanGogh isOfType Impressionist
  Impressionist disjointFrom Cubist
   NOT: vanGogh isOfType Cubist

 painted-by has-cardinality 1
  sun-flowers painted-by vanGogh
  Picasso different-individual-from vanGogh
   NOT: sun-flowers painted-by Picasso

More Related Content

What's hot

SWT Lecture Session 9 - RDB2RDF direct mapping
SWT Lecture Session 9 - RDB2RDF direct mappingSWT Lecture Session 9 - RDB2RDF direct mapping
SWT Lecture Session 9 - RDB2RDF direct mapping
Mariano Rodriguez-Muro
 
Efficient Query Answering against Dynamic RDF Databases
Efficient Query Answering against Dynamic RDF DatabasesEfficient Query Answering against Dynamic RDF Databases
Efficient Query Answering against Dynamic RDF Databases
Alexandra Roatiș
 

What's hot (19)

Introduction to RDF
Introduction to RDFIntroduction to RDF
Introduction to RDF
 
SWT Lecture Session 9 - RDB2RDF direct mapping
SWT Lecture Session 9 - RDB2RDF direct mappingSWT Lecture Session 9 - RDB2RDF direct mapping
SWT Lecture Session 9 - RDB2RDF direct mapping
 
SWT Lecture Session 10 R2RML Part 1
SWT Lecture Session 10 R2RML Part 1SWT Lecture Session 10 R2RML Part 1
SWT Lecture Session 10 R2RML Part 1
 
RDF validation tutorial
RDF validation tutorialRDF validation tutorial
RDF validation tutorial
 
Another RDF Encoding Form
Another RDF Encoding FormAnother RDF Encoding Form
Another RDF Encoding Form
 
Challenges and applications of RDF shapes
Challenges and applications of RDF shapesChallenges and applications of RDF shapes
Challenges and applications of RDF shapes
 
SHACL: Shaping the Big Ball of Data Mud
SHACL: Shaping the Big Ball of Data MudSHACL: Shaping the Big Ball of Data Mud
SHACL: Shaping the Big Ball of Data Mud
 
Efficient Query Answering against Dynamic RDF Databases
Efficient Query Answering against Dynamic RDF DatabasesEfficient Query Answering against Dynamic RDF Databases
Efficient Query Answering against Dynamic RDF Databases
 
SPIN in Five Slides
SPIN in Five SlidesSPIN in Five Slides
SPIN in Five Slides
 
Data shapes-test-suite
Data shapes-test-suiteData shapes-test-suite
Data shapes-test-suite
 
ShEx by Example
ShEx by ExampleShEx by Example
ShEx by Example
 
ShEx vs SHACL
ShEx vs SHACLShEx vs SHACL
ShEx vs SHACL
 
Introduction To RDF and RDFS
Introduction To RDF and RDFSIntroduction To RDF and RDFS
Introduction To RDF and RDFS
 
SHACL by example
SHACL by exampleSHACL by example
SHACL by example
 
Introduction to SPARQL
Introduction to SPARQLIntroduction to SPARQL
Introduction to SPARQL
 
Rdf
RdfRdf
Rdf
 
RDF, SPARQL and Semantic Repositories
RDF, SPARQL and Semantic RepositoriesRDF, SPARQL and Semantic Repositories
RDF, SPARQL and Semantic Repositories
 
Data in RDF
Data in RDFData in RDF
Data in RDF
 
Validating RDF data: Challenges and perspectives
Validating RDF data: Challenges and perspectivesValidating RDF data: Challenges and perspectives
Validating RDF data: Challenges and perspectives
 

Viewers also liked

Gita Study Nov 10 Dr. Shriniwas J. Kashalikar
Gita Study  Nov 10  Dr. Shriniwas J. KashalikarGita Study  Nov 10  Dr. Shriniwas J. Kashalikar
Gita Study Nov 10 Dr. Shriniwas J. Kashalikar
amolsawarkar
 

Viewers also liked (8)

SeMuDate-SAMT How To Align Media Metadata Schemas, Design And Implementation ...
SeMuDate-SAMT How To Align Media Metadata Schemas, Design And Implementation ...SeMuDate-SAMT How To Align Media Metadata Schemas, Design And Implementation ...
SeMuDate-SAMT How To Align Media Metadata Schemas, Design And Implementation ...
 
2009.09.29 chris poppe - metadata
2009.09.29   chris poppe - metadata2009.09.29   chris poppe - metadata
2009.09.29 chris poppe - metadata
 
Strategic scenarios in digital content and digital business
Strategic scenarios in digital content and digital businessStrategic scenarios in digital content and digital business
Strategic scenarios in digital content and digital business
 
Gita Study Nov 10 Dr. Shriniwas J. Kashalikar
Gita Study  Nov 10  Dr. Shriniwas J. KashalikarGita Study  Nov 10  Dr. Shriniwas J. Kashalikar
Gita Study Nov 10 Dr. Shriniwas J. Kashalikar
 
Genomics and OpenHelix - Basic Intro 12apr09
Genomics and OpenHelix - Basic Intro 12apr09Genomics and OpenHelix - Basic Intro 12apr09
Genomics and OpenHelix - Basic Intro 12apr09
 
MOVIO: Interactive digital storytelling for mediation and valorisation of cul...
MOVIO: Interactive digital storytelling for mediation and valorisation of cul...MOVIO: Interactive digital storytelling for mediation and valorisation of cul...
MOVIO: Interactive digital storytelling for mediation and valorisation of cul...
 
ODASE Introduction
ODASE IntroductionODASE Introduction
ODASE Introduction
 
FRBR light with Simplified Ontology for Bibliographic Resource
FRBR light with Simplified Ontology for Bibliographic ResourceFRBR light with Simplified Ontology for Bibliographic Resource
FRBR light with Simplified Ontology for Bibliographic Resource
 

Similar to RDF briefing

KIT Graduiertenkolloquium 11.05.2016
KIT Graduiertenkolloquium 11.05.2016KIT Graduiertenkolloquium 11.05.2016
KIT Graduiertenkolloquium 11.05.2016
Dr.-Ing. Thomas Hartmann
 
An introduction to Semantic Web and Linked Data
An introduction to Semantic  Web and Linked DataAn introduction to Semantic  Web and Linked Data
An introduction to Semantic Web and Linked Data
Gabriela Agustini
 
An introduction to Semantic Web and Linked Data
An introduction to Semantic Web and Linked DataAn introduction to Semantic Web and Linked Data
An introduction to Semantic Web and Linked Data
Gabriela Agustini
 
W3C Tutorial on Semantic Web and Linked Data at WWW 2013
W3C Tutorial on Semantic Web and Linked Data at WWW 2013W3C Tutorial on Semantic Web and Linked Data at WWW 2013
W3C Tutorial on Semantic Web and Linked Data at WWW 2013
Fabien Gandon
 

Similar to RDF briefing (20)

A Semantic Multimedia Web (Part 2)
A Semantic Multimedia Web (Part 2)A Semantic Multimedia Web (Part 2)
A Semantic Multimedia Web (Part 2)
 
OWL briefing
OWL briefingOWL briefing
OWL briefing
 
SWT Lecture Session 5 - RDFS
SWT Lecture Session 5 - RDFSSWT Lecture Session 5 - RDFS
SWT Lecture Session 5 - RDFS
 
RDF Semantics
RDF SemanticsRDF Semantics
RDF Semantics
 
XML Bible
XML BibleXML Bible
XML Bible
 
KIT Graduiertenkolloquium 11.05.2016
KIT Graduiertenkolloquium 11.05.2016KIT Graduiertenkolloquium 11.05.2016
KIT Graduiertenkolloquium 11.05.2016
 
A Hands On Overview Of The Semantic Web
A Hands On Overview Of The Semantic WebA Hands On Overview Of The Semantic Web
A Hands On Overview Of The Semantic Web
 
RDFS In A Nutshell V1
RDFS In A Nutshell V1RDFS In A Nutshell V1
RDFS In A Nutshell V1
 
RDF and Java
RDF and JavaRDF and Java
RDF and Java
 
Ontologies and Vocabularies
Ontologies and VocabulariesOntologies and Vocabularies
Ontologies and Vocabularies
 
Resource description framework
Resource description frameworkResource description framework
Resource description framework
 
DLF 2015 Presentation, "RDF in the Real World."
DLF 2015 Presentation, "RDF in the Real World." DLF 2015 Presentation, "RDF in the Real World."
DLF 2015 Presentation, "RDF in the Real World."
 
Introduction to RDF
Introduction to RDFIntroduction to RDF
Introduction to RDF
 
An introduction to Semantic Web and Linked Data
An introduction to Semantic  Web and Linked DataAn introduction to Semantic  Web and Linked Data
An introduction to Semantic Web and Linked Data
 
An introduction to Semantic Web and Linked Data
An introduction to Semantic Web and Linked DataAn introduction to Semantic Web and Linked Data
An introduction to Semantic Web and Linked Data
 
W3C Tutorial on Semantic Web and Linked Data at WWW 2013
W3C Tutorial on Semantic Web and Linked Data at WWW 2013W3C Tutorial on Semantic Web and Linked Data at WWW 2013
W3C Tutorial on Semantic Web and Linked Data at WWW 2013
 
Rdf data-model-and-storage
Rdf data-model-and-storageRdf data-model-and-storage
Rdf data-model-and-storage
 
Semantic web Technology
Semantic web TechnologySemantic web Technology
Semantic web Technology
 
Ontologies in RDF-S/OWL
Ontologies in RDF-S/OWLOntologies in RDF-S/OWL
Ontologies in RDF-S/OWL
 
Graph databases & data integration v2
Graph databases & data integration v2Graph databases & data integration v2
Graph databases & data integration v2
 

More from Frank van Harmelen

4 Popular Fallacies about the Semantic Web
4 Popular Fallacies about the Semantic Web4 Popular Fallacies about the Semantic Web
4 Popular Fallacies about the Semantic Web
Frank van Harmelen
 

More from Frank van Harmelen (20)

Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
 
The K in "neuro-symbolic" stands for "knowledge"
The K in "neuro-symbolic" stands for "knowledge"The K in "neuro-symbolic" stands for "knowledge"
The K in "neuro-symbolic" stands for "knowledge"
 
Adoption of Knowledge Graphs, mid 2022 (incomplete)
Adoption of Knowledge Graphs, mid 2022 (incomplete)Adoption of Knowledge Graphs, mid 2022 (incomplete)
Adoption of Knowledge Graphs, mid 2022 (incomplete)
 
Modular design patterns for systems that learn and reason: a boxology
Modular design patterns for systems that learn and reason: a boxologyModular design patterns for systems that learn and reason: a boxology
Modular design patterns for systems that learn and reason: a boxology
 
Adoption of Knowledge Graphs, late 2019
Adoption of Knowledge Graphs, late 2019Adoption of Knowledge Graphs, late 2019
Adoption of Knowledge Graphs, late 2019
 
Adoption of Knowledge Graphs, mid 2019
Adoption of Knowledge Graphs, mid 2019Adoption of Knowledge Graphs, mid 2019
Adoption of Knowledge Graphs, mid 2019
 
Empirical Semantics
Empirical SemanticsEmpirical Semantics
Empirical Semantics
 
The Empirical Turn in Knowledge Representation
The Empirical Turn in Knowledge RepresentationThe Empirical Turn in Knowledge Representation
The Empirical Turn in Knowledge Representation
 
The end of the scientific paper as we know it (or not...)
The end of the scientific paper as we know it (or not...)The end of the scientific paper as we know it (or not...)
The end of the scientific paper as we know it (or not...)
 
On the nature of AI, and the relation between symbolic and statistical approa...
On the nature of AI, and the relation between symbolic and statistical approa...On the nature of AI, and the relation between symbolic and statistical approa...
On the nature of AI, and the relation between symbolic and statistical approa...
 
The end of the scientific paper as we know it (in 4 easy steps)
The end of the scientific paper as we know it (in 4 easy steps)The end of the scientific paper as we know it (in 4 easy steps)
The end of the scientific paper as we know it (in 4 easy steps)
 
Linked Open Data for Medical Guidelines Interactions
Linked Open Data for Medical  Guidelines InteractionsLinked Open Data for Medical  Guidelines Interactions
Linked Open Data for Medical Guidelines Interactions
 
The Web of Data: do we actually understand what we built?
The Web of Data: do we actually understand what we built?The Web of Data: do we actually understand what we built?
The Web of Data: do we actually understand what we built?
 
Semantic Web questions we couldn't ask 10 years ago
Semantic Web questions we couldn't ask 10 years agoSemantic Web questions we couldn't ask 10 years ago
Semantic Web questions we couldn't ask 10 years ago
 
Knowledge Engineering rediscovered, Towards Reasoning Patterns for the Semant...
Knowledge Engineering rediscovered, Towards Reasoning Patterns for the Semant...Knowledge Engineering rediscovered, Towards Reasoning Patterns for the Semant...
Knowledge Engineering rediscovered, Towards Reasoning Patterns for the Semant...
 
Informatics is a natural science
Informatics is a natural scienceInformatics is a natural science
Informatics is a natural science
 
How the Web can change social science research (including yours)
How the Web can change social science research (including yours)How the Web can change social science research (including yours)
How the Web can change social science research (including yours)
 
4 Popular Fallacies about the Semantic Web
4 Popular Fallacies about the Semantic Web4 Popular Fallacies about the Semantic Web
4 Popular Fallacies about the Semantic Web
 
WCIT2010
WCIT2010WCIT2010
WCIT2010
 
Het slimme Web 3.0
Het slimme Web 3.0Het slimme Web 3.0
Het slimme Web 3.0
 

Recently uploaded

Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
Safe Software
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
Bhaskar Mitra
 

Recently uploaded (20)

JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
In-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT ProfessionalsIn-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT Professionals
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
Demystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John StaveleyDemystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John Staveley
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 

RDF briefing

  • 1. RDF Briefing Frank van Harmelen Vrije Universiteit Amsterdam
  • 2. W3C Stack  XML: • Surface syntax, no semantics  XML Schema: • Describes structure of XML documents  RDF: • Datamodel for “relations” between “things”  RDF Schema: • RDF Vocabulary Definition Language  OWL: • A more expressive Vocabulary Definition Language
  • 3. Meta-data alleviates <treatment> <name> <symptoms> IS-A <disease> <drug> <drug administration>
  • 4. Meta-data in XML αλλεϖιατεσ <τρεατµεντ> <ναµε> <σψµπτοµσ> ΙΣ−Α <δισεασε> <δρυγ> <δρυγ αδµινιστρατιον>
  • 5. Meta-data in RDF αλλεϖιατεσ <τρεατµεντ> <ναµε> <σψµπτοµσ> IS-A <δισεασε> <δρυγ> <δρυγ αδµινιστρατιον>
  • 6. Bluffer’s guide to RDF (1)  Object ->Attribute-> Value triples Author-of pers05 ISBN...  objects are web-resources  Value is again an Object: • triples can be linked • data-model = graph Author-of Publ- pers05 ISBN... by MIT Au t hor -of Pub l- ISBN... by
  • 7. Bluffer’s guide to RDF (2)  Every identifier is a URL = world-wide unique naming  Has XML syntax <rdf:Description rdf:about=“#pers05”> <authorOf>ISBN...</authorOf> </rdf:Description>  Any statement can be an object • graphs can be nested claims Author-of NYT pers05 ISBN...
  • 8. What does RDF Schema add? • Defines vocabulary for RDF • Organizes this vocabulary in a typed hierarchy • Class, subClassOf, type • Property, subPropertyOf • domain, range Person subClassOf subClassOf domain range Author c o m m u n ic a t e s T o Reader type type c o m m u n ic a t e s T o Frank Lynda
  • 9. RDF(S) have a (very small) formal semantics  Defines what other statements are implied by a given set of RDF(S) statements  Ensures mutual agreement on minimal content between parties without further contact  In the form of “entailment rules”  Very simple to compute (and not explosive in practice)
  • 10. RDF(S) semantics: examples  Aspirin isOfType Painkiller Painkiller subClassOf Drug  Aspirin isOfType Drug  aspirin alleviates headache alleviates range symptom  headache isOfType symptom
  • 11. RDF(S) semantics: examples  Ασπιριν isOfType Παινκιλλερ Παινκιλλερ subClassOf ∆ρυγ  Ασπιριν isOfType ∆ρυγ  ασπιριν αλλεϖιατεσ ηεαδαχηε τρεατσ range σψµπτοµ  ηεαδαχηε isOfType σψµπτοµ
  • 12. RDF(S) semantics  X R Y + R domain T → X IsOfType T  X R Y + R range T → Y IsOfType T  T1 SubClassOf T2 + T2 SubClassOf T3 → T1 SubClassOf T3  X IsOfType T1 + T1 SubClassOf T2 → X IsOfType T1
  • 13. RDF(S) syntax: graphics  Turtle <http://sem-web-primer> dc:author dc:title "Semantic Web Primer" fullname homepage "Frank van Harmelen" http://www.cs.vu.nl/~frankh
  • 14. RDF(S) syntax: XML <rdf:RDF> <rdf:Description rdf:about="http://sem-web-primer" dc:title="Semantic Web Primer"> <dc:author> <rdf:Description fullname="Frank van Harmelen"> <homePage rdf:resource="http://www.cs.vu.nl/~frankh"/> </rdf:Description> </dc:author> </rdf:Description> </rdf:RDF>
  • 15. RDF(S) syntax: Turtle <http://sem-web-primer> dc:title "Semantic Web Primer" ; dc:author [ fullname "Frank van Harmelen"; homePage <http://www.cs.vu.nl/~frankh> ].
  • 16. RDF(S)/XML relationship  XML is a just a syntax for RDF(S) • (one of many)  RDF(S) assigns meaning to some terms • (XML doesn't)  This allows greater interoperability: • tools/tools • thesaurus/thesaurus • tools/thesaurus
  • 17. RDF(S)/XML relationship  All identifiers are URL's • Allows total decoupling of • document • thesaurus • meta-data [<x> IsOfType <T>] different owners & locations
  • 18. RDF(S) interoperability: example: EMTREE → UMLS Work by Heiner Stuckenschmidt@VU and Maria Taboada@Santiago  Converted EMTREE to RDF(S)  Load into existing RDF(S) editor (Protégé)  Use existing RDF(S) wrapper for UMLS  Deploy existing linguistic term mapper
  • 19. RDF(S) interoperability: example: EMTREE → UMLS  24305 EMTREE pref.names → unique UMLS concept  2051 EMTREE pref.names → multiple UMLS concepts  20071 EMTREE pref. name → no UMLS concepts  34332 EMTREE pref. names + synonyms → some UMLS concept(s): 74% Effort = days
  • 20. RDF(S)/XML conversion  step-wise process description exists  hardest part is: • mentally re-engineering the thesaurus model make this model as sharable as possible RDF does, XML doesn't
  • 21. Summary in quotes "RDF developers focus on its non-anglebracketty abstract information model rather than its representation in markup" "the RDF information model is couched in terms of "resources" (aka things, objects, entities...) and their "properties" (aka relationships)" "RDF offers XML tools a way of being explicit about the content of (some subset of) XML documents" "RDF can be used to represent the claims implicit in XML Linking elements […] we can think about the resulting RDF data as a characterisation of what the XML was telling us" "RDF cares about the messages encoded in XML, not about the specific form of their encoding in elements and attributes"
  • 22. Summary in quotes "There is no algorithm for merging two XML Infosets, to enable us to pool knowledge acquired from diverse sources. The RDF information model, by constrast, was designed with data aggregation (rather than structured documents) in mind. Merging RDF data is trivial: add the triples extracted from two RDF/XML documents, and store them in a new one." syntactically…
  • 23. Things RDF(S) can’t do  equality  enumeration  number restrictions • Single-valued/multi-valued • Optional/required values  inverse, symmetric, transitive  boolean algebra • Union, complement …
  • 24. OWL: more expressivity  OWL Light (sub)classes, individuals (sub)properties, domain, RDF Schema range conjunction Full (in)equality cardinality 0/1 DL datatypes inverse, transitive, symmetric Lite hasValue someValuesFrom allValuesFrom OWL DL  OWL Full Negation  Allow meta-classes etc Disjunction Full Cardinality Enumerated types
  • 25. OWL also has a formal semantics  Defines what other statements are implied by a given set of statements  Ensures mutual agreement on content (both minimal and maximal) between parties without further contact  Can be used for integrity/consistency checking  Hard to compute (and rarely/sometime/always explosive in practice)
  • 26. OWL semantics: minimal  vanGogh isOfType Impressionist Impressionist subClassOf Painter  vanGogh isOfType Painter  vanGogh painter-of sunflowers painter-of domain painter  vanGogh isOfType painter
  • 27. OWL semantics: maximal  vanGogh isOfType Impressionist Impressionist disjointFrom Cubist  NOT: vanGogh isOfType Cubist  painted-by has-cardinality 1 sun-flowers painted-by vanGogh Picasso different-individual-from vanGogh  NOT: sun-flowers painted-by Picasso