INF3580/4580 Semantic Technologies Spring 2015

Size: px
Start display at page:

Download "INF3580/4580 Semantic Technologies Spring 2015"

Transcription

1 INF3580/4580 Semantic Technologies Spring 2015 Lecture 15: RDFa Martin Giese 11th May 2015 Department of Informatics University of Oslo

2 Repetition 18 June: Guest lecture, Lars Marius Garshol 25 May: no lecture (Whit Monday) 1st June is reserved for Repetition No fixed lecture material You, the students, say what you want to hear Let me know in time, so I m prepared. Drop a mail to martingi@ifi.uio.no until 18th May INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 2 / 29

3 Today s Plan 1 Reminder 2 Linking RDF to HTML 3 RDFa 4 Conclusion INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 3 / 29

4 Outline Reminder 1 Reminder 2 Linking RDF to HTML 3 RDFa 4 Conclusion INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 4 / 29

5 RDF on the Web Reminder RDF data exists in many forms: INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 5 / 29

6 RDF on the Web Reminder RDF data exists in many forms: In RDF files, downloadable with HTTP, FTP, etc. INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 5 / 29

7 RDF on the Web Reminder RDF data exists in many forms: In RDF files, downloadable with HTTP, FTP, etc. FOAF profiles INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 5 / 29

8 RDF on the Web Reminder RDF data exists in many forms: In RDF files, downloadable with HTTP, FTP, etc. FOAF profiles data files from dbpedia.org, geonames, etc. INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 5 / 29

9 RDF on the Web Reminder RDF data exists in many forms: In RDF files, downloadable with HTTP, FTP, etc. FOAF profiles data files from dbpedia.org, geonames, etc. In RSS 1.0 feeds INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 5 / 29

10 RDF on the Web Reminder RDF data exists in many forms: In RDF files, downloadable with HTTP, FTP, etc. FOAF profiles data files from dbpedia.org, geonames, etc. In RSS 1.0 feeds Published using LOD principles (hash/slash namespaces) INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 5 / 29

11 RDF on the Web Reminder RDF data exists in many forms: In RDF files, downloadable with HTTP, FTP, etc. FOAF profiles data files from dbpedia.org, geonames, etc. In RSS 1.0 feeds Published using LOD principles (hash/slash namespaces) As metadata in PDF/A files INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 5 / 29

12 RDF on the Web Reminder RDF data exists in many forms: In RDF files, downloadable with HTTP, FTP, etc. FOAF profiles data files from dbpedia.org, geonames, etc. In RSS 1.0 feeds Published using LOD principles (hash/slash namespaces) As metadata in PDF/A files As data model behind SPARQL query endpoints INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 5 / 29

13 RDF on the Web Reminder RDF data exists in many forms: In RDF files, downloadable with HTTP, FTP, etc. FOAF profiles data files from dbpedia.org, geonames, etc. In RSS 1.0 feeds Published using LOD principles (hash/slash namespaces) As metadata in PDF/A files As data model behind SPARQL query endpoints for instance dbpedia.org, dblp, and others INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 5 / 29

14 RDF on the Web Reminder RDF data exists in many forms: In RDF files, downloadable with HTTP, FTP, etc. FOAF profiles data files from dbpedia.org, geonames, etc. In RSS 1.0 feeds Published using LOD principles (hash/slash namespaces) As metadata in PDF/A files As data model behind SPARQL query endpoints for instance dbpedia.org, dblp, and others Embedded in HTML, as RDFa INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 5 / 29

15 Outline Linking RDF to HTML 1 Reminder 2 Linking RDF to HTML 3 RDFa 4 Conclusion INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 6 / 29

16 Linking RDF to HTML The Problem The HTML web contains lots of human-readable information How can clients discover the location of corresponding machine-readable information?? INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 7 / 29

17 Linking RDF to HTML Embedding RDF/XML in (X)HTML First idea: Embed RDF/XML in HTML or XHTML: <html> <head> <title>my Homepage</title> <rdf:rdf> <rdf:description rdf:about="#me"> <foaf:name>martin Giese</foaf:name>... INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 8 / 29

18 Linking RDF to HTML Embedding RDF/XML in (X)HTML First idea: Embed RDF/XML in HTML or XHTML: <html> <head> <title>my Homepage</title> <rdf:rdf> <rdf:description rdf:about="#me"> <foaf:name>martin Giese</foaf:name>... Not recommended: INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 8 / 29

19 Linking RDF to HTML Embedding RDF/XML in (X)HTML First idea: Embed RDF/XML in HTML or XHTML: <html> <head> <title>my Homepage</title> <rdf:rdf> <rdf:description rdf:about="#me"> <foaf:name>martin Giese</foaf:name>... Not recommended: Does not fit HTML or XHTML DTDs INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 8 / 29

20 Linking RDF to HTML Embedding RDF/XML in (X)HTML First idea: Embed RDF/XML in HTML or XHTML: <html> <head> <title>my Homepage</title> <rdf:rdf> <rdf:description rdf:about="#me"> <foaf:name>martin Giese</foaf:name>... Not recommended: Does not fit HTML or XHTML DTDs No satisfactory solution, due to flexible RDF vocabulary INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 8 / 29

21 Linking RDF to HTML Embedding RDF/XML in (X)HTML First idea: Embed RDF/XML in HTML or XHTML: <html> <head> <title>my Homepage</title> <rdf:rdf> <rdf:description rdf:about="#me"> <foaf:name>martin Giese</foaf:name>... Not recommended: Does not fit HTML or XHTML DTDs No satisfactory solution, due to flexible RDF vocabulary B.t.w. there is a metadata element in SVG for this! INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 8 / 29

22 HTML LINK elements Linking RDF to HTML LINK may occur inside HTML HEAD elements INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 9 / 29

23 HTML LINK elements Linking RDF to HTML LINK may occur inside HTML HEAD elements relate a document to other documents INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 9 / 29

24 HTML LINK elements Linking RDF to HTML LINK may occur inside HTML HEAD elements relate a document to other documents CSS style sheets INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 9 / 29

25 HTML LINK elements Linking RDF to HTML LINK may occur inside HTML HEAD elements relate a document to other documents CSS style sheets Alternative languages INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 9 / 29

26 HTML LINK elements Linking RDF to HTML LINK may occur inside HTML HEAD elements relate a document to other documents CSS style sheets Alternative languages Next, previous, index, etc. INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 9 / 29

27 HTML LINK elements Linking RDF to HTML LINK may occur inside HTML HEAD elements relate a document to other documents CSS style sheets Alternative languages Next, previous, index, etc. Can contain attributes: INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 9 / 29

28 HTML LINK elements Linking RDF to HTML LINK may occur inside HTML HEAD elements relate a document to other documents CSS style sheets Alternative languages Next, previous, index, etc. Can contain attributes: rel the kind of relation INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 9 / 29

29 HTML LINK elements Linking RDF to HTML LINK may occur inside HTML HEAD elements relate a document to other documents CSS style sheets Alternative languages Next, previous, index, etc. Can contain attributes: rel the kind of relation type the media type of the related document INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 9 / 29

30 HTML LINK elements Linking RDF to HTML LINK may occur inside HTML HEAD elements relate a document to other documents CSS style sheets Alternative languages Next, previous, index, etc. Can contain attributes: rel the kind of relation type the media type of the related document href the URL of the other document INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 9 / 29

31 HTML LINK elements Linking RDF to HTML LINK may occur inside HTML HEAD elements relate a document to other documents CSS style sheets Alternative languages Next, previous, index, etc. Can contain attributes: rel the kind of relation type the media type of the related document href the URL of the other document title the title of the other document INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 9 / 29

32 HTML LINK elements Linking RDF to HTML LINK may occur inside HTML HEAD elements relate a document to other documents CSS style sheets Alternative languages Next, previous, index, etc. Can contain attributes: rel the kind of relation type the media type of the related document href the URL of the other document title the title of the other document (and some more) INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 9 / 29

33 HTML LINK elements Linking RDF to HTML LINK may occur inside HTML HEAD elements relate a document to other documents CSS style sheets Alternative languages Next, previous, index, etc. Can contain attributes: rel the kind of relation type the media type of the related document href the URL of the other document title the title of the other document (and some more) E.g. a style sheet: <html> <head> <title>my Homepage</title> <link rel="stylesheet" type="text/css" href="style.css"> INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 9 / 29

34 LINKing to RDF Linking RDF to HTML To link to an RDF representation: <LINK rel="alternate" type="application/rdf+xml" title="rdf/xml version" href=" INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 10 / 29

35 Linking RDF to HTML LINKing to RDF To link to an RDF representation: <LINK rel="alternate" type="application/rdf+xml" title="rdf/xml version" href=" Also: rel="meta" INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 10 / 29

36 Linking RDF to HTML LINKing to RDF To link to an RDF representation: <LINK rel="alternate" type="application/rdf+xml" title="rdf/xml version" href=" Also: rel="meta" Note: difference between meta-data and alternative representation INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 10 / 29

37 Linking RDF to HTML LINKing to RDF To link to an RDF representation: <LINK rel="alternate" type="application/rdf+xml" title="rdf/xml version" href=" Also: rel="meta" Note: difference between meta-data and alternative representation Various web browser plugins exist to detect these LINKs INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 10 / 29

38 Linking RDF to HTML HTTP Link: response headers Problems with <LINK> elements: INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 11 / 29

39 Linking RDF to HTML HTTP Link: response headers Problems with <LINK> elements: Only works with HTML data, not PDF, Images, etc. INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 11 / 29

40 Linking RDF to HTML HTTP Link: response headers Problems with <LINK> elements: Only works with HTML data, not PDF, Images, etc. Need to download HTML content and search LINK. INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 11 / 29

41 Linking RDF to HTML HTTP Link: response headers Problems with <LINK> elements: Only works with HTML data, not PDF, Images, etc. Need to download HTML content and search LINK. Idea: put information in HTTP response header. INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 11 / 29

42 Linking RDF to HTML HTTP Link: response headers Problems with <LINK> elements: Only works with HTML data, not PDF, Images, etc. Need to download HTML content and search LINK. Idea: put information in HTTP response header. Non-standardized proposal, originally by Berners-Lee, 1992 INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 11 / 29

43 Linking RDF to HTML HTTP Link: response headers Problems with <LINK> elements: Only works with HTML data, not PDF, Images, etc. Need to download HTML content and search LINK. Idea: put information in HTTP response header. Non-standardized proposal, originally by Berners-Lee, 1992 Generated by a few servers, recognized by a few clients INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 11 / 29

44 Linking RDF to HTML HTTP Link: response headers Problems with <LINK> elements: Only works with HTML data, not PDF, Images, etc. Need to download HTML content and search LINK. Idea: put information in HTTP response header. Non-standardized proposal, originally by Berners-Lee, 1992 Generated by a few servers, recognized by a few clients Same information as in LINK HTML element, but as HTTP header: Link: <foaf.rdf>; rel="alternate"; type="application/rdf+xml" INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 11 / 29

45 Linking RDF to HTML HTTP Link: response headers Problems with <LINK> elements: Only works with HTML data, not PDF, Images, etc. Need to download HTML content and search LINK. Idea: put information in HTTP response header. Non-standardized proposal, originally by Berners-Lee, 1992 Generated by a few servers, recognized by a few clients Same information as in LINK HTML element, but as HTTP header: Link: <foaf.rdf>; rel="alternate"; type="application/rdf+xml" Advantages: INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 11 / 29

46 Linking RDF to HTML HTTP Link: response headers Problems with <LINK> elements: Only works with HTML data, not PDF, Images, etc. Need to download HTML content and search LINK. Idea: put information in HTTP response header. Non-standardized proposal, originally by Berners-Lee, 1992 Generated by a few servers, recognized by a few clients Same information as in LINK HTML element, but as HTTP header: Link: <foaf.rdf>; rel="alternate"; type="application/rdf+xml" Advantages: can be sent also with non-html data INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 11 / 29

47 Linking RDF to HTML HTTP Link: response headers Problems with <LINK> elements: Only works with HTML data, not PDF, Images, etc. Need to download HTML content and search LINK. Idea: put information in HTTP response header. Non-standardized proposal, originally by Berners-Lee, 1992 Generated by a few servers, recognized by a few clients Same information as in LINK HTML element, but as HTTP header: Link: <foaf.rdf>; rel="alternate"; type="application/rdf+xml" Advantages: can be sent also with non-html data requires only HEAD request INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 11 / 29

48 Outline RDFa 1 Reminder 2 Linking RDF to HTML 3 RDFa 4 Conclusion INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 12 / 29

49 RDFa Once More: Embedding RDF in (X)HTML Directly embedding RDF/XML in (X)HTML does not work well INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 13 / 29

50 RDFa Once More: Embedding RDF in (X)HTML Directly embedding RDF/XML in (X)HTML does not work well Use a different serialization that blends well with (X)HTML! INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 13 / 29

51 RDFa Once More: Embedding RDF in (X)HTML Directly embedding RDF/XML in (X)HTML does not work well Use a different serialization that blends well with (X)HTML! From the RDFa specification ( The aim of RDFa is to allow a single RDF graph to be carried in various types of document mark-up. INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 13 / 29

52 RDFa Once More: Embedding RDF in (X)HTML Directly embedding RDF/XML in (X)HTML does not work well Use a different serialization that blends well with (X)HTML! From the RDFa specification ( The aim of RDFa is to allow a single RDF graph to be carried in various types of document mark-up. XHTML in spec., but works with HTML and other XML INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 13 / 29

53 RDFa Once More: Embedding RDF in (X)HTML Directly embedding RDF/XML in (X)HTML does not work well Use a different serialization that blends well with (X)HTML! From the RDFa specification ( The aim of RDFa is to allow a single RDF graph to be carried in various types of document mark-up. XHTML in spec., but works with HTML and other XML RDFa adds a fixed set of attributes to (X)HTML INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 13 / 29

54 RDFa Once More: Embedding RDF in (X)HTML Directly embedding RDF/XML in (X)HTML does not work well Use a different serialization that blends well with (X)HTML! From the RDFa specification ( The aim of RDFa is to allow a single RDF graph to be carried in various types of document mark-up. XHTML in spec., but works with HTML and other XML RDFa adds a fixed set of attributes to (X)HTML Document type: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" " INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 13 / 29

55 RDFa RDFa Processing Web browsers ignore RDFa attributes RDFa processors extract a single RDF graph from a document <html> XHTML+RDFa </html> Web browser RDFa processor Web page RDF graph INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 14 / 29

56 RDFa Concepts RDFa RDFa adds semantic annotations to INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 15 / 29

57 RDFa Concepts RDFa RDFa adds semantic annotations to hyper-links (href) INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 15 / 29

58 RDFa Concepts RDFa RDFa adds semantic annotations to hyper-links (href) textual content INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 15 / 29

59 RDFa RDFa Concepts RDFa adds semantic annotations to hyper-links (href) textual content RDFa attributes can appear in (almost) any element INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 15 / 29

60 RDFa RDFa Concepts RDFa adds semantic annotations to hyper-links (href) textual content RDFa attributes can appear in (almost) any element As the XHTML is processed, there is always a current subject that generated triples refer to INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 15 / 29

61 RDFa RDFa Concepts RDFa adds semantic annotations to hyper-links (href) textual content RDFa attributes can appear in (almost) any element As the XHTML is processed, there is always a current subject that generated triples refer to The current subject starts as the base URI of the document, but can change on the way INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 15 / 29

62 RDFa Reminder: (X)HTML Meta and Link Links and metadata in HTML header: <html xmlns=" <head> <title>page 507</title> <meta name="author" content="sigrid Undset" /> <link rel="prev" href="page506.html" /> <link rel="next" href="page508.html" /> </head> <body>...</body> </html> INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 16 / 29

63 RDFa Reminder: (X)HTML Meta and Link Links and metadata in HTML header: <html xmlns=" <head> <title>page 507</title> <meta name="author" content="sigrid Undset" /> <link rel="prev" href="page506.html" /> <link rel="next" href="page508.html" /> </head> <body>...</body> </html> Meaning of name and rel informal INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 16 / 29

64 RDFa Reminder: (X)HTML Meta and Link Links and metadata in HTML header: <html xmlns=" <head> <title>page 507</title> <meta name="author" content="sigrid Undset" /> <link rel="prev" href="page506.html" /> <link rel="next" href="page508.html" /> </head> <body>...</body> </html> Meaning of name and rel informal Only a few values defined by the standard INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 16 / 29

65 RDFa property and rel RDFa semantic meta and link in RDFa: <html xmlns=" xmlns:foaf=" xmlns:dc=" <head> <title>mg s home page</title> <meta property="dc:creator" content="martin Giese" /> <link rel="foaf:topic" href="foaf.rdf#me" /> </head> <body>...</body> </html> INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 17 / 29

66 RDFa RDFa property and rel semantic meta and link in RDFa: <html xmlns=" xmlns:foaf=" xmlns:dc=" <head> <title>mg s home page</title> <meta property="dc:creator" content="martin Giese" /> <link rel="foaf:topic" href="foaf.rdf#me" /> </head> <body>...</body> </html> Extracted triples: (<> is base URI!) <> dc:creator "Martin Giese". <> foaf:topic <foaf.rdf#me>. INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 17 / 29

67 Attribute rel on A elements RDFa Any hyper-link can be given a meaning : This document is licensed under a <a xmlns:cc=" rel="cc:license" href=" Creative Commons License </a>. INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 18 / 29

68 RDFa Attribute rel on A elements Any hyper-link can be given a meaning : This document is licensed under a <a xmlns:cc=" rel="cc:license" href=" Creative Commons License </a>. Extracted triple: <> cc:license < INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 18 / 29

69 RDFa Attribute rel on A elements Any hyper-link can be given a meaning : This document is licensed under a <a xmlns:cc=" rel="cc:license" href=" Creative Commons License </a>. Extracted triple: <> cc:license < Can use rev instead of rel to swap subject and object INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 18 / 29

70 The property attribute RDFa rel is for resource objects, property for literal objects: <html xmlns=" xmlns:dc=" <head>...</head> <body> <h1 property="dc:title">kransen</h1> Written in <span property="dc:created">1920</span> </body> </html> INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 19 / 29

71 The property attribute RDFa rel is for resource objects, property for literal objects: <html xmlns=" xmlns:dc=" <head>...</head> <body> <h1 property="dc:title">kransen</h1> Written in <span property="dc:created">1920</span> </body> </html> Extracted triples: <> dc:title "Kransen" ; dc:created "1920". INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 19 / 29

72 The property attribute RDFa rel is for resource objects, property for literal objects: <html xmlns=" xmlns:dc=" <head>...</head> <body> <h1 property="dc:title">kransen</h1> Written in <span property="dc:created">1920</span> </body> </html> Extracted triples: <> dc:title "Kransen" ; dc:created "1920". Can also use content attribute together with property: <span property="dc:created" datatype="xsd:datetime" content=" t16:00:00-05:00"> September 16th at 4pm </span> INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 19 / 29

73 Changing the Subject RDFa about changes subject of contained rel and property annotations: <div about=" xmlns:foaf=" <p property="foaf:name">martin Giese</p> <p> <a rel="foaf:mbox" <p> Phone: <a rel="foaf:phone" href="tel: "> </a></p> </div> INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 20 / 29

74 Changing the Subject RDFa about changes subject of contained rel and property annotations: <div about=" xmlns:foaf=" <p property="foaf:name">martin Giese</p> <p> <a rel="foaf:mbox" <p> Phone: <a rel="foaf:phone" href="tel: "> </a></p> </div> Extracted triples: < foaf:name "Martin Giese" ; foaf:mbox <mailto:mg@mail.no> ; foaf:phone <tel: >. INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 20 / 29

75 Types and Blank Nodes RDFa typeof adds an rdf:type triple INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 21 / 29

76 RDFa Types and Blank Nodes typeof adds an rdf:type triple Missing URIs can lead to blank nodes: <div typeof="foaf:person" xmlns:foaf=" <p property="foaf:name">martin Giese</p> <p> <a rel="foaf:mbox" </div> INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 21 / 29

77 RDFa Types and Blank Nodes typeof adds an rdf:type triple Missing URIs can lead to blank nodes: <div typeof="foaf:person" xmlns:foaf=" <p property="foaf:name">martin Giese</p> <p> <a rel="foaf:mbox" </div> Extracted triples: [] a foaf:person ; foaf:name "Martin Giese" ; foaf:mbox <mailto:mg@mail.no> ; INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 21 / 29

78 Know Your Friends RDFa Missing objects collected from contained elements (chaining): <div xmlns:foaf=" about="foaf.rdf#me" rel="foaf:knows"> <ul> <li typeof="foaf:person"> <a property="foaf:name" rel="foaf:homepage" href=" </li> <li typeof="foaf:person"> <a property="foaf:name" rel="foaf:homepage" href=" </li> </ul> </div> INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 22 / 29

79 RDFa Triples From Chaining Example foaf:homepage foaf:knows foaf:name rdf:type Kjetil foaf.rdf#me foaf:knows rdf:type foaf:person foaf:name foaf:homepage Martin INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 23 / 29

80 RDFa Summary RDFa Allows to hide an RDF graph in an XHTML document INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 24 / 29

81 RDFa Summary RDFa Allows to hide an RDF graph in an XHTML document XHTML processor can ignore RDFa INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 24 / 29

82 RDFa Summary RDFa Allows to hide an RDF graph in an XHTML document XHTML processor can ignore RDFa RDFa processor can extract RDF graph INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 24 / 29

83 RDFa RDFa Summary Allows to hide an RDF graph in an XHTML document XHTML processor can ignore RDFa RDFa processor can extract RDF graph Treat links and text as subjects/objects and literals INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 24 / 29

84 RDFa RDFa Summary Allows to hide an RDF graph in an XHTML document XHTML processor can ignore RDFa RDFa processor can extract RDF graph Treat links and text as subjects/objects and literals Many, many more details! INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 24 / 29

85 RDFa RDFa Summary Allows to hide an RDF graph in an XHTML document XHTML processor can ignore RDFa RDFa processor can extract RDF graph Treat links and text as subjects/objects and literals Many, many more details! Specification hardly less complicated than RDF/XML INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 24 / 29

86 RDFa RDFa Summary Allows to hide an RDF graph in an XHTML document XHTML processor can ignore RDFa RDFa processor can extract RDF graph Treat links and text as subjects/objects and literals Many, many more details! Specification hardly less complicated than RDF/XML See spec. at INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 24 / 29

87 RDFa RDFa Summary Allows to hide an RDF graph in an XHTML document XHTML processor can ignore RDFa RDFa processor can extract RDF graph Treat links and text as subjects/objects and literals Many, many more details! Specification hardly less complicated than RDF/XML See spec. at Nothing you couldn t do with a LINK and an RDF file INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 24 / 29

88 RDFa RDFa Summary Allows to hide an RDF graph in an XHTML document XHTML processor can ignore RDFa RDFa processor can extract RDF graph Treat links and text as subjects/objects and literals Many, many more details! Specification hardly less complicated than RDF/XML See spec. at Nothing you couldn t do with a LINK and an RDF file Can be convenient to have information in one place INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 24 / 29

89 RDFa RDFa Summary Allows to hide an RDF graph in an XHTML document XHTML processor can ignore RDFa RDFa processor can extract RDF graph Treat links and text as subjects/objects and literals Many, many more details! Specification hardly less complicated than RDF/XML See spec. at Nothing you couldn t do with a LINK and an RDF file Can be convenient to have information in one place Used by Google as one data format for Rich Snippets INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 24 / 29

90 RDFa RDFa Summary Allows to hide an RDF graph in an XHTML document XHTML processor can ignore RDFa RDFa processor can extract RDF graph Treat links and text as subjects/objects and literals Many, many more details! Specification hardly less complicated than RDF/XML See spec. at Nothing you couldn t do with a LINK and an RDF file Can be convenient to have information in one place Used by Google as one data format for Rich Snippets NOTE: this lecture was about RDFa 1.0. Search the web for RDFa 1.1! INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 24 / 29

91 Outline Conclusion 1 Reminder 2 Linking RDF to HTML 3 RDFa 4 Conclusion INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 25 / 29

92 Topics Covered Conclusion RDF, principles, Turtle syntax INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 26 / 29

93 Conclusion Topics Covered RDF, principles, Turtle syntax The Jena API for RDF INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 26 / 29

94 Conclusion Topics Covered RDF, principles, Turtle syntax The Jena API for RDF The SPARQL Query Language INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 26 / 29

95 Conclusion Topics Covered RDF, principles, Turtle syntax The Jena API for RDF The SPARQL Query Language Basics of the RDFS and OWL ontology languages INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 26 / 29

96 Conclusion Topics Covered RDF, principles, Turtle syntax The Jena API for RDF The SPARQL Query Language Basics of the RDFS and OWL ontology languages Basics of model semantics and reasoning INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 26 / 29

97 Conclusion Topics Covered RDF, principles, Turtle syntax The Jena API for RDF The SPARQL Query Language Basics of the RDFS and OWL ontology languages Basics of model semantics and reasoning Linked Open Data, RDFa INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 26 / 29

98 Conclusion Topics Covered RDF, principles, Turtle syntax The Jena API for RDF The SPARQL Query Language Basics of the RDFS and OWL ontology languages Basics of model semantics and reasoning Linked Open Data, RDFa Publishing Databases as RDF INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 26 / 29

99 Topics Not Covered Conclusion Rule Languages (SWRL, RIF, Jena rules, etc.) INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 27 / 29

100 Conclusion Topics Not Covered Rule Languages (SWRL, RIF, Jena rules, etc.) SW application structures INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 27 / 29

101 Conclusion Topics Not Covered Rule Languages (SWRL, RIF, Jena rules, etc.) SW application structures Semantic Web Services INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 27 / 29

102 Conclusion Topics Not Covered Rule Languages (SWRL, RIF, Jena rules, etc.) SW application structures Semantic Web Services Details of RDF/RDFS model semantics INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 27 / 29

103 Conclusion Topics Not Covered Rule Languages (SWRL, RIF, Jena rules, etc.) SW application structures Semantic Web Services Details of RDF/RDFS model semantics Some details of OWL INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 27 / 29

104 Conclusion Topics Not Covered Rule Languages (SWRL, RIF, Jena rules, etc.) SW application structures Semantic Web Services Details of RDF/RDFS model semantics Some details of OWL Details of OWL 2 profiles INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 27 / 29

105 Conclusion Topics Not Covered Rule Languages (SWRL, RIF, Jena rules, etc.) SW application structures Semantic Web Services Details of RDF/RDFS model semantics Some details of OWL Details of OWL 2 profiles Logical theory: Soundness, Completeness,... INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 27 / 29

106 Conclusion Topics Not Covered Rule Languages (SWRL, RIF, Jena rules, etc.) SW application structures Semantic Web Services Details of RDF/RDFS model semantics Some details of OWL Details of OWL 2 profiles Logical theory: Soundness, Completeness,... (You ain t seen nothing yet :-) INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 27 / 29

107 Conclusion Topics Not Covered Rule Languages (SWRL, RIF, Jena rules, etc.) SW application structures Semantic Web Services Details of RDF/RDFS model semantics Some details of OWL Details of OWL 2 profiles Logical theory: Soundness, Completeness,... (You ain t seen nothing yet :-) And many more! INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 27 / 29

108 Help! I Can t Get Enough! Conclusion For more information on theory: INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 28 / 29

109 Help! I Can t Get Enough! Conclusion For more information on theory: Book on Foundations of SW Technologies INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 28 / 29

110 Help! I Can t Get Enough! Conclusion For more information on theory: Book on Foundations of SW Technologies Take a course in logic or automated reasoning INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 28 / 29

111 Help! I Can t Get Enough! Conclusion For more information on theory: Book on Foundations of SW Technologies Take a course in logic or automated reasoning For more information on practical questions: INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 28 / 29

112 Help! I Can t Get Enough! Conclusion For more information on theory: Book on Foundations of SW Technologies Take a course in logic or automated reasoning For more information on practical questions: Book on Semantic Web Programming INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 28 / 29

113 Help! I Can t Get Enough! Conclusion For more information on theory: Book on Foundations of SW Technologies Take a course in logic or automated reasoning For more information on practical questions: Book on Semantic Web Programming Standards texts on W3C Web pages INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 28 / 29

114 Help! I Can t Get Enough! Conclusion For more information on theory: Book on Foundations of SW Technologies Take a course in logic or automated reasoning For more information on practical questions: Book on Semantic Web Programming Standards texts on W3C Web pages Google INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 28 / 29

115 Help! I Can t Get Enough! Conclusion For more information on theory: Book on Foundations of SW Technologies Take a course in logic or automated reasoning For more information on practical questions: Book on Semantic Web Programming Standards texts on W3C Web pages Google Still not enough? INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 28 / 29

116 Help! I Can t Get Enough! Conclusion For more information on theory: Book on Foundations of SW Technologies Take a course in logic or automated reasoning For more information on practical questions: Book on Semantic Web Programming Standards texts on W3C Web pages Google Still not enough? Contact us for possible MSc topics! INF3580/4580 :: Spring 2015 Lecture 15 :: 11th May 28 / 29

117

Today s Plan. INF3580 Semantic Technologies Spring RDF on the Web. Outline. Lecture 13: Publishing RDF Data on the Web.

Today s Plan. INF3580 Semantic Technologies Spring RDF on the Web. Outline. Lecture 13: Publishing RDF Data on the Web. Today s Plan INF3580 Semantic Technologies Spring 2010 Lecture 13: Publishing RDF Data on the Web Martin Giese 11th May 2010 1 Introduction 2 3 Linking RDF to HTML 4 Department of Informatics University

More information

From the Web to the Semantic Web: RDF and RDF Schema

From the Web to the Semantic Web: RDF and RDF Schema From the Web to the Semantic Web: RDF and RDF Schema Languages for web Master s Degree Course in Computer Engineering - (A.Y. 2016/2017) The Semantic Web [Berners-Lee et al., Scientific American, 2001]

More information

Reminder: RDF triples

Reminder: RDF triples Reminder: RDF triples The RDF data model is similar to classical conceptual modelling approaches such as entity relationship or class diagrams it is based on the idea of making statements about resources

More information

Semantics. Matthew J. Graham CACR. Methods of Computational Science Caltech, 2011 May 10. matthew graham

Semantics. Matthew J. Graham CACR. Methods of Computational Science Caltech, 2011 May 10. matthew graham Semantics Matthew J. Graham CACR Methods of Computational Science Caltech, 2011 May 10 semantic web The future of the Internet (Web 3.0) Decentralized platform for distributed knowledge A web of databases

More information

Today s Plan. INF3580/4580 Semantic Technologies Spring Reminder: RDF triples. Outline. Lecture 4: The SPARQL Query Language.

Today s Plan. INF3580/4580 Semantic Technologies Spring Reminder: RDF triples. Outline. Lecture 4: The SPARQL Query Language. Today s Plan INF3580/4580 Semantic Technologies Spring 2015 Lecture 4: The SPARQL Query Language Kjetil Kjernsmo 9th February 2015 4 Department of Informatics University of Oslo INF3580/4580 :: Spring

More information

Introducing Linked Data

Introducing Linked Data Introducing Linked Data (Part of this work was funded by PlanetData NoE FP7/2007-2013) Irini Fundulaki 1 1 Institute of Computer Science FORTH & W3C Greece Office Manager EICOS : 4th Meeting, Athens, Greece

More information

Web 2.0 Lecture 8: Resource Description Framework

Web 2.0 Lecture 8: Resource Description Framework Web 2.0 Lecture 8: Resource Description Framework doc. Ing. Tomáš Vitvar, Ph.D. tomas@vitvar.com @TomasVitvar http://www.vitvar.com Leopold-Franzens Universität Innsbruck and Czech Technical University

More information

O.Curé [1 ] Mashup, Microformats, RDFa and GRDDL

O.Curé [1 ] Mashup, Microformats, RDFa and GRDDL O.Curé [1 ] Mashup, Microformats, RDFa and GRDDL O.Curé [2 ] Mashup A mashup application combines contents or servives coming from several, possibly heteogeneous, applications. In the case of a we site,

More information

BUILDING THE SEMANTIC WEB

BUILDING THE SEMANTIC WEB BUILDING THE SEMANTIC WEB You might have come across the term Semantic Web Applications often, during talks about the future of Web apps. Check out what this is all about There are two aspects to the possible

More information

Semantic Web Publishing. Dr Nicholas Gibbins 32/4037

Semantic Web Publishing. Dr Nicholas Gibbins 32/4037 Semantic Web Publishing Dr Nicholas Gibbins nmg@ecs.soton.ac.uk 32/4037 Linked Data Semantic Web is the Web for machines Take existing data and republish it to the Web Rely on hypertextual nature of the

More information

INF3580/4580 Semantic Technologies Spring 2017

INF3580/4580 Semantic Technologies Spring 2017 INF3580/4580 Semantic Technologies Spring 2017 Lecture 9: Model Semantics & Reasoning Martin Giese 13th March 2017 Department of Informatics University of Oslo Today s Plan 1 Repetition: RDF semantics

More information

Chapter 3 Other RDF-Related Technologies: Microformats, RDFa and GRDDL

Chapter 3 Other RDF-Related Technologies: Microformats, RDFa and GRDDL Chapter 3 Other RDF-Related Technologies: Microformats, RDFa and GRDDL 3.1 Introduction: Why Do We Need These? So far at this point, we have learned the concept of the Semantic Web, and we have learned

More information

Today s Plan. 1 Repetition: RDF. 2 Jena: Basic Datastructures. 3 Jena: Inspecting Models. 4 Jena: I/O. 5 Example. 6 Jena: ModelFactory and ModelMaker

Today s Plan. 1 Repetition: RDF. 2 Jena: Basic Datastructures. 3 Jena: Inspecting Models. 4 Jena: I/O. 5 Example. 6 Jena: ModelFactory and ModelMaker Today s Plan INF3580/4580 Semantic Technologies Spring 2015 Lecture 3: Jena A Java Library for RDF Martin Giese 2nd February 2015 2 Department of Informatics University of Oslo INF3580/4580 :: Spring 2015

More information

SEMANTIC WEB AN INTRODUCTION. Luigi De https://elite.polito.it

SEMANTIC WEB AN INTRODUCTION. Luigi De https://elite.polito.it SEMANTIC WEB AN INTRODUCTION Luigi De Russis @luigidr https://elite.polito.it THE WEB IS A WEB OF DOCUMENT FOR PEOPLE, NOT FOR MACHINES 2 THE WEB IS A WEB OF DOCUMENT 3 THE SEMANTIC WEB IS A WEB OF DATA

More information

Library of Congress BIBFRAME Pilot. NOTSL Fall Meeting October 30, 2015

Library of Congress BIBFRAME Pilot. NOTSL Fall Meeting October 30, 2015 Library of Congress BIBFRAME Pilot NOTSL Fall Meeting October 30, 2015 THE BIBFRAME EDITOR AND THE LC PILOT The Semantic Web and Linked Data : a Recap of the Key Concepts Learning Objectives Describe the

More information

The Semantic Web Revisited. Nigel Shadbolt Tim Berners-Lee Wendy Hall

The Semantic Web Revisited. Nigel Shadbolt Tim Berners-Lee Wendy Hall The Semantic Web Revisited Nigel Shadbolt Tim Berners-Lee Wendy Hall Today sweb It is designed for human consumption Information retrieval is mainly supported by keyword-based search engines Some problems

More information

Why You Should Care About Linked Data and Open Data Linked Open Data (LOD) in Libraries

Why You Should Care About Linked Data and Open Data Linked Open Data (LOD) in Libraries Why You Should Care About Linked Data and Open Data Linked Open Data (LOD) in Libraries Florida Library Webinars Novare Library Services May 30, 2014 Jason Clark Head of Library Informatics & Computing

More information

Semantic Days 2011 Tutorial Semantic Web Technologies

Semantic Days 2011 Tutorial Semantic Web Technologies Semantic Days 2011 Tutorial Semantic Web Technologies Lecture 2: RDF, The Resource Description Framework Martin Giese 7th June 2011 Department of Informatics University of Oslo Outline 1 The RDF data model

More information

Today s Plan. 1 Repetition: RDF. 2 Jena: Basic Datastructures. 3 Jena: Inspecting Models. 4 Jena: I/O. 5 Example. 6 Jena: ModelFactory and ModelMaker

Today s Plan. 1 Repetition: RDF. 2 Jena: Basic Datastructures. 3 Jena: Inspecting Models. 4 Jena: I/O. 5 Example. 6 Jena: ModelFactory and ModelMaker Today s Plan INF3580/4580 Semantic Technologies Spring 2017 Lecture 3: Jena A Java Library for RDF Martin Giese 30th January 2017 2 Department of Informatics University of Oslo INF3580/4580 :: Spring 2017

More information

Multi-agent Semantic Web Systems: RDF Models

Multi-agent Semantic Web Systems: RDF Models ... Multi-agent Semantic Web Systems: RDF Models Ewan Klein School of Informatics January 30, 2012 Ewan Klein (School of Informatics) Multi-agent Semantic Web Systems: RDF Models January 30, 2012 1 / 33

More information

Microformat Sh Schema.org

Microformat Sh Schema.org RDF Beyond Outline RDFa Microformat Sh Schema.org RDFa RDFa RDFa: A collection of attributes and processing rules for extending XHTML to support RDF. HTML contains structured data, but not accessible to

More information

RDF AND SPARQL. Part I: Basics of RDF. Dresden, August Sebastian Rudolph ICCL Summer School

RDF AND SPARQL. Part I: Basics of RDF. Dresden, August Sebastian Rudolph ICCL Summer School RDF AND SPARQL Part I: Basics of RDF Sebastian Rudolph ICCL Summer School Dresden, August 2013 Agenda RDF Motivation URIs RDF data model Syntax for RDF: Turtle and XML Datatypes Multi-Valued Relationships

More information

Web Standards Mastering HTML5, CSS3, and XML

Web Standards Mastering HTML5, CSS3, and XML Web Standards Mastering HTML5, CSS3, and XML Leslie F. Sikos, Ph.D. orders-ny@springer-sbm.com www.springeronline.com rights@apress.com www.apress.com www.apress.com/bulk-sales www.apress.com Contents

More information

Syntax and processing rules for embedding RDF through attributes

Syntax and processing rules for embedding RDF through attributes RDFa Core 11 RDFa Core 11 W3C RDFa Core 11 Syntax and processing rules for embedding RDF through attributes W3C Recommendation 07 June 2012 This version: http://wwww3org/tr/2012/rec-rdfa-core-20120607/

More information

Contents. G52IWS: The Semantic Web. The Semantic Web. Semantic web elements. Semantic Web technologies. Semantic Web Services

Contents. G52IWS: The Semantic Web. The Semantic Web. Semantic web elements. Semantic Web technologies. Semantic Web Services Contents G52IWS: The Semantic Web Chris Greenhalgh 2007-11-10 Introduction to the Semantic Web Semantic Web technologies Overview RDF OWL Semantic Web Services Concluding comments 1 See Developing Semantic

More information

INFO/CS 4302 Web Informa6on Systems

INFO/CS 4302 Web Informa6on Systems INFO/CS 4302 Web Informa6on Systems FT 2012 Week 10 / Lecture 18: Publishing Structured Data on the Web - Bernhard Haslhofer - Plan for today... Recap Publishing Data The Linked Data Way Embedding Structured

More information

Semantic Web Fundamentals

Semantic Web Fundamentals Semantic Web Fundamentals Web Technologies (706.704) 3SSt VU WS 2018/19 with acknowledgements to P. Höfler, V. Pammer, W. Kienreich ISDS, TU Graz January 7 th 2019 Overview What is Semantic Web? Technology

More information

Semantic Web Fundamentals

Semantic Web Fundamentals Semantic Web Fundamentals Web Technologies (706.704) 3SSt VU WS 2017/18 Vedran Sabol with acknowledgements to P. Höfler, V. Pammer, W. Kienreich ISDS, TU Graz December 11 th 2017 Overview What is Semantic

More information

The Data Web and Linked Data.

The Data Web and Linked Data. Mustafa Jarrar Lecture Notes, Knowledge Engineering (SCOM7348) University of Birzeit 1 st Semester, 2011 Knowledge Engineering (SCOM7348) The Data Web and Linked Data. Dr. Mustafa Jarrar University of

More information

RDFa: Embedding RDF Knowledge in HTML

RDFa: Embedding RDF Knowledge in HTML RDFa: Embedding RDF Knowledge in HTML Some content from a presentation by Ivan Herman of the W3c, Introduction to RDFa, given at the 2011 Semantic Technologies Conference. What is RDFa? l Simple idea:

More information

Provenance Situations: Use Cases for Provenance on Web Architecture

Provenance Situations: Use Cases for Provenance on Web Architecture Provenance Situations: Use Cases for Provenance on Web Architecture W3C Provenance XG http://www.w3.org/2005/incubator/prov/wiki October 28, 2010 1 Provenance and Web Architecture: Consider Five Diverse

More information

Linked data and its role in the semantic web. Dave Reynolds, Epimorphics

Linked data and its role in the semantic web. Dave Reynolds, Epimorphics Linked data and its role in the semantic web Dave Reynolds, Epimorphics Ltd @der42 Roadmap What is linked data? Modelling Strengths and weaknesses Examples Access other topics image: Leo Oosterloo @ flickr.com

More information

Mapping Relational data to RDF

Mapping Relational data to RDF RDF and RDB 2 D2RQ Mapping Relational data to RDF Suppose we have data in a relational database that we want to export as RDF 1. Choose an RDF vocabulary to represent the data 2. Define a mapping from

More information

Building Blocks of Linked Data

Building Blocks of Linked Data Building Blocks of Linked Data Technological foundations Identifiers: URIs Data Model: RDF Terminology and Semantics: RDFS, OWL 23,019,148 People s Republic of China 20,693,000 population located in capital

More information

Artificial Intelligence Techniques. Internet Applications 2

Artificial Intelligence Techniques. Internet Applications 2 Artificial Intelligence Techniques Internet Applications 2 Aims of the session What are Microdata Are they useful? Introduce the concept of Semantic Web semantic web with small s Internal research. Microdata

More information

Unit 1 a Bird s Eye View on RDF(S), OWL & SPARQL

Unit 1 a Bird s Eye View on RDF(S), OWL & SPARQL Unit 1 a Bird s Eye View on RDF(S), OWL & SPARQL Axel Polleres Siemens AG Österreich VU 184.729 Semantic Web Technologies A. Polleres VU 184.729 1/48 Unit Outline 1. Motivation Aggregating Web Data 2.

More information

RDF and RDB 2 D2RQ. Mapping Relational data to RDF D2RQ. D2RQ Features. Suppose we have data in a relational database that we want to export as RDF

RDF and RDB 2 D2RQ. Mapping Relational data to RDF D2RQ. D2RQ Features. Suppose we have data in a relational database that we want to export as RDF Mapping Relational data to RDF RDF and RDB 2 D2RQ Suppose we have data in a relational database that we want to export as RDF 1. Choose an RDF vocabulary to represent the data 2. Define a mapping from

More information

RESOURCES DESCRIPTION FRAMEWORK: RDF

RESOURCES DESCRIPTION FRAMEWORK: RDF 1 RESOURCES DESCRIPTION FRAMEWORK: RDF Hala Skaf-Molli Associate Professor Nantes University Hala.Skaf@univ-nantes.fr http://pagesperso.lina.univ-nantes.fr/~skaf-h Linked Data Stack (Semantic Web Cake)

More information

Linked Data & Semantic Web Technology.

Linked Data & Semantic Web Technology. http://genfringe.com/wp-content/uploads/2014/01/image22.jpg http://cfile24.uf.tistory.com/image/274f0f4151ca334934964e How tall are you? 5.4 ft What? for communication http://cdn-media-2.lifehack.org/wp-content/files/2012/12/improve-communications.jpg

More information

Multi-agent and Semantic Web Systems: Querying

Multi-agent and Semantic Web Systems: Querying Multi-agent and Semantic Web Systems: Querying Fiona McNeill School of Informatics 11th February 2013 Fiona McNeill Multi-agent Semantic Web Systems: Querying 11th February 2013 0/30 Contents This lecture

More information

Linked Data: What Now? Maine Library Association 2017

Linked Data: What Now? Maine Library Association 2017 Linked Data: What Now? Maine Library Association 2017 Linked Data What is Linked Data Linked Data refers to a set of best practices for publishing and connecting structured data on the Web. URIs - Uniform

More information

Semantic Web Tools. Federico Chesani 18 Febbraio 2010

Semantic Web Tools. Federico Chesani 18 Febbraio 2010 Semantic Web Tools Federico Chesani 18 Febbraio 2010 Outline A unique way for identifying concepts How to uniquely identified concepts? -> by means of a name system... SW exploits an already available

More information

The Semantic Web. What is the Semantic Web?

The Semantic Web. What is the Semantic Web? The Semantic Web Alun Preece Computing Science, University of Aberdeen (from autumn 2007: School of Computer Science, Cardiff University) What is the Semantic Web, and why do we need it now? How does the

More information

Are you afraid of Semantic Web?

Are you afraid of Semantic Web? 1 Are you afraid of Semantic Web? Buraga Faculty of Computer Science A.I.Cuza University of Iaşi, România http:// ://www.infoiasi.ro/~busaco/ 2 Attention, please a first question for you: What is Semantic

More information

Semantic Web and Linked Data

Semantic Web and Linked Data Semantic Web and Linked Data Petr Křemen December 2012 Contents Semantic Web Technologies Overview Linked Data Semantic Web Technologies Overview Semantic Web Technology Stack from Wikipedia. http://wikipedia.org/wiki/semantic_web,

More information

Semantic Web Programming

Semantic Web Programming *) Semantic Web Programming John Hebeler Matthew Fisher Ryan Blace Andrew Perez-Lopez WILEY Wiley Publishing, Inc. Contents Foreword Introduction xxiii xxv Part One Introducing Semantic Web Programming

More information

> Semantic Web Use Cases and Case Studies

> Semantic Web Use Cases and Case Studies > Semantic Web Use Cases and Case Studies Case Study: Improving Web Search using Metadata Peter Mika, Yahoo! Research, Spain November 2008 Presenting compelling search results depends critically on understanding

More information

Semantiska webben DFS/Gbg

Semantiska webben DFS/Gbg 1 Semantiska webben 2010 DFS/Gbg 100112 Olle Olsson World Wide Web Consortium (W3C) Swedish Institute of Computer Science (SICS) With thanks to Ivan for many slides 2 Trends and forces: Technology Internet

More information

OSM Lecture (14:45-16:15) Takahira Yamaguchi. OSM Exercise (16:30-18:00) Susumu Tamagawa

OSM Lecture (14:45-16:15) Takahira Yamaguchi. OSM Exercise (16:30-18:00) Susumu Tamagawa OSM Lecture (14:45-16:15) Takahira Yamaguchi OSM Exercise (16:30-18:00) Susumu Tamagawa TBL 1 st Proposal Information Management: A Proposal (1989) Links have the following types: depends on is part of

More information

Outline RDF. RDF Schema (RDFS) RDF Storing. Semantic Web and Metadata What is RDF and what is not? Why use RDF? RDF Elements

Outline RDF. RDF Schema (RDFS) RDF Storing. Semantic Web and Metadata What is RDF and what is not? Why use RDF? RDF Elements Knowledge management RDF and RDFS 1 RDF Outline Semantic Web and Metadata What is RDF and what is not? Why use RDF? RDF Elements RDF Schema (RDFS) RDF Storing 2 Semantic Web The Web today: Documents for

More information

Semantic Web and Python Concepts to Application development

Semantic Web and Python Concepts to Application development PyCon 2009 IISc, Bangalore, India Semantic Web and Python Concepts to Application development Vinay Modi Voice Pitara Technologies Private Limited Outline Web Need better web for the future Knowledge Representation

More information

DC-Text - a simple text-based format for DC metadata

DC-Text - a simple text-based format for DC metadata DC-Text - a simple text-based format for DC metadata Pete Johnston Eduserv Foundation Tel: +44 1225 474323 pete.johnston@eduserv.org.uk Andy Powell Eduserv Foundation Tel: +44 1225 474319 andy.powell@eduserv.org.uk

More information

Improved Methods for Tagging and Semantic-Annotation for the Semantic-based OpenAPI Retrieval System *

Improved Methods for Tagging and Semantic-Annotation for the Semantic-based OpenAPI Retrieval System * Improved Methods for Tagging and Semantic-Annotation for the Semantic-based OpenAPI Retrieval System * Seung-Jun Cha, Kyu-Chul Lee ** Dept. Of Computer Engineering, Chungnam National University 99 Daehak-ro,

More information

Semantic Technologies and CDISC Standards. Frederik Malfait, Information Architect, IMOS Consulting Scott Bahlavooni, Independent

Semantic Technologies and CDISC Standards. Frederik Malfait, Information Architect, IMOS Consulting Scott Bahlavooni, Independent Semantic Technologies and CDISC Standards Frederik Malfait, Information Architect, IMOS Consulting Scott Bahlavooni, Independent Part I Introduction to Semantic Technology Resource Description Framework

More information

Knowledge Representation for the Semantic Web

Knowledge Representation for the Semantic Web Knowledge Representation for the Semantic Web Winter Quarter 2012 Pascal Hitzler Slides 2 01/05/2011 Kno.e.sis Center Wright State University, Dayton, OH http://www.knoesis.org/pascal/ KR4SW Winter 2012

More information

Making the Web searchable Towards Semantic Search

Making the Web searchable Towards Semantic Search Making the Web searchable Towards Semantic Search Peter Mika Researcher, Data Architect Yahoo! Research Previously in search Horizontal search Yahoo Keyword-based indexing Minimal natural language g processing

More information

Linked Open Data. University of Rome "Tor Vergata" ART: Artificial Intelligence Tor Vergata. "The Semantic Web done right" Tim Berners-Lee

Linked Open Data. University of Rome Tor Vergata ART: Artificial Intelligence Tor Vergata. The Semantic Web done right Tim Berners-Lee University of Rome "Tor Vergata" ART: Artificial Intelligence Research @ Tor Vergata Linked Open Data "The Semantic Web done right" Tim Berners-Lee Date January 28 2013 lastupdate: Mon, 28 Jan 2013 20:00:58

More information

Querying Semantic Web Data

Querying Semantic Web Data Querying Semantic Web Data Lalana Kagal Decentralized Information Group MIT CSAIL Eric Prud'hommeaux Sanitation Engineer World Wide Web Consortium SPARQL Program Graph patterns Motivations for RDF RDF

More information

SemClip - Overcoming the Semantic Gap Between Desktop Applications

SemClip - Overcoming the Semantic Gap Between Desktop Applications SemClip - Overcoming the Semantic Gap Between Desktop Applications Gerald Reif 1, Gian Marco Laube 1, Knud Möller 2, and Harald Gall 1 1 University of Zurich, Department of Informatics, Zurich, Switzerland

More information

Semantic Web Systems Querying Jacques Fleuriot School of Informatics

Semantic Web Systems Querying Jacques Fleuriot School of Informatics Semantic Web Systems Querying Jacques Fleuriot School of Informatics 5 th February 2015 In the previous lecture l Serialising RDF in XML RDF Triples with literal Object edstaff:9888 foaf:name Ewan Klein.

More information

Introduction to Linked Data

Introduction to Linked Data Introduction to Linked Data Sandro Hawke, W3C sandro@hawke.org @sandhawke http://www.w3.org/2010/talks/0608-linked-data June 8 2010, Cambridge Semantic Web Gathering Outline Context Motivation Prerequisites

More information

Semantic Web. Lecture 12: SW Programming Dr. Knarig Arabshian

Semantic Web. Lecture 12: SW Programming Dr. Knarig Arabshian Semantic Web Lecture 12: SW Programming Dr. Knarig Arabshian Knarig.arabshian@hofstra.edu Hello Semantic Web World Example Say hello to the Semantic Web Say hello to some friends of the Semantic Web Expand

More information

Lab 4 CSS CISC1600, Spring 2012

Lab 4 CSS CISC1600, Spring 2012 Lab 4 CSS CISC1600, Spring 2012 Part 1 Introduction 1.1 Cascading Style Sheets or CSS files provide a way to control the look and feel of your web page that is more convenient, more flexible and more comprehensive

More information

XML Metadata Standards and Topic Maps

XML Metadata Standards and Topic Maps XML Metadata Standards and Topic Maps Erik Wilde 16.7.2001 XML Metadata Standards and Topic Maps 1 Outline what is XML? a syntax (not a data model!) what is the data model behind XML? XML Information Set

More information

Semantic Web. RDF and RDF Schema. Morteza Amini. Sharif University of Technology Spring 90-91

Semantic Web. RDF and RDF Schema. Morteza Amini. Sharif University of Technology Spring 90-91 بسمه تعالی Semantic Web RDF and RDF Schema Morteza Amini Sharif University of Technology Spring 90-91 Outline Metadata RDF RDFS RDF(S) Tools 2 Semantic Web: Problems (1) Too much Web information around

More information

Web Information System Design. Tatsuya Hagino

Web Information System Design. Tatsuya Hagino Web Information System Design Tatsuya Hagino (hagino@sfc.keio.ac.jp) 1 Course Summary Understanding the current Web architecture Web components Web as document space Structure of Web documents Web principles

More information

The RDF layer. Riccardo Rosati. Knowledge Representation and Semantic Technologies

The RDF layer. Riccardo Rosati. Knowledge Representation and Semantic Technologies Knowledge Representation and Semantic Technologies The RDF layer Riccardo Rosati Corso di Laurea Magistrale in Ingegneria Informatica Sapienza Università di Roma 2014/2015 The Semantic Web Tower The RDF

More information

Current State of the Semantic Web

Current State of the Semantic Web Current State of the Semantic Web Kore Nordmann March 6, 2009 About me Kore Nordmann, kore@php.net Long time PHP developer Regular speaker, author, etc. Studies computer science in Dortmund Consultancy

More information

User Interaction: XML and JSON

User Interaction: XML and JSON User Interaction: XML and JSON Assoc. Professor Donald J. Patterson INF 133 Fall 2012 1 HTML and XML 1989: Tim Berners-Lee invents the Web with HTML as its publishing language Based on SGML Separates data

More information

What is a web site? Web editors Introduction to HTML (Hyper Text Markup Language)

What is a web site? Web editors Introduction to HTML (Hyper Text Markup Language) What is a web site? Web editors Introduction to HTML (Hyper Text Markup Language) What is a website? A website is a collection of web pages containing text and other information, such as images, sound

More information

Linked Data Evolving the Web into a Global Data Space

Linked Data Evolving the Web into a Global Data Space Linked Data Evolving the Web into a Global Data Space Anja Jentzsch, Freie Universität Berlin 05 October 2011 EuropeanaTech 2011, Vienna 1 Architecture of the classic Web Single global document space Web

More information

Linked Data. Department of Software Enginnering Faculty of Information Technology Czech Technical University in Prague Ivo Lašek, 2011

Linked Data. Department of Software Enginnering Faculty of Information Technology Czech Technical University in Prague Ivo Lašek, 2011 Linked Data Department of Software Enginnering Faculty of Information Technology Czech Technical University in Prague Ivo Lašek, 2011 Semantic Web, MI-SWE, 11/2011, Lecture 9 Evropský sociální fond Praha

More information

Semantic Web Technologies: Assignment 1. Axel Polleres Siemens AG Österreich

Semantic Web Technologies: Assignment 1. Axel Polleres Siemens AG Österreich Semantic Web Technologies: Assignment 1 Siemens AG Österreich 1 The assignment: 2 FOAF: 1. Create your own FOAF file. You can use a generator tool such as FOAF- a- Ma>c to generate a skeleton. 2. Make

More information

Temporality in Semantic Web

Temporality in Semantic Web Temporality in Semantic Web Ph.D student: Di Wu, Graduate Center, CUNY Mentor: Abdullah Uz Tansel, Baruch College, CUNY Committee: Sarah Zelikovitz, CIS, CUNY Susan P. Imberman, CIS, CUNY Abstract Semantic

More information

Web of Hypertext (RDFa, Microformats) and Web of Data

Web of Hypertext (RDFa, Microformats) and Web of Data Semantic Web Web of Hypertext (RDFa, Microformats) and Web of Data Dieter Fensel and Tobias Bürger www.sti-innsbruck.at Copyright 2009 STI INNSBRUCK www.sti-innsbruck.at Where are we? # Title 1 Introduction

More information

Implementing and extending SPARQL queries over DLVHEX

Implementing and extending SPARQL queries over DLVHEX Implementing and extending SPARQL queries over DLVHEX Gennaro Frazzingaro Bachelor Thesis Presentation - October 5, 2007 From a work performed in Madrid, Spain Galway, Ireland Rende, Italy How to solve

More information

The Semantic Web. Challenges with today s Web the Semantic Web Technology Example of use Status Semantic Web in e-learning

The Semantic Web. Challenges with today s Web the Semantic Web Technology Example of use Status Semantic Web in e-learning The Semantic Web Challenges with today s Web the Semantic Web Technology Example of use Status Semantic Web in e-learning 1 The Web - the worlds largest library? Not catalogued and categorized No professional

More information

CS144 Notes: Web Standards

CS144 Notes: Web Standards CS144 Notes: Web Standards Basic interaction Example: http://www.youtube.com - Q: what is going on behind the scene? * Q: What entities are involved in this interaction? * Q: What is the role of each entity?

More information

KawaWiki: A Semantic Wiki Based on RDF Templates

KawaWiki: A Semantic Wiki Based on RDF Templates Kawa: A Semantic Based on RDF s Kensaku Kawamoto, Yasuhiko Kitamura, and Yuri Tijerino Kwansei Gakuin University 2-1 Gakuen, Sanda-shi, Hyogo 669-1337, JAPAN {kkensaku, ykitamura}@ksc.kwansei.ac.jp, yuri@tijerino.net

More information

Ivan Herman. F2F Meeting of the W3C Business Group on Oil, Gas, and Chemicals Houston, February 13, 2012

Ivan Herman. F2F Meeting of the W3C Business Group on Oil, Gas, and Chemicals Houston, February 13, 2012 Ivan Herman F2F Meeting of the W3C Business Group on Oil, Gas, and Chemicals Houston, February 13, 2012 (2) (3) } An intelligent system manipulating and analyzing knowledge bases e.g., via big ontologies,

More information

SPARQL. Fausto Giunchiglia and Mattia Fumagallli. University of Trento

SPARQL. Fausto Giunchiglia and Mattia Fumagallli. University of Trento SPARQL Fausto Giunchiglia and Mattia Fumagallli University of Trento Roadmap Introduction Basic query forms SELECT CONSTRUCT ASK DESCRIBE Other clauses and modifiers SPARQL Federated Query Exercises 2

More information

What's New in RDF 1.1

What's New in RDF 1.1 What's New in RDF 1.1 SemTechBiz June 2013 http://www.w3.org/2013/talks/0603-rdf11 Sandro Hawke, W3C Staff sandro@w3.org @sandhawke Overview 1. Stability and Interoperability 2. Non-XML Syntaxes Turtle

More information

SADI Semantic Web Services

SADI Semantic Web Services SADI Semantic Web Services London, UK 8 December 8 2011 SADI Semantic Web Services Instructor: Luke McCarthy http:// sadiframework.org/training/ 2 Contents 2.1 Introduction to Semantic Web Services 2.1

More information

RDFa 1.1 Primer - Second Edition

RDFa 1.1 Primer - Second Edition RDFa 1.1 Primer - Second Edition Rich Structured Data Markup for Web Documents W3C Working Group Note 22 August 2013 This version: http://www.w3.org/tr/2013/note-rdfa-primer-20130822/ Latest published

More information

Mapping between Digital Identity Ontologies through SISM

Mapping between Digital Identity Ontologies through SISM Mapping between Digital Identity Ontologies through SISM Matthew Rowe The OAK Group, Department of Computer Science, University of Sheffield, Regent Court, 211 Portobello Street, Sheffield S1 4DP, UK m.rowe@dcs.shef.ac.uk

More information

WebGUI & the Semantic Web. William McKee WebGUI Users Conference 2009

WebGUI & the Semantic Web. William McKee WebGUI Users Conference 2009 WebGUI & the Semantic Web William McKee william@knowmad.com WebGUI Users Conference 2009 Goals of this Presentation To learn more about the Semantic Web To share Tim Berners-Lee's vision of the Web To

More information

RDF for Life Sciences

RDF for Life Sciences RDF for Life Sciences Presentation to Oracle Life Sciences User Group June 23, 2004 John Wilbanks World Wide Web Consortium (W3C) What is the W3C? Founded in 1994 by Tim Berners-Lee Develops common protocols

More information

SPARQL. Dr Nicholas Gibbins

SPARQL. Dr Nicholas Gibbins SPARQL Dr Nicholas Gibbins nmg@ecs.soton.ac.uk Semantic Web Applications Technologies considered so far allow us to create representation schemes (RDFS, OWL) and to represent data (RDF) We can put data

More information

Semantic Web Technologies

Semantic Web Technologies 1/57 Introduction and RDF Jos de Bruijn debruijn@inf.unibz.it KRDB Research Group Free University of Bolzano, Italy 3 October 2007 2/57 Outline Organization Semantic Web Limitations of the Web Machine-processable

More information

Interacting with Linked Data Part I: General Introduction

Interacting with Linked Data Part I: General Introduction Interacting with Linked Data Part I: General Introduction Agenda Part 0: Welcome Part I: General Introduction to Semantic Technologies Part II: Advanced Concepts Part III: OWLIM Part IV: Information Workbench-

More information

Linked Data and RDF. COMP60421 Sean Bechhofer

Linked Data and RDF. COMP60421 Sean Bechhofer Linked Data and RDF COMP60421 Sean Bechhofer sean.bechhofer@manchester.ac.uk Building a Semantic Web Annotation Associating metadata with resources Integration Integrating information sources Inference

More information

Building Interoperable Metadata

Building Interoperable Metadata Building Interoperable Metadata Hal Abelson, Ben Adida MIT Computer Science & Artificial Intelligence Laboratory 8 March 2006 http://ben.adida.net/presentations/ 1 the important thing about the semantic

More information

Profiles Research Networking Software API Guide

Profiles Research Networking Software API Guide Profiles Research Networking Software API Guide Documentation Version: March 13, 2013 Software Version: ProfilesRNS_1.0.3 Table of Contents Overview... 2 PersonID, URI, and Aliases... 3 1) Profiles RNS

More information

The Semantic Web DEFINITIONS & APPLICATIONS

The Semantic Web DEFINITIONS & APPLICATIONS The Semantic Web DEFINITIONS & APPLICATIONS Data on the Web There are more an more data on the Web Government data, health related data, general knowledge, company information, flight information, restaurants,

More information

Web Development & Design Foundations with XHTML. Chapter 2 Key Concepts

Web Development & Design Foundations with XHTML. Chapter 2 Key Concepts Web Development & Design Foundations with XHTML Chapter 2 Key Concepts Learning Outcomes In this chapter, you will learn about: XHTML syntax, tags, and document type definitions The anatomy of a web page

More information

Announcements. 1. Class webpage: Have you been reading the announcements? Lecture slides and coding examples will be posted

Announcements. 1. Class webpage: Have you been reading the announcements? Lecture slides and coding examples will be posted Announcements 1. Class webpage: Have you been reading the announcements? Lecture slides and coding examples will be posted 2. Install Komodo Edit on your computer right away. 3. Bring laptops to next class

More information

RuleML and SWRL, Proof and Trust

RuleML and SWRL, Proof and Trust RuleML and SWRL, Proof and Trust Semantic Web F. Abel and D. Krause IVS Semantic Web Group January 17, 2008 1 Solution 1: RuleML Express the following RuleML code as a human-readable First Order Logic

More information

Semantic Web Lecture Part 1. Prof. Do van Thanh

Semantic Web Lecture Part 1. Prof. Do van Thanh Semantic Web Lecture Part 1 Prof. Do van Thanh Overview of the lecture Part 1 Why Semantic Web? Part 2 Semantic Web components: XML - XML Schema Part 3 - Semantic Web components: RDF RDF Schema Part 4

More information

A Developer s Guide to the Semantic Web

A Developer s Guide to the Semantic Web A Developer s Guide to the Semantic Web von Liyang Yu 1. Auflage Springer 2011 Verlag C.H. Beck im Internet: www.beck.de ISBN 978 3 642 15969 5 schnell und portofrei erhältlich bei beck-shop.de DIE FACHBUCHHANDLUNG

More information

An Architecture to Discover and Query Decentralized RDF Data

An Architecture to Discover and Query Decentralized RDF Data An Architecture to Discover and Query Decentralized RDF Data Uldis Bojārs 1 and Alexandre Passant 2 and Frederick Giasson 3 and John Breslin 1 1 Digital Enterprise Research Institute, National University

More information