The Semantic Web

A Whizz-Bang Guide

Will be introducing the lingo (in italics) so you can understand the researchers

Anyone don't know who this chap is?

He came up with the idea in 1998 of 'webalizing' data: making databases avaialble on the web.

In a seminal paper in 2001 he said:

...if properly designed, the Semantic Web can assist the evolution of human knowledge as a whole.

That's a pretty brave thing to say!

So, WTF is it?

A way for computers to understand what each other mean

I need to set up a meeting with Mark about Amazon

  • Which Mark?
  • Which Amazon?
  • Who am I?
  • When are Mark and I both free?
  • Which room is available at that time?
  • How long?

How do we represent these things?

Mark, Amazon, Me, Rooms, Availability, Times

RDF

Resource Description Framework

General method for conceptual description or modeling of information

Created around 1998 coming out the Dublin Core specifications it has become a family of specifications in the W3C

Triples

This is why we need to be careful about our terminology "The Knowledge Frame" - the researchers will be thinking RDF.

Predicates

Graph

Dan is a Man

Dan likes Volleyball

Luigi works at WDS

Dan works at WDS

URIs

IRIs are: Internationalised Resource Identifiers (globally unique) URIs are: Uniform Resource Identifiers (scheme://identifier)

URIs

  • Equivalent of luigi = new Man()
  • rdf:type is available to everyone
  • Man is a type. How are types defined?

Ontologies

Manually Building Ontologies

  • rdfs:subClassOf allows us to do subclasses, just like Java. Can subclass multiple classes.
  • There is an online web version or protege
*

Instances vs Concepts

Always a pain in knowledge authoring.

Literals

RDF Serialization

<rdf:RDF
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:foaf="http://xmlns.com/foaf/0.1/"
    xmlns:facebook="https://www.facebook.com/"
    xmlns:madeUp="http://makey-upy.com/#"
    xmlns:dbp="http://live.dbpedia.org/page/"
    xmlns:wds="http://data.wds.co/#" >
  <rdf:Description rdf:about="http://data.wds.co/#WDS">
    <rdf:type rdf:resource="http://data.wds.co/#Company"/>
  </rdf:Description>
  <rdf:Description rdf:about="http://makey-upy.com/#Man">
    <rdf:type rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Class"/>
  </rdf:Description>
  <rdf:Description rdf:about="https://www.facebook.com/lcardito">
    <wds:worksAt rdf:resource="http://data.wds.co/#WDS"/>
    <foaf:interest rdf:resource="http://live.dbpedia.org/page/VolleyBall"/>
    <rdf:type rdf:resource="http://makey-upy.com/#Man"/>
  </rdf:Description>
  <rdf:Description rdf:about="http://data.wds.co/#Company">
    <rdf:type rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Class"/>
  </rdf:Description>
  <rdf:Description rdf:about="https://www.facebook.com/dan.potepa">
    <wds:worksAt rdf:resource="http://data.wds.co/#WDS"/>
    <foaf:interest rdf:resource="http://live.dbpedia.org/page/VolleyBall"/>
    <rdf:type rdf:resource="http://makey-upy.com/#Man"/>
  </rdf:Description>
</rdf:RDF>
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix dbp: <http://live.dbpedia.org/page/>.
@prefix madeUp: <http://makey-upy.com/#>.
@prefix facebook: <https://www.facebook.com/>.
@prefix wds: <http://data.wds.co/#>.

wds:Company rdf:type rdf:Class.

wds:WDS rdf:type wds:Company.

madeUp:Man rdf:type rdf:Class.

facebook:lcardito
        rdf:type madeUp:Man;
        foaf:interest dbp:VolleyBall;
        wds:worksAt wds:WDS.

facebook:dan.potepa
        rdf:type madeUp:Man;
        foaf:interest dbp:VolleyBall;
        wds:worksAt wds:WDS.

Knowledge Bases

Searching

PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX dbp: <http://live.dbpedia.org/page/>

SELECT * WHERE { ?s foaf:interest dbp:VolleyBall } LIMIT 10

Inference & Reasonining

Linked Data

Why not RDF?

JSON-LD

Do we need any of this?

However

Questions?

SpaceForward
Left, Down, Page DownNext slide
Right, Up, Page UpPrevious slide
POpen presenter console
HToggle this help