SlideShare une entreprise Scribd logo
1  sur  42
E. Della Valle – http://emanueledellavalle.org - @manudellavalle
Interoperability and Semantic Technologies 2015-16
An Introduction RDF
Emanuele Della Valle
DEIB - Politecnico di Milano
http://emanueledellavalle.org - @manudellavalle
E. Della Valle – http://emanueledellavalle.org - @manudellavalle
This work is licensed under the Creative Commons Attribution 3.0
Unported License.
Your are free:
to Share — to copy, distribute and transmit the work
to Remix — to adapt the work
Under the following conditions
Attribution — You must attribute the work by inserting
“by E. Della Valle – http://emanueledellavalle.org -
@manudellavalle”
at the end of each reused slide
To view a copy of this license, visit
http://creativecommons.org/licenses/by/3.0/
Share, Remix, Reuse — Legally
2
E. Della Valle – http://emanueledellavalle.org - @manudellavalle
Data Interchange: RDF
E. Della Valle – http://emanueledellavalle.org - @manudellavalle
RDF in a nutshell
Looking for a flexible data model
 Why
• Application are always changing
(competitive environment)
• People are always adding more features
• Graceful evolution is important
 Optimal: relational model
• Relational model is remarkably flexible
• Supports graceful evolution
– Change => Add another table
– Existing queries are unaffected
• Easily accommodates new data
– Without affecting existing queries
• Allows data to be easily combined ("joined") in new ways
• 25+ years of relational database experience
4
E. Della Valle – http://emanueledellavalle.org - @manudellavalle
RDF in a nutshell
Resource Description Framework
 The adaptation of the relational model to the Web give rise
to RDF
 From tuples to triples
 Any relational data can be represented as triples
• Row Key --> Subject
• Column --> Property
• Value --> Value
5
E. Della Valle – http://emanueledellavalle.org - @manudellavalle
RDF in a nutshell
Representing relational data in RDF (almost)
 E.g., drug data
 Represented in RDF (almost)
ID Category Formula
BB.2 Anxiolytics C16H21NO2
ID Name Lang
BB.2 Propranolol en
BB.2 Propranololo it
BB.2 プロプラノロー
ル
jp
BB.2
Anxiolytics C16H21NO2 Propranolol Propranololo
プロプラノロー
ル
Category
Formula
Is a Drug
Legend
resource
literal
Name
6
Drug Drug Names
E. Della Valle – http://emanueledellavalle.org - @manudellavalle
RDF in a nutshell
Representing relational data in RDF (almost)
 Two important problems,
- internal IDs (e.g., BB.2)
- internal names of schema element (e.g., Category)
once out of the database become meaningless
 RDF solves this problem by using URI
• Internal ID should be replaced by URI
• Internal schema names should be replaced by URI
• Values do not (always) need to be URI-fied
http://bio2rdf.org/drugbank_drugs:DB00571
http://dbpedia.org/resource/Category:Anxiolytics
C16H21NO
2
http://www.w3.org/2004/02/skos/core#subject
http://bio2rdf.org/drugbank_ontology:chemicalFormula
http://www.w3.org/2000/01/rdf-schema#label
http://bio2rdf.org/page/drugbank_ontology:drugs
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
Legend
resource
literal
Propranolol
Propranololo
プロプラノロー
ル
7
E. Della Valle – http://emanueledellavalle.org - @manudellavalle
 Which URI should we use?
• Popular ones! Data merge will take place automatically!
RDF in a nutshell
Representing data in RDF Q/A 1/3
http://bio2rdf.org/drugbank_drugs:DB00571
http://dbpedia.org/resource/Category:Anxiolytics
http://www.w3.org/2004/02/skos/core#subject
+http://bio2rdf.org/drugbank_drugs:DB00571
http://dbpedia.org/ontology/knownFor
http://bio2rdf.org/drugbank_drugs:DB00571
http://dbpedia.org/resource/Category:Anxiolytics
http://www.w3.org/2004/02/skos/core#subject
=
http://dbpedia.org/ontology/knownFor
http://dbpedia.org/resource/James_W._Black
http://dbpedia.org/resource/James_W._Black
8
E. Della Valle – http://emanueledellavalle.org - @manudellavalle
 Where do I find popular URIs?
• Ontology Dowsing
– http://www.w3.org/wiki/Ontology_Dowsing
• 1st
solution: you know them ;-)
– RDF vocabulary already includes:
- rdf:type : the “instance of” relationship between an individual and its
class
- rdf:Property : the “concept” of property
– RDF comes along a schema description language (RDF-S)
- rdfs:Class : the “concept” of class
- rdfs:subClassOf : the “is a” relationship between two classes
- rdfs:label : the standard way to provide a human-readable label
– …
• 2nd
you search for them
– With specialized search engines (e.g., http://vocab.cc/ )
– In popular repositories (e.g., http://lov.okfn.org/dataset/lov/ )
– …
RDF in a nutshell
Representing data in RDF Q/A 2/3
9
E. Della Valle – http://emanueledellavalle.org - @manudellavalle
 What is a value? When shall we URI-fy a value?
• Literals cannot be used to merge different data set
• E.g., what if we what to merge two resources based on their
labels?
– BRCA may refer to different thing on the Web
e.g., try http://en.wikipedia.org/wiki/BRCA
• URI-fy any value that can be eventually used to merge
different dataset and leave the other values as literals
RDF in a nutshell
Representing data in RDF Q/A 3/3
BRCA
http://www.w3.org/2000/01/rdf-schema#label
BRCA
http://www.w3.org/2000/01/rdf-schema#label
+ = ?
10
E. Della Valle – http://emanueledellavalle.org - @manudellavalle
RDF in a nutshell
Other data structure in RDF
 Trees can be represented in RDF
 Anything can be represented in RDF
11
E. Della Valle – http://emanueledellavalle.org - @manudellavalle
RDF in a nutshell
Multi Source Data Integration with RDF
Gene
Ontology
rdf:type
iRef
Index
uniprot:P05067 Uniprot:P05067
Interacts with
uniprot:P05067 Go:Membrane
locatedIn
uniprot:Proteinrdf:type
Uniprot:P05067
Interacts with
Go:Membrane
locatedIn
uniprot:P05067
uniprot:P05067 uniprot:Protein
RDF
E. Della Valle – http://emanueledellavalle.org - @manudellavalle
RDF in a nutshell
Serializing RDF
 Three alternatives to write triples, in
1. RDF/XML: Standard serialization in XML
<Description about=”subject”>
<property>value</property>
</Description>
– e.g., http://dbpedia.org/data/Propranolol.rdf
– Check-out the triples using http://www.w3.org/RDF/Validator/
2. NTriples: Simple (verbose) reference serialization (for
specifications only)
<http://...subject> <http://...predicate> “value” .
– http://www.w3.org/RDF/Validator/ARPServlet?URI=http%3A%2F
%2Fdbpedia.org%2Fresource%2FPropranolol&PARSE=Parse+URI
%3A+&TRIPLES_AND_GRAPH=PRINT_TRIPLES&FORMAT=PNG_EMBED
• N3 and Turtle: Developer-friendly serializations
:subject :property “value” .
– e.g. http://dbpedia.org/data/Propranolol.n3
13
E. Della Valle – http://emanueledellavalle.org - @manudellavalle
RDF in a nutshell
Serializing RDF in Turtle - namespaces
 URI terms can be abbreviated using namespaces
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix dbpedia: <http://dbpedia.org/resource/> .
@prefix dbpedia-owl: <http://dbpedia.org/ontology/> .
dbpedia:Propranolol rdf:type dbpedia-owl:Drug .
 <http://www.w3.org/1999/ 02/22-rdf-syntax-ns#type> = 'a'
dbpedia:Propranolol a dbpedia-owl:Drug .
14
E. Della Valle – http://emanueledellavalle.org - @manudellavalle
RDF in a nutshell
Serializing RDF in Turtle - Literals
 Literals: "Propranolol"
• Literals with language tags: " プロプラノロール "@jp
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
dbpedia:Propranolol rdfs:label "Propranolol"@en .
dbpedia:Propranolol rdfs:label "Propranololo"@it .
dbpedia:Propranolol rdfs:label " プロプラノロール "@jp .
• Typed literals: "3.14"^^xsd:float
dbpedia:Propranolol dbpprop:molecularWeight "259.34"^^xsd:float .
15
E. Della Valle – http://emanueledellavalle.org - @manudellavalle
RDF in a nutshell
Serializing RDF in Turtle - Convenience Syntax
 Abbreviating repeated subjects:
dbpedia:Propranolol rdfs:label "Propranololo"@it .
dbpedia:Propranolol dbpprop:molecularWeight "259.34"^^xsd:float .
... is the same as ...
dbpedia:Propranolol rdfs:label "Propranololo"@it ;
dbpprop:molecularWeight "259.34"^^xsd:float .
 Abbreviating repeated subject/predicate pairs:
dbpedia:Propranolol rdfs:label "Propranolol"@en .
dbpedia:Propranolol rdfs:label "Propranololo"@it .
dbpedia:Propranolol rdfs:label " プロプラノロール "@cn .
... is the same as ...
dbpedia:Propranolol rdfs:label "Propranolol"@en ,
"Propranololo"@it ,
" プロプラノロール "@cn .
16
E. Della Valle – http://emanueledellavalle.org - @manudellavalle
RDF in a nutshell
Are you following? Let's check!
[source http://origin-www.yoursingapore.com/content/traveller/zh/browse/see-and-do/hands-on/_jcr_content/flash/image.img.png ]
E. Della Valle – http://emanueledellavalle.org - @manudellavalle
RDF in a nutshell
Are you following? Let's check!
 Represent in the graphical syntax presented at slide 6 the
following database
 Is this only a pedantic application of slide 6?
 Serialize it in turtle syntax
• using rdf:type to say "is a" and rdfs:label to say "name"
• Using "@prefix : <http://www.ex.org/>" for all other terms, e.g.,
:Doctor, :treats, etc.
 Shorted down the serialization using the convenience syntax
 Check correctness at http://www.easyrdf.org/converter
 Results are published on the course Web site
DID Name
D1  Alice
D2 Bob
Doctor treats
PID Name
P1 Carl
P2 David
Patient
DID PID
D1  P2
D1 P1
D2 P1
E. Della Valle – http://emanueledellavalle.org - @manudellavalle
 What if I cannot thing about a good URI?
• When no go URI exists, you can use blank nodes ( )
• The following relational data …
• … can be translated in RDF, in the BIO vocabulary [1], as
follows
RDF in a nutshell
Representing data in RDF Q/A 4/4
Person Bio Event Date
Sofia Birth 1974-02-28
Sofia Marriage 1995-08-04
1974-02-28
http://www.sofia.org/#m
e
http://purl.org/vocab/bio/0.1/Birth
http://purl.org/vocab/bio/0.1/Marriage
1995-08-04
http://purl.org/vocab/bio/0.1/event
http://purl.org/vocab/bio/0.1/event
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://purl.org/vocab/bio/0.1/date
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://purl.org/vocab/bio/0.1/date
19
E. Della Valle – http://emanueledellavalle.org - @manudellavalle
RDF in a nutshell
Serializing RDF in Turtle – black nodes
 The following RDF model (see previous slide), including two
blank nodes, can be serialized as shown hereafter
@prefix bio: <http://purl.org/vocab/bio/0.1/> .
http://www.sofia.org/#me bio:event _:1, _:2 .
_:1 a bio:Birth; bio:date "1974-02-28"^^xsd:date .
_:2 a bio:Mariage; bio:date "1995-08-04"^^xsd:date .
1974-02-28
http://www.sofia.org/#m
e
http://purl.org/vocab/bio/0.1/Birth
http://purl.org/vocab/bio/0.1/Marriage
1995-08-04
http://purl.org/vocab/bio/0.1/event
http://purl.org/vocab/bio/0.1/event
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://purl.org/vocab/bio/0.1/date
http://purl.org/vocab/bio/0.1/event
http://purl.org/vocab/bio/0.1/date
Blank node
identifiers
20
E. Della Valle – http://emanueledellavalle.org - @manudellavalle
RDF in a nutshell
Serializing RDF in Turtle – black nodes
 The following RDF model (see previous slide), including two
blank nodes, can be serialized as shown hereafter
@prefix bio: <http://purl.org/vocab/bio/0.1/> .
http://www.sofia.org/#me bio:event
[ a bio:Birth; bio:date "1974-02-28"^^xsd:date ] ,
[ a bio:Mariage; bio:date "1995-08-04"^^xsd:date ].
1974-02-28
http://www.sofia.org/#m
e
http://purl.org/vocab/bio/0.1/Birth
http://purl.org/vocab/bio/0.1/Marriage
1995-08-04
http://purl.org/vocab/bio/0.1/event
http://purl.org/vocab/bio/0.1/event
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://purl.org/vocab/bio/0.1/date
http://purl.org/vocab/bio/0.1/event
http://purl.org/vocab/bio/0.1/date
Blank node
Convenience syntax
21
E. Della Valle – http://emanueledellavalle.org - @manudellavalle
RDF in a nutshell
XML vs. RDF w.r.t. Evolving Data
 Scenario: Describe printer capabilities
 V1 has several features
XML RDF
22
E. Della Valle – http://emanueledellavalle.org - @manudellavalle
RDF in a nutshell
XML vs. RDF w.r.t. Evolving Data
 V1.1 adds two features
• What effect on existing client software?
– Regenerate stubs?
– Recompile?
– Did any queries break?
– (Depends how they're written. Best programmers?)
XML RDF
23
E. Della Valle – http://emanueledellavalle.org - @manudellavalle
RDF in a nutshell
XML vs. RDF w.r.t. Evolving Data
 V1.2 adds three more features
• What effect on existing client software?
XML RDF
24
E. Della Valle – http://emanueledellavalle.org - @manudellavalle
RDF in a nutshell
XML vs. RDF w.r.t. Evolving Data
 V2 adds colors
• What effect on existing client software?
XML RDF
25
E. Della Valle – http://emanueledellavalle.org - @manudellavalle
RDF in a nutshell
XML vs. RDF w.r.t. Evolving Data
 Version n combines printer, scanner, fax:
 Problem: How to combine trees?
• Printer and fax both have output paper settings (red)
• Scanner and fax both have input image settings (blue)
26
E. Della Valle – http://emanueledellavalle.org - @manudellavalle
RDF in a nutshell
XML vs. RDF w.r.t. Evolving Data
 Flexibility is important
• Products are always changing
(competitive environment)
• People are always adding more features
• Graceful evolution is important
• Relational data is remarkably flexible
 XML syntax is important
• Lots of application, which use XML, are already available
• Lots of tools for XML are already available
• Trees alows for simple parsing without loading the entire
model (i.e., XML parsing using SAX)
27
E. Della Valle – http://emanueledellavalle.org - @manudellavalle
RDF in a nutshell
Serializing RDF in XML - basics
 W3C standardized an RDF/XML syntax [1]
 The basic idea is to insert an XML element for each node
(sobject and value) and arc (predicate)
 Es.
<rdf:RDF
xmlns:rdf=”http://www.w3.org/1999/02/22-rdf-syntax-ns#”
xmlns:ex=”http://www.example.org/”
xmlns:sid=“URN:org:example:staffid:”
xmlns:dc=”http://purl.org/dc/elements/1.1/”>
<rdf:Description rdf:about="http://www.example.org/index.html ">
 <dc:creator>
<rdf:Description rdf:about="URN:org:example:staffid:85740"/>
</dc:creator >
</rdf:Description>
</rdf:RDF>
[1] RDF/XML Syntax Specification available at http://www.w3.org/TR/rdf-syntax-grammar/
ex:index.html sid:85740
dc:creator
property
element
Root tag
28
E. Della Valle – http://emanueledellavalle.org - @manudellavalle
RDF in a nutshell
Serializing RDF in XML - abbreviation
 A possible abbreviation is using rdf:resource in the
property elements
 Es.
<rdf:RDF
xmlns:rdf=”http://www.w3.org/1999/02/22-rdf-syntax-ns#”
xmlns:ex=”http://www.example.org/”
xmlns:sid=“URN:org:example:staffid:”
xmlns:dc=”http://purl.org/dc/elements/1.1/”>
<rdf:Description rdf:about="http://www.example.org/index.html ">
 <dc:creator rdf:resource="URN:org:example:staffid:85740"/>
</rdf:Description>
</rdf:RDF>
29
E. Della Valle – http://emanueledellavalle.org - @manudellavalle
RDF in a nutshell
Serializing RDF in XML – more statements
 Other statements
• Es.
 can be added
• afterwords
<rdf:Description rdf:about="http://www.example.org/index.html">
 <dc:creator rdf:resource="URN:org:example:staffid:85740"/>
</rdf:Description>
<rdf:Description rdf:about="URN:org:example:staffid:85740">
<foaf:email rdf:resource="mailto:mrossi@example.org"/>
</rdf:Description>
• or inline if they share the same subject
<rdf:Description rdf:about="http://www.example.org/index.html ">
<dc:creator>
<rdf:Description rdf:about="URN:org:example:staffid:85740">
<foaf:email rdf:resource="mailto:mrossi@example.org"/>
</rdf:Description>
</dc:creator >
</rdf:Description>
ex:index.html sid:85740
dc:creator
mailto:mrossi@example.org
foaf:email
30
E. Della Valle – http://emanueledellavalle.org - @manudellavalle
RDF in a nutshell
Serializing RDF in XML – rdf:type abbreviation
 It’s possible to abbreviate rdf:type
• Es.
• Long form
<rdf:Description rdf:about="http://www.example.org/index.html">
<rdf:type rdf:resource="http://www.example.org/pagina_web">
</rdf:Description>
• Abbreviated form
<ex:pagina_web rdf:about="http://www.example.org/index.html" />
ex:index.html
ex:pagina_web
rdf:type
31
E. Della Valle – http://emanueledellavalle.org - @manudellavalle
RDF in a nutshell
Serializing RDF in XML – a larger example
 A compact XML serialization of
 is
<ex:pagina_web rdf:about="http://www.example.org/index.html">
<dc:creator>
<ex:employee rdf:about="sid:55740"
foaf:email="mailto:mrossi@example.org"/>
<dc:creator>
</ex:pagina_web>
ex:index.html sid:85740
dc:creator
mailto:mrossi@example.org
foaf:email
ex:pagina_web ex:impiegato
rdf:type rdf:type
32
E. Della Valle – http://emanueledellavalle.org - @manudellavalle
RDF in a nutshell
Merging XML files 1/2
 Suppose you have to merge the two following XML
 Merging the XML trees is difficult, but being RDF …
<Park rdf:about="Yosemite">
<conteins>
<Camp rdf:about="North-Pines"/>
</conteins>
<crossedBy>
<Path rdf:about="S11"/>
</crossedBy>
</Park>
<Camp rdf:about="North-Pines"
locatedIn="Yosemite">
<accessibleBy>
<Path rdf:about="S11"/>
</accessibleBy>
</Camp>
Yosemite
North-Pines
Park
rdf:type
rdf:type
conteins
Camp
S11
rdf:type
Path
crossedBy
Yosemite
North-Pines
rdf:type
Camp
S11
rdf:type
Path
accessibleBy
locatedIn
33
E. Della Valle – http://emanueledellavalle.org - @manudellavalle
RDF in a nutshell
Merging XML files 2/2
 It’s (just) a matter to merge the two RDF graphs
 NOTE: It works out nicely because both RDF/XML
documents refer to the same resources and use the same
vocabularies.
U
Yosemite
North-Pines
Park
rdf:type
rdf:type
conteins
Camp
S11
Path
accessibleBy
crossedBy
locatedIn
rdf:type
Yosemite
North-Pines
Park
rdf:type
rdf:type
conteins
Camp
S11
rdf:type
Path
crossedBy
Yosemite
North-Pines
rdf:type
Camp
S11
rdf:type
Path
accessibleBy
locatedIn
34
E. Della Valle – http://emanueledellavalle.org - @manudellavalle
RDF in a nutshell
RDFa
 Resource Description Framework in Attributes (RDFa)
• First proposed in 2004
• W3C recommendation since October 14, 2008:
http://www.w3.org/TR/rdfa-syntax/
 The essence
• it provides a set of markup attributes to augment the visual
information on the Web with machine-readable hints
35
E. Della Valle – http://emanueledellavalle.org - @manudellavalle
RDF in a nutshell
RDFa – An example
 Consider the HTML snippet hereafter
• <p>The microformats.org site was launched on 2005-06-20
at the Supernova Conference in San Francisco, CA, USA.</p>
 Let’s annotate it using hCalendar
• <p>
<span vocab="http://schema.org/" typeof="Event">
<span property="name">
The microformats.org site was launched
</span>
on
<span property="startDate”> 2005-06-20</span>
at the Supernova Conference in
<span property="location" typeof=”City">
San Francisco, CA, USA
</span>
.
</span>
</p>
36
E. Della Valle – http://emanueledellavalle.org - @manudellavalle
RDF in a nutshell
RDFa – the attributes
 about – a URI specifying the resource the metadata is
about
 rel and rev – specifying a relationship and reverse-
relationship with another resource, respectively
 src, href and resource – specifying the partner resource
 property – specifying a property for the content of an
element or the partner resource
 content – optional attribute that overrides the content of
the element when using the property attribute
 datatype – optional attribute that specifies the datatype of
text specified for use with the property attribute
 typeof – optional attribute that specifies the RDF type(s)
of the subject or the partner resource
37
E. Della Valle – http://emanueledellavalle.org - @manudellavalle
RDF in a nutshell
RDFa – resources
 For more information
• http://www.slideshare.net/ivan_herman/introduction-to-rdfa/
 Validation tool
• http://validator.w3.org/nu/
38
E. Della Valle – http://emanueledellavalle.org - @manudellavalle
Publishing RDF as Linked Data
Principles
1. Things must be identified with dereferenceable HTTP URIs.
2. If such a URI is dereferenced asking for the MIME-type
application/rdf+xml, a data source must return an
RDF/XML description of the identified resource.
1. Besides RDF links to resources within the same data
source, RDF descriptions should also contain RDF links to
resources provided by other data sources
39
E. Della Valle – http://emanueledellavalle.org - @manudellavalle
Publishing RDF as Linked Data
Example based on dbpedia
 Approach
 E.g.
• Resource identifier
– http://dbpedia.org/resource/Propranolol
• RDF representation describing Propranolol
– http://dbpedia.org/data/Propranolol
• HTML representation describing Propranolol
– http://dbpedia.org/page/Propranolol
 Test it! http://idi.fundacionctic.org/vapour
40
E. Della Valle – http://emanueledellavalle.org - @manudellavalle
RDF in a nutshell
RDF Resources
 RDF at the W3C - primer and specifications
• http://www.w3.org/RDF/
 Semantic Web tools - community maintained list; includes
triple store, programming environments, tool sets, and
more
• http://esw.w3.org/topic/SemanticWebTools
 302 Semantic Web Videos and Podcasts - includes a section
specifically on RDF videos
• http://www.semanticfocus.com/blog/entry/title/302-
semantic-web-videos-and-podcasts/
41
E. Della Valle – http://emanueledellavalle.org - @manudellavalle
credits
 Some slides are derived from
• “How to Publish Linked Data on the Web” by Chris Bizer,
Richard Cyganiak and Tom Heath http://sites.wiwiss.fu-
berlin.de/suhl/bizer/pub/LinkedDataTutorial/
• “Bio2RDF and Beyond!” by Michel Dumontier
http://www.slideshare.net/micheldumontier/bio2rdf-and-
beyond
42

Contenu connexe

Tendances

Understanding RDF: the Resource Description Framework in Context (1999)
Understanding RDF: the Resource Description Framework in Context  (1999)Understanding RDF: the Resource Description Framework in Context  (1999)
Understanding RDF: the Resource Description Framework in Context (1999)Dan Brickley
 
RDF Tutorial - SPARQL 20091031
RDF Tutorial - SPARQL 20091031RDF Tutorial - SPARQL 20091031
RDF Tutorial - SPARQL 20091031kwangsub kim
 
RDF, SPARQL and Semantic Repositories
RDF, SPARQL and Semantic RepositoriesRDF, SPARQL and Semantic Repositories
RDF, SPARQL and Semantic RepositoriesMarin Dimitrov
 
2011 4IZ440 Semantic Web – RDF, SPARQL, and software APIs
2011 4IZ440 Semantic Web – RDF, SPARQL, and software APIs2011 4IZ440 Semantic Web – RDF, SPARQL, and software APIs
2011 4IZ440 Semantic Web – RDF, SPARQL, and software APIsJosef Petrák
 
Owl web ontology language
Owl  web ontology languageOwl  web ontology language
Owl web ontology languagehassco2011
 
Jarrar: RDF Stores -Challenges and Solutions
Jarrar: RDF Stores -Challenges and SolutionsJarrar: RDF Stores -Challenges and Solutions
Jarrar: RDF Stores -Challenges and SolutionsMustafa Jarrar
 
Rdf In A Nutshell V1
Rdf In A Nutshell V1Rdf In A Nutshell V1
Rdf In A Nutshell V1Fabien Gandon
 
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." Avalon Media System
 
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 DataFabien Gandon
 
FedX - Optimization Techniques for Federated Query Processing on Linked Data
FedX - Optimization Techniques for Federated Query Processing on Linked DataFedX - Optimization Techniques for Federated Query Processing on Linked Data
FedX - Optimization Techniques for Federated Query Processing on Linked Dataaschwarte
 
Two graph data models : RDF and Property Graphs
Two graph data models : RDF and Property GraphsTwo graph data models : RDF and Property Graphs
Two graph data models : RDF and Property Graphsandyseaborne
 

Tendances (19)

SWT Lecture Session 3 - SPARQL
SWT Lecture Session 3 - SPARQLSWT Lecture Session 3 - SPARQL
SWT Lecture Session 3 - SPARQL
 
Understanding RDF: the Resource Description Framework in Context (1999)
Understanding RDF: the Resource Description Framework in Context  (1999)Understanding RDF: the Resource Description Framework in Context  (1999)
Understanding RDF: the Resource Description Framework in Context (1999)
 
SWT Lecture Session 2 - RDF
SWT Lecture Session 2 - RDFSWT Lecture Session 2 - RDF
SWT Lecture Session 2 - RDF
 
RDF Tutorial - SPARQL 20091031
RDF Tutorial - SPARQL 20091031RDF Tutorial - SPARQL 20091031
RDF Tutorial - SPARQL 20091031
 
RDF and OWL
RDF and OWLRDF and OWL
RDF and OWL
 
RDF, SPARQL and Semantic Repositories
RDF, SPARQL and Semantic RepositoriesRDF, SPARQL and Semantic Repositories
RDF, SPARQL and Semantic Repositories
 
Rdf
RdfRdf
Rdf
 
2011 4IZ440 Semantic Web – RDF, SPARQL, and software APIs
2011 4IZ440 Semantic Web – RDF, SPARQL, and software APIs2011 4IZ440 Semantic Web – RDF, SPARQL, and software APIs
2011 4IZ440 Semantic Web – RDF, SPARQL, and software APIs
 
Owl web ontology language
Owl  web ontology languageOwl  web ontology language
Owl web ontology language
 
Jarrar: RDF Stores -Challenges and Solutions
Jarrar: RDF Stores -Challenges and SolutionsJarrar: RDF Stores -Challenges and Solutions
Jarrar: RDF Stores -Challenges and Solutions
 
Rdf In A Nutshell V1
Rdf In A Nutshell V1Rdf In A Nutshell V1
Rdf In A Nutshell V1
 
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."
 
Fedora Migration Considerations
Fedora Migration ConsiderationsFedora Migration Considerations
Fedora Migration Considerations
 
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
 
FedX - Optimization Techniques for Federated Query Processing on Linked Data
FedX - Optimization Techniques for Federated Query Processing on Linked DataFedX - Optimization Techniques for Federated Query Processing on Linked Data
FedX - Optimization Techniques for Federated Query Processing on Linked Data
 
Two graph data models : RDF and Property Graphs
Two graph data models : RDF and Property GraphsTwo graph data models : RDF and Property Graphs
Two graph data models : RDF and Property Graphs
 
5 rdfs
5 rdfs5 rdfs
5 rdfs
 
Linked (Open) Data
Linked (Open) DataLinked (Open) Data
Linked (Open) Data
 
4 sw architectures and sparql
4 sw architectures and sparql4 sw architectures and sparql
4 sw architectures and sparql
 

En vedette

Ist16-02 HL7 from v2 (syntax) to v3 (semantics)
Ist16-02 HL7 from v2 (syntax) to v3 (semantics)Ist16-02 HL7 from v2 (syntax) to v3 (semantics)
Ist16-02 HL7 from v2 (syntax) to v3 (semantics)Emanuele Della Valle
 
Ist16-03 An Introduction to the Semantic Web
Ist16-03 An Introduction to the Semantic Web Ist16-03 An Introduction to the Semantic Web
Ist16-03 An Introduction to the Semantic Web Emanuele Della Valle
 
IST16-01 - Introduction to Interoperability and Semantic Technologies
IST16-01 - Introduction to Interoperability and Semantic TechnologiesIST16-01 - Introduction to Interoperability and Semantic Technologies
IST16-01 - Introduction to Interoperability and Semantic TechnologiesEmanuele Della Valle
 
Investment opportunities in new catalan state update
Investment opportunities in new catalan state   updateInvestment opportunities in new catalan state   update
Investment opportunities in new catalan state updateAlbert Macià Vivó
 
UB-MBA Sistemas de información
UB-MBA Sistemas de informaciónUB-MBA Sistemas de información
UB-MBA Sistemas de informaciónmikmuri
 
1. objetivos generales de la información tca
1. objetivos generales de la información tca1. objetivos generales de la información tca
1. objetivos generales de la información tcaToni Hurtado
 
Bestresources 3 - Comunicación Interna, valor añadido dentro de la empresa (P...
Bestresources 3 - Comunicación Interna, valor añadido dentro de la empresa (P...Bestresources 3 - Comunicación Interna, valor añadido dentro de la empresa (P...
Bestresources 3 - Comunicación Interna, valor añadido dentro de la empresa (P...Ignasi del Río
 
Nordic Marketing: How to work with German Tour Operators
Nordic Marketing: How to work with German Tour OperatorsNordic Marketing: How to work with German Tour Operators
Nordic Marketing: How to work with German Tour OperatorsInnovation Norway
 
¿Cuáles fueron los factores que determinaron la caída de Japón en la batalla ...
¿Cuáles fueron los factores que determinaron la caída de Japón en la batalla ...¿Cuáles fueron los factores que determinaron la caída de Japón en la batalla ...
¿Cuáles fueron los factores que determinaron la caída de Japón en la batalla ...Oswaldo Lescano Osorio
 
Componentesdel ordenador
Componentesdel ordenadorComponentesdel ordenador
Componentesdel ordenadoridg98
 
Tecnicas de programacion Shell Para Administradores
Tecnicas de programacion Shell Para AdministradoresTecnicas de programacion Shell Para Administradores
Tecnicas de programacion Shell Para AdministradoresPedro López
 
The role of trade and investment Kwa-Zulu Natal in export development and pro...
The role of trade and investment Kwa-Zulu Natal in export development and pro...The role of trade and investment Kwa-Zulu Natal in export development and pro...
The role of trade and investment Kwa-Zulu Natal in export development and pro...Tristan Wiggill
 
Creating a World Map of Feelings
Creating a World Map of FeelingsCreating a World Map of Feelings
Creating a World Map of FeelingsFrancisco Ramos
 

En vedette (20)

Ist16-02 HL7 from v2 (syntax) to v3 (semantics)
Ist16-02 HL7 from v2 (syntax) to v3 (semantics)Ist16-02 HL7 from v2 (syntax) to v3 (semantics)
Ist16-02 HL7 from v2 (syntax) to v3 (semantics)
 
Ist16-03 An Introduction to the Semantic Web
Ist16-03 An Introduction to the Semantic Web Ist16-03 An Introduction to the Semantic Web
Ist16-03 An Introduction to the Semantic Web
 
IST16-01 - Introduction to Interoperability and Semantic Technologies
IST16-01 - Introduction to Interoperability and Semantic TechnologiesIST16-01 - Introduction to Interoperability and Semantic Technologies
IST16-01 - Introduction to Interoperability and Semantic Technologies
 
Resume
ResumeResume
Resume
 
Investment opportunities in new catalan state update
Investment opportunities in new catalan state   updateInvestment opportunities in new catalan state   update
Investment opportunities in new catalan state update
 
UB-MBA Sistemas de información
UB-MBA Sistemas de informaciónUB-MBA Sistemas de información
UB-MBA Sistemas de información
 
1. objetivos generales de la información tca
1. objetivos generales de la información tca1. objetivos generales de la información tca
1. objetivos generales de la información tca
 
Tutorial
TutorialTutorial
Tutorial
 
Talentoynegocio Nº18
Talentoynegocio Nº18Talentoynegocio Nº18
Talentoynegocio Nº18
 
Bestresources 3 - Comunicación Interna, valor añadido dentro de la empresa (P...
Bestresources 3 - Comunicación Interna, valor añadido dentro de la empresa (P...Bestresources 3 - Comunicación Interna, valor añadido dentro de la empresa (P...
Bestresources 3 - Comunicación Interna, valor añadido dentro de la empresa (P...
 
Nordic Marketing: How to work with German Tour Operators
Nordic Marketing: How to work with German Tour OperatorsNordic Marketing: How to work with German Tour Operators
Nordic Marketing: How to work with German Tour Operators
 
Ekleft_Eng_v-2-2016 (1)
Ekleft_Eng_v-2-2016 (1)Ekleft_Eng_v-2-2016 (1)
Ekleft_Eng_v-2-2016 (1)
 
¿Cuáles fueron los factores que determinaron la caída de Japón en la batalla ...
¿Cuáles fueron los factores que determinaron la caída de Japón en la batalla ...¿Cuáles fueron los factores que determinaron la caída de Japón en la batalla ...
¿Cuáles fueron los factores que determinaron la caída de Japón en la batalla ...
 
Componentesdel ordenador
Componentesdel ordenadorComponentesdel ordenador
Componentesdel ordenador
 
Reporte de lectura
Reporte de lecturaReporte de lectura
Reporte de lectura
 
Tecnicas de programacion Shell Para Administradores
Tecnicas de programacion Shell Para AdministradoresTecnicas de programacion Shell Para Administradores
Tecnicas de programacion Shell Para Administradores
 
Bio
BioBio
Bio
 
WFA Project Reconnect
WFA Project ReconnectWFA Project Reconnect
WFA Project Reconnect
 
The role of trade and investment Kwa-Zulu Natal in export development and pro...
The role of trade and investment Kwa-Zulu Natal in export development and pro...The role of trade and investment Kwa-Zulu Natal in export development and pro...
The role of trade and investment Kwa-Zulu Natal in export development and pro...
 
Creating a World Map of Feelings
Creating a World Map of FeelingsCreating a World Map of Feelings
Creating a World Map of Feelings
 

Similaire à Ist16-04 An introduction to RDF

Consuming linked data by machines
Consuming linked data by machinesConsuming linked data by machines
Consuming linked data by machinesPatrick Sinclair
 
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 WebShamod Lacoul
 
SPARQL1.1 Tutorial, given in UChile by Axel Polleres (DERI)
SPARQL1.1 Tutorial, given in UChile by Axel Polleres (DERI)SPARQL1.1 Tutorial, given in UChile by Axel Polleres (DERI)
SPARQL1.1 Tutorial, given in UChile by Axel Polleres (DERI)net2-project
 
Hack U Barcelona 2011
Hack U Barcelona 2011Hack U Barcelona 2011
Hack U Barcelona 2011Peter Mika
 
FAIR Data Prototype - Interoperability and FAIRness through a novel combinati...
FAIR Data Prototype - Interoperability and FAIRness through a novel combinati...FAIR Data Prototype - Interoperability and FAIRness through a novel combinati...
FAIR Data Prototype - Interoperability and FAIRness through a novel combinati...Mark Wilkinson
 
GDG Meets U event - Big data & Wikidata - no lies codelab
GDG Meets U event - Big data & Wikidata -  no lies codelabGDG Meets U event - Big data & Wikidata -  no lies codelab
GDG Meets U event - Big data & Wikidata - no lies codelabCAMELIA BOBAN
 
Consuming Linked Data by Machines - WWW2010
Consuming Linked Data by Machines - WWW2010Consuming Linked Data by Machines - WWW2010
Consuming Linked Data by Machines - WWW2010Juan Sequeda
 
IBC FAIR Data Prototype Implementation slideshow
IBC FAIR Data Prototype Implementation   slideshowIBC FAIR Data Prototype Implementation   slideshow
IBC FAIR Data Prototype Implementation slideshowMark Wilkinson
 
Linking Open, Big Data Using Semantic Web Technologies - An Introduction
Linking Open, Big Data Using Semantic Web Technologies - An IntroductionLinking Open, Big Data Using Semantic Web Technologies - An Introduction
Linking Open, Big Data Using Semantic Web Technologies - An IntroductionRonald Ashri
 
semantic web resource description framework
semantic web resource description frameworksemantic web resource description framework
semantic web resource description frameworkKomalFatima37
 
Ks2008 Semanticweb In Action
Ks2008 Semanticweb In ActionKs2008 Semanticweb In Action
Ks2008 Semanticweb In ActionRinke Hoekstra
 
Triplestore and SPARQL
Triplestore and SPARQLTriplestore and SPARQL
Triplestore and SPARQLLino Valdivia
 
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 webMarakana Inc.
 
Trying SPARQL Anything with MEI
Trying SPARQL Anything with MEITrying SPARQL Anything with MEI
Trying SPARQL Anything with MEIEnrico Daga
 
Re-using Media on the Web: Media fragment re-mixing and playout
Re-using Media on the Web: Media fragment re-mixing and playoutRe-using Media on the Web: Media fragment re-mixing and playout
Re-using Media on the Web: Media fragment re-mixing and playoutMediaMixerCommunity
 
Publishing Linked Data 3/5 Semtech2011
Publishing Linked Data 3/5 Semtech2011Publishing Linked Data 3/5 Semtech2011
Publishing Linked Data 3/5 Semtech2011Juan Sequeda
 
SemWeb Fundamentals - Info Linking & Layering in Practice
SemWeb Fundamentals - Info Linking & Layering in PracticeSemWeb Fundamentals - Info Linking & Layering in Practice
SemWeb Fundamentals - Info Linking & Layering in PracticeDan Brickley
 

Similaire à Ist16-04 An introduction to RDF (20)

Consuming linked data by machines
Consuming linked data by machinesConsuming linked data by machines
Consuming linked data by machines
 
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
 
SPARQL1.1 Tutorial, given in UChile by Axel Polleres (DERI)
SPARQL1.1 Tutorial, given in UChile by Axel Polleres (DERI)SPARQL1.1 Tutorial, given in UChile by Axel Polleres (DERI)
SPARQL1.1 Tutorial, given in UChile by Axel Polleres (DERI)
 
Hack U Barcelona 2011
Hack U Barcelona 2011Hack U Barcelona 2011
Hack U Barcelona 2011
 
FAIR Data Prototype - Interoperability and FAIRness through a novel combinati...
FAIR Data Prototype - Interoperability and FAIRness through a novel combinati...FAIR Data Prototype - Interoperability and FAIRness through a novel combinati...
FAIR Data Prototype - Interoperability and FAIRness through a novel combinati...
 
GDG Meets U event - Big data & Wikidata - no lies codelab
GDG Meets U event - Big data & Wikidata -  no lies codelabGDG Meets U event - Big data & Wikidata -  no lies codelab
GDG Meets U event - Big data & Wikidata - no lies codelab
 
Consuming Linked Data by Machines - WWW2010
Consuming Linked Data by Machines - WWW2010Consuming Linked Data by Machines - WWW2010
Consuming Linked Data by Machines - WWW2010
 
IBC FAIR Data Prototype Implementation slideshow
IBC FAIR Data Prototype Implementation   slideshowIBC FAIR Data Prototype Implementation   slideshow
IBC FAIR Data Prototype Implementation slideshow
 
Linking Open, Big Data Using Semantic Web Technologies - An Introduction
Linking Open, Big Data Using Semantic Web Technologies - An IntroductionLinking Open, Big Data Using Semantic Web Technologies - An Introduction
Linking Open, Big Data Using Semantic Web Technologies - An Introduction
 
semantic web resource description framework
semantic web resource description frameworksemantic web resource description framework
semantic web resource description framework
 
Ks2008 Semanticweb In Action
Ks2008 Semanticweb In ActionKs2008 Semanticweb In Action
Ks2008 Semanticweb In Action
 
Querying Linked Data
Querying Linked DataQuerying Linked Data
Querying Linked Data
 
Sparql
SparqlSparql
Sparql
 
Triplestore and SPARQL
Triplestore and SPARQLTriplestore and SPARQL
Triplestore and SPARQL
 
RDF and Java
RDF and JavaRDF and Java
RDF and Java
 
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
 
Trying SPARQL Anything with MEI
Trying SPARQL Anything with MEITrying SPARQL Anything with MEI
Trying SPARQL Anything with MEI
 
Re-using Media on the Web: Media fragment re-mixing and playout
Re-using Media on the Web: Media fragment re-mixing and playoutRe-using Media on the Web: Media fragment re-mixing and playout
Re-using Media on the Web: Media fragment re-mixing and playout
 
Publishing Linked Data 3/5 Semtech2011
Publishing Linked Data 3/5 Semtech2011Publishing Linked Data 3/5 Semtech2011
Publishing Linked Data 3/5 Semtech2011
 
SemWeb Fundamentals - Info Linking & Layering in Practice
SemWeb Fundamentals - Info Linking & Layering in PracticeSemWeb Fundamentals - Info Linking & Layering in Practice
SemWeb Fundamentals - Info Linking & Layering in Practice
 

Plus de Emanuele Della Valle

Taming velocity - a tale of four streams
Taming velocity - a tale of four streamsTaming velocity - a tale of four streams
Taming velocity - a tale of four streamsEmanuele Della Valle
 
Work in progress on Inductive Stream Reasoning
Work in progress on Inductive Stream ReasoningWork in progress on Inductive Stream Reasoning
Work in progress on Inductive Stream ReasoningEmanuele Della Valle
 
Knowledge graphs in search engines
Knowledge graphs in search enginesKnowledge graphs in search engines
Knowledge graphs in search enginesEmanuele Della Valle
 
La città dei balocchi 2017 in numeri - Fluxedo
La città dei balocchi 2017 in numeri - FluxedoLa città dei balocchi 2017 in numeri - Fluxedo
La città dei balocchi 2017 in numeri - FluxedoEmanuele Della Valle
 
Stream Reasoning: a summary of ten years of research and a vision for the nex...
Stream Reasoning: a summary of ten years of research and a vision for the nex...Stream Reasoning: a summary of ten years of research and a vision for the nex...
Stream Reasoning: a summary of ten years of research and a vision for the nex...Emanuele Della Valle
 
ACQUA: Approximate Continuous Query Answering over Streams and Dynamic Linked...
ACQUA: Approximate Continuous Query Answering over Streams and Dynamic Linked...ACQUA: Approximate Continuous Query Answering over Streams and Dynamic Linked...
ACQUA: Approximate Continuous Query Answering over Streams and Dynamic Linked...Emanuele Della Valle
 
Stream reasoning: an approach to tame the velocity and variety dimensions of ...
Stream reasoning: an approach to tame the velocity and variety dimensions of ...Stream reasoning: an approach to tame the velocity and variety dimensions of ...
Stream reasoning: an approach to tame the velocity and variety dimensions of ...Emanuele Della Valle
 
Big Data: how to use it to create value
Big Data: how to use it to create valueBig Data: how to use it to create value
Big Data: how to use it to create valueEmanuele Della Valle
 
Listening to the pulse of our cities with Stream Reasoning (and few more tech...
Listening to the pulse of our cities with Stream Reasoning (and few more tech...Listening to the pulse of our cities with Stream Reasoning (and few more tech...
Listening to the pulse of our cities with Stream Reasoning (and few more tech...Emanuele Della Valle
 
Stream reasoning: mastering the velocity and the variety dimensions of Big Da...
Stream reasoning: mastering the velocity and the variety dimensions of Big Da...Stream reasoning: mastering the velocity and the variety dimensions of Big Da...
Stream reasoning: mastering the velocity and the variety dimensions of Big Da...Emanuele Della Valle
 
Listening to the pulse of our cities fusing Social Media Streams and Call Dat...
Listening to the pulse of our cities fusing Social Media Streams and Call Dat...Listening to the pulse of our cities fusing Social Media Streams and Call Dat...
Listening to the pulse of our cities fusing Social Media Streams and Call Dat...Emanuele Della Valle
 
Social listener-brera-design-district-2015-03
Social listener-brera-design-district-2015-03Social listener-brera-design-district-2015-03
Social listener-brera-design-district-2015-03Emanuele Della Valle
 
City Data Fusion for Event Management (in Italiano)
City Data Fusion for Event Management (in Italiano)City Data Fusion for Event Management (in Italiano)
City Data Fusion for Event Management (in Italiano)Emanuele Della Valle
 
Semantic technologies and Interoperability
Semantic technologies and InteroperabilitySemantic technologies and Interoperability
Semantic technologies and InteroperabilityEmanuele Della Valle
 
Big data: why, what, paradigm shifts enabled , tools and market landscape
Big data: why, what, paradigm shifts enabled , tools and market landscapeBig data: why, what, paradigm shifts enabled , tools and market landscape
Big data: why, what, paradigm shifts enabled , tools and market landscapeEmanuele Della Valle
 
City Data Fusion and City Sensing presented at EIT ICT Labs for EXPO 2015
City Data Fusion and City Sensing presented at EIT ICT Labs for EXPO 2015City Data Fusion and City Sensing presented at EIT ICT Labs for EXPO 2015
City Data Fusion and City Sensing presented at EIT ICT Labs for EXPO 2015Emanuele Della Valle
 
On the effectiveness of a Mobile Puzzle Game UI to Crowdsource Linked Data Ma...
On the effectiveness of a Mobile Puzzle Game UI to Crowdsource Linked Data Ma...On the effectiveness of a Mobile Puzzle Game UI to Crowdsource Linked Data Ma...
On the effectiveness of a Mobile Puzzle Game UI to Crowdsource Linked Data Ma...Emanuele Della Valle
 

Plus de Emanuele Della Valle (20)

Taming velocity - a tale of four streams
Taming velocity - a tale of four streamsTaming velocity - a tale of four streams
Taming velocity - a tale of four streams
 
Stream reasoning
Stream reasoningStream reasoning
Stream reasoning
 
Work in progress on Inductive Stream Reasoning
Work in progress on Inductive Stream ReasoningWork in progress on Inductive Stream Reasoning
Work in progress on Inductive Stream Reasoning
 
Big Data and Data Science W's
Big Data and Data Science W'sBig Data and Data Science W's
Big Data and Data Science W's
 
Knowledge graphs in search engines
Knowledge graphs in search enginesKnowledge graphs in search engines
Knowledge graphs in search engines
 
La città dei balocchi 2017 in numeri - Fluxedo
La città dei balocchi 2017 in numeri - FluxedoLa città dei balocchi 2017 in numeri - Fluxedo
La città dei balocchi 2017 in numeri - Fluxedo
 
Stream Reasoning: a summary of ten years of research and a vision for the nex...
Stream Reasoning: a summary of ten years of research and a vision for the nex...Stream Reasoning: a summary of ten years of research and a vision for the nex...
Stream Reasoning: a summary of ten years of research and a vision for the nex...
 
ACQUA: Approximate Continuous Query Answering over Streams and Dynamic Linked...
ACQUA: Approximate Continuous Query Answering over Streams and Dynamic Linked...ACQUA: Approximate Continuous Query Answering over Streams and Dynamic Linked...
ACQUA: Approximate Continuous Query Answering over Streams and Dynamic Linked...
 
Stream reasoning: an approach to tame the velocity and variety dimensions of ...
Stream reasoning: an approach to tame the velocity and variety dimensions of ...Stream reasoning: an approach to tame the velocity and variety dimensions of ...
Stream reasoning: an approach to tame the velocity and variety dimensions of ...
 
Big Data: how to use it to create value
Big Data: how to use it to create valueBig Data: how to use it to create value
Big Data: how to use it to create value
 
Listening to the pulse of our cities with Stream Reasoning (and few more tech...
Listening to the pulse of our cities with Stream Reasoning (and few more tech...Listening to the pulse of our cities with Stream Reasoning (and few more tech...
Listening to the pulse of our cities with Stream Reasoning (and few more tech...
 
Stream reasoning: mastering the velocity and the variety dimensions of Big Da...
Stream reasoning: mastering the velocity and the variety dimensions of Big Da...Stream reasoning: mastering the velocity and the variety dimensions of Big Da...
Stream reasoning: mastering the velocity and the variety dimensions of Big Da...
 
On Stream Reasoning
On Stream ReasoningOn Stream Reasoning
On Stream Reasoning
 
Listening to the pulse of our cities fusing Social Media Streams and Call Dat...
Listening to the pulse of our cities fusing Social Media Streams and Call Dat...Listening to the pulse of our cities fusing Social Media Streams and Call Dat...
Listening to the pulse of our cities fusing Social Media Streams and Call Dat...
 
Social listener-brera-design-district-2015-03
Social listener-brera-design-district-2015-03Social listener-brera-design-district-2015-03
Social listener-brera-design-district-2015-03
 
City Data Fusion for Event Management (in Italiano)
City Data Fusion for Event Management (in Italiano)City Data Fusion for Event Management (in Italiano)
City Data Fusion for Event Management (in Italiano)
 
Semantic technologies and Interoperability
Semantic technologies and InteroperabilitySemantic technologies and Interoperability
Semantic technologies and Interoperability
 
Big data: why, what, paradigm shifts enabled , tools and market landscape
Big data: why, what, paradigm shifts enabled , tools and market landscapeBig data: why, what, paradigm shifts enabled , tools and market landscape
Big data: why, what, paradigm shifts enabled , tools and market landscape
 
City Data Fusion and City Sensing presented at EIT ICT Labs for EXPO 2015
City Data Fusion and City Sensing presented at EIT ICT Labs for EXPO 2015City Data Fusion and City Sensing presented at EIT ICT Labs for EXPO 2015
City Data Fusion and City Sensing presented at EIT ICT Labs for EXPO 2015
 
On the effectiveness of a Mobile Puzzle Game UI to Crowdsource Linked Data Ma...
On the effectiveness of a Mobile Puzzle Game UI to Crowdsource Linked Data Ma...On the effectiveness of a Mobile Puzzle Game UI to Crowdsource Linked Data Ma...
On the effectiveness of a Mobile Puzzle Game UI to Crowdsource Linked Data Ma...
 

Dernier

定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一Fs
 
Intellectual property rightsand its types.pptx
Intellectual property rightsand its types.pptxIntellectual property rightsand its types.pptx
Intellectual property rightsand its types.pptxBipin Adhikari
 
『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书
『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书
『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书rnrncn29
 
SCM Symposium PPT Format Customer loyalty is predi
SCM Symposium PPT Format Customer loyalty is prediSCM Symposium PPT Format Customer loyalty is predi
SCM Symposium PPT Format Customer loyalty is predieusebiomeyer
 
Call Girls Near The Suryaa Hotel New Delhi 9873777170
Call Girls Near The Suryaa Hotel New Delhi 9873777170Call Girls Near The Suryaa Hotel New Delhi 9873777170
Call Girls Near The Suryaa Hotel New Delhi 9873777170Sonam Pathan
 
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作ys8omjxb
 
定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一
定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一
定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一Fs
 
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)Christopher H Felton
 
Elevate Your Business with Our IT Expertise in New Orleans
Elevate Your Business with Our IT Expertise in New OrleansElevate Your Business with Our IT Expertise in New Orleans
Elevate Your Business with Our IT Expertise in New Orleanscorenetworkseo
 
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一z xss
 
Q4-1-Illustrating-Hypothesis-Testing.pptx
Q4-1-Illustrating-Hypothesis-Testing.pptxQ4-1-Illustrating-Hypothesis-Testing.pptx
Q4-1-Illustrating-Hypothesis-Testing.pptxeditsforyah
 
Film cover research (1).pptxsdasdasdasdasdasa
Film cover research (1).pptxsdasdasdasdasdasaFilm cover research (1).pptxsdasdasdasdasdasa
Film cover research (1).pptxsdasdasdasdasdasa494f574xmv
 
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170Sonam Pathan
 
PHP-based rendering of TYPO3 Documentation
PHP-based rendering of TYPO3 DocumentationPHP-based rendering of TYPO3 Documentation
PHP-based rendering of TYPO3 DocumentationLinaWolf1
 
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)Dana Luther
 
Top 10 Interactive Website Design Trends in 2024.pptx
Top 10 Interactive Website Design Trends in 2024.pptxTop 10 Interactive Website Design Trends in 2024.pptx
Top 10 Interactive Website Design Trends in 2024.pptxDyna Gilbert
 
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012rehmti665
 

Dernier (20)

定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
 
Intellectual property rightsand its types.pptx
Intellectual property rightsand its types.pptxIntellectual property rightsand its types.pptx
Intellectual property rightsand its types.pptx
 
『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书
『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书
『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书
 
SCM Symposium PPT Format Customer loyalty is predi
SCM Symposium PPT Format Customer loyalty is prediSCM Symposium PPT Format Customer loyalty is predi
SCM Symposium PPT Format Customer loyalty is predi
 
Hot Sexy call girls in Rk Puram 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in  Rk Puram 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in  Rk Puram 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Rk Puram 🔝 9953056974 🔝 Delhi escort Service
 
Call Girls Near The Suryaa Hotel New Delhi 9873777170
Call Girls Near The Suryaa Hotel New Delhi 9873777170Call Girls Near The Suryaa Hotel New Delhi 9873777170
Call Girls Near The Suryaa Hotel New Delhi 9873777170
 
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
 
定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一
定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一
定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一
 
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
 
Elevate Your Business with Our IT Expertise in New Orleans
Elevate Your Business with Our IT Expertise in New OrleansElevate Your Business with Our IT Expertise in New Orleans
Elevate Your Business with Our IT Expertise in New Orleans
 
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
 
Q4-1-Illustrating-Hypothesis-Testing.pptx
Q4-1-Illustrating-Hypothesis-Testing.pptxQ4-1-Illustrating-Hypothesis-Testing.pptx
Q4-1-Illustrating-Hypothesis-Testing.pptx
 
Film cover research (1).pptxsdasdasdasdasdasa
Film cover research (1).pptxsdasdasdasdasdasaFilm cover research (1).pptxsdasdasdasdasdasa
Film cover research (1).pptxsdasdasdasdasdasa
 
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
 
PHP-based rendering of TYPO3 Documentation
PHP-based rendering of TYPO3 DocumentationPHP-based rendering of TYPO3 Documentation
PHP-based rendering of TYPO3 Documentation
 
Model Call Girl in Jamuna Vihar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in  Jamuna Vihar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in  Jamuna Vihar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Jamuna Vihar Delhi reach out to us at 🔝9953056974🔝
 
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
 
young call girls in Uttam Nagar🔝 9953056974 🔝 Delhi escort Service
young call girls in Uttam Nagar🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Uttam Nagar🔝 9953056974 🔝 Delhi escort Service
young call girls in Uttam Nagar🔝 9953056974 🔝 Delhi escort Service
 
Top 10 Interactive Website Design Trends in 2024.pptx
Top 10 Interactive Website Design Trends in 2024.pptxTop 10 Interactive Website Design Trends in 2024.pptx
Top 10 Interactive Website Design Trends in 2024.pptx
 
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
 

Ist16-04 An introduction to RDF

  • 1. E. Della Valle – http://emanueledellavalle.org - @manudellavalle Interoperability and Semantic Technologies 2015-16 An Introduction RDF Emanuele Della Valle DEIB - Politecnico di Milano http://emanueledellavalle.org - @manudellavalle
  • 2. E. Della Valle – http://emanueledellavalle.org - @manudellavalle This work is licensed under the Creative Commons Attribution 3.0 Unported License. Your are free: to Share — to copy, distribute and transmit the work to Remix — to adapt the work Under the following conditions Attribution — You must attribute the work by inserting “by E. Della Valle – http://emanueledellavalle.org - @manudellavalle” at the end of each reused slide To view a copy of this license, visit http://creativecommons.org/licenses/by/3.0/ Share, Remix, Reuse — Legally 2
  • 3. E. Della Valle – http://emanueledellavalle.org - @manudellavalle Data Interchange: RDF
  • 4. E. Della Valle – http://emanueledellavalle.org - @manudellavalle RDF in a nutshell Looking for a flexible data model  Why • Application are always changing (competitive environment) • People are always adding more features • Graceful evolution is important  Optimal: relational model • Relational model is remarkably flexible • Supports graceful evolution – Change => Add another table – Existing queries are unaffected • Easily accommodates new data – Without affecting existing queries • Allows data to be easily combined ("joined") in new ways • 25+ years of relational database experience 4
  • 5. E. Della Valle – http://emanueledellavalle.org - @manudellavalle RDF in a nutshell Resource Description Framework  The adaptation of the relational model to the Web give rise to RDF  From tuples to triples  Any relational data can be represented as triples • Row Key --> Subject • Column --> Property • Value --> Value 5
  • 6. E. Della Valle – http://emanueledellavalle.org - @manudellavalle RDF in a nutshell Representing relational data in RDF (almost)  E.g., drug data  Represented in RDF (almost) ID Category Formula BB.2 Anxiolytics C16H21NO2 ID Name Lang BB.2 Propranolol en BB.2 Propranololo it BB.2 プロプラノロー ル jp BB.2 Anxiolytics C16H21NO2 Propranolol Propranololo プロプラノロー ル Category Formula Is a Drug Legend resource literal Name 6 Drug Drug Names
  • 7. E. Della Valle – http://emanueledellavalle.org - @manudellavalle RDF in a nutshell Representing relational data in RDF (almost)  Two important problems, - internal IDs (e.g., BB.2) - internal names of schema element (e.g., Category) once out of the database become meaningless  RDF solves this problem by using URI • Internal ID should be replaced by URI • Internal schema names should be replaced by URI • Values do not (always) need to be URI-fied http://bio2rdf.org/drugbank_drugs:DB00571 http://dbpedia.org/resource/Category:Anxiolytics C16H21NO 2 http://www.w3.org/2004/02/skos/core#subject http://bio2rdf.org/drugbank_ontology:chemicalFormula http://www.w3.org/2000/01/rdf-schema#label http://bio2rdf.org/page/drugbank_ontology:drugs http://www.w3.org/1999/02/22-rdf-syntax-ns#type Legend resource literal Propranolol Propranololo プロプラノロー ル 7
  • 8. E. Della Valle – http://emanueledellavalle.org - @manudellavalle  Which URI should we use? • Popular ones! Data merge will take place automatically! RDF in a nutshell Representing data in RDF Q/A 1/3 http://bio2rdf.org/drugbank_drugs:DB00571 http://dbpedia.org/resource/Category:Anxiolytics http://www.w3.org/2004/02/skos/core#subject +http://bio2rdf.org/drugbank_drugs:DB00571 http://dbpedia.org/ontology/knownFor http://bio2rdf.org/drugbank_drugs:DB00571 http://dbpedia.org/resource/Category:Anxiolytics http://www.w3.org/2004/02/skos/core#subject = http://dbpedia.org/ontology/knownFor http://dbpedia.org/resource/James_W._Black http://dbpedia.org/resource/James_W._Black 8
  • 9. E. Della Valle – http://emanueledellavalle.org - @manudellavalle  Where do I find popular URIs? • Ontology Dowsing – http://www.w3.org/wiki/Ontology_Dowsing • 1st solution: you know them ;-) – RDF vocabulary already includes: - rdf:type : the “instance of” relationship between an individual and its class - rdf:Property : the “concept” of property – RDF comes along a schema description language (RDF-S) - rdfs:Class : the “concept” of class - rdfs:subClassOf : the “is a” relationship between two classes - rdfs:label : the standard way to provide a human-readable label – … • 2nd you search for them – With specialized search engines (e.g., http://vocab.cc/ ) – In popular repositories (e.g., http://lov.okfn.org/dataset/lov/ ) – … RDF in a nutshell Representing data in RDF Q/A 2/3 9
  • 10. E. Della Valle – http://emanueledellavalle.org - @manudellavalle  What is a value? When shall we URI-fy a value? • Literals cannot be used to merge different data set • E.g., what if we what to merge two resources based on their labels? – BRCA may refer to different thing on the Web e.g., try http://en.wikipedia.org/wiki/BRCA • URI-fy any value that can be eventually used to merge different dataset and leave the other values as literals RDF in a nutshell Representing data in RDF Q/A 3/3 BRCA http://www.w3.org/2000/01/rdf-schema#label BRCA http://www.w3.org/2000/01/rdf-schema#label + = ? 10
  • 11. E. Della Valle – http://emanueledellavalle.org - @manudellavalle RDF in a nutshell Other data structure in RDF  Trees can be represented in RDF  Anything can be represented in RDF 11
  • 12. E. Della Valle – http://emanueledellavalle.org - @manudellavalle RDF in a nutshell Multi Source Data Integration with RDF Gene Ontology rdf:type iRef Index uniprot:P05067 Uniprot:P05067 Interacts with uniprot:P05067 Go:Membrane locatedIn uniprot:Proteinrdf:type Uniprot:P05067 Interacts with Go:Membrane locatedIn uniprot:P05067 uniprot:P05067 uniprot:Protein RDF
  • 13. E. Della Valle – http://emanueledellavalle.org - @manudellavalle RDF in a nutshell Serializing RDF  Three alternatives to write triples, in 1. RDF/XML: Standard serialization in XML <Description about=”subject”> <property>value</property> </Description> – e.g., http://dbpedia.org/data/Propranolol.rdf – Check-out the triples using http://www.w3.org/RDF/Validator/ 2. NTriples: Simple (verbose) reference serialization (for specifications only) <http://...subject> <http://...predicate> “value” . – http://www.w3.org/RDF/Validator/ARPServlet?URI=http%3A%2F %2Fdbpedia.org%2Fresource%2FPropranolol&PARSE=Parse+URI %3A+&TRIPLES_AND_GRAPH=PRINT_TRIPLES&FORMAT=PNG_EMBED • N3 and Turtle: Developer-friendly serializations :subject :property “value” . – e.g. http://dbpedia.org/data/Propranolol.n3 13
  • 14. E. Della Valle – http://emanueledellavalle.org - @manudellavalle RDF in a nutshell Serializing RDF in Turtle - namespaces  URI terms can be abbreviated using namespaces @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @prefix dbpedia: <http://dbpedia.org/resource/> . @prefix dbpedia-owl: <http://dbpedia.org/ontology/> . dbpedia:Propranolol rdf:type dbpedia-owl:Drug .  <http://www.w3.org/1999/ 02/22-rdf-syntax-ns#type> = 'a' dbpedia:Propranolol a dbpedia-owl:Drug . 14
  • 15. E. Della Valle – http://emanueledellavalle.org - @manudellavalle RDF in a nutshell Serializing RDF in Turtle - Literals  Literals: "Propranolol" • Literals with language tags: " プロプラノロール "@jp @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . dbpedia:Propranolol rdfs:label "Propranolol"@en . dbpedia:Propranolol rdfs:label "Propranololo"@it . dbpedia:Propranolol rdfs:label " プロプラノロール "@jp . • Typed literals: "3.14"^^xsd:float dbpedia:Propranolol dbpprop:molecularWeight "259.34"^^xsd:float . 15
  • 16. E. Della Valle – http://emanueledellavalle.org - @manudellavalle RDF in a nutshell Serializing RDF in Turtle - Convenience Syntax  Abbreviating repeated subjects: dbpedia:Propranolol rdfs:label "Propranololo"@it . dbpedia:Propranolol dbpprop:molecularWeight "259.34"^^xsd:float . ... is the same as ... dbpedia:Propranolol rdfs:label "Propranololo"@it ; dbpprop:molecularWeight "259.34"^^xsd:float .  Abbreviating repeated subject/predicate pairs: dbpedia:Propranolol rdfs:label "Propranolol"@en . dbpedia:Propranolol rdfs:label "Propranololo"@it . dbpedia:Propranolol rdfs:label " プロプラノロール "@cn . ... is the same as ... dbpedia:Propranolol rdfs:label "Propranolol"@en , "Propranololo"@it , " プロプラノロール "@cn . 16
  • 17. E. Della Valle – http://emanueledellavalle.org - @manudellavalle RDF in a nutshell Are you following? Let's check! [source http://origin-www.yoursingapore.com/content/traveller/zh/browse/see-and-do/hands-on/_jcr_content/flash/image.img.png ]
  • 18. E. Della Valle – http://emanueledellavalle.org - @manudellavalle RDF in a nutshell Are you following? Let's check!  Represent in the graphical syntax presented at slide 6 the following database  Is this only a pedantic application of slide 6?  Serialize it in turtle syntax • using rdf:type to say "is a" and rdfs:label to say "name" • Using "@prefix : <http://www.ex.org/>" for all other terms, e.g., :Doctor, :treats, etc.  Shorted down the serialization using the convenience syntax  Check correctness at http://www.easyrdf.org/converter  Results are published on the course Web site DID Name D1  Alice D2 Bob Doctor treats PID Name P1 Carl P2 David Patient DID PID D1  P2 D1 P1 D2 P1
  • 19. E. Della Valle – http://emanueledellavalle.org - @manudellavalle  What if I cannot thing about a good URI? • When no go URI exists, you can use blank nodes ( ) • The following relational data … • … can be translated in RDF, in the BIO vocabulary [1], as follows RDF in a nutshell Representing data in RDF Q/A 4/4 Person Bio Event Date Sofia Birth 1974-02-28 Sofia Marriage 1995-08-04 1974-02-28 http://www.sofia.org/#m e http://purl.org/vocab/bio/0.1/Birth http://purl.org/vocab/bio/0.1/Marriage 1995-08-04 http://purl.org/vocab/bio/0.1/event http://purl.org/vocab/bio/0.1/event http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://purl.org/vocab/bio/0.1/date http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://purl.org/vocab/bio/0.1/date 19
  • 20. E. Della Valle – http://emanueledellavalle.org - @manudellavalle RDF in a nutshell Serializing RDF in Turtle – black nodes  The following RDF model (see previous slide), including two blank nodes, can be serialized as shown hereafter @prefix bio: <http://purl.org/vocab/bio/0.1/> . http://www.sofia.org/#me bio:event _:1, _:2 . _:1 a bio:Birth; bio:date "1974-02-28"^^xsd:date . _:2 a bio:Mariage; bio:date "1995-08-04"^^xsd:date . 1974-02-28 http://www.sofia.org/#m e http://purl.org/vocab/bio/0.1/Birth http://purl.org/vocab/bio/0.1/Marriage 1995-08-04 http://purl.org/vocab/bio/0.1/event http://purl.org/vocab/bio/0.1/event http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://purl.org/vocab/bio/0.1/date http://purl.org/vocab/bio/0.1/event http://purl.org/vocab/bio/0.1/date Blank node identifiers 20
  • 21. E. Della Valle – http://emanueledellavalle.org - @manudellavalle RDF in a nutshell Serializing RDF in Turtle – black nodes  The following RDF model (see previous slide), including two blank nodes, can be serialized as shown hereafter @prefix bio: <http://purl.org/vocab/bio/0.1/> . http://www.sofia.org/#me bio:event [ a bio:Birth; bio:date "1974-02-28"^^xsd:date ] , [ a bio:Mariage; bio:date "1995-08-04"^^xsd:date ]. 1974-02-28 http://www.sofia.org/#m e http://purl.org/vocab/bio/0.1/Birth http://purl.org/vocab/bio/0.1/Marriage 1995-08-04 http://purl.org/vocab/bio/0.1/event http://purl.org/vocab/bio/0.1/event http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://purl.org/vocab/bio/0.1/date http://purl.org/vocab/bio/0.1/event http://purl.org/vocab/bio/0.1/date Blank node Convenience syntax 21
  • 22. E. Della Valle – http://emanueledellavalle.org - @manudellavalle RDF in a nutshell XML vs. RDF w.r.t. Evolving Data  Scenario: Describe printer capabilities  V1 has several features XML RDF 22
  • 23. E. Della Valle – http://emanueledellavalle.org - @manudellavalle RDF in a nutshell XML vs. RDF w.r.t. Evolving Data  V1.1 adds two features • What effect on existing client software? – Regenerate stubs? – Recompile? – Did any queries break? – (Depends how they're written. Best programmers?) XML RDF 23
  • 24. E. Della Valle – http://emanueledellavalle.org - @manudellavalle RDF in a nutshell XML vs. RDF w.r.t. Evolving Data  V1.2 adds three more features • What effect on existing client software? XML RDF 24
  • 25. E. Della Valle – http://emanueledellavalle.org - @manudellavalle RDF in a nutshell XML vs. RDF w.r.t. Evolving Data  V2 adds colors • What effect on existing client software? XML RDF 25
  • 26. E. Della Valle – http://emanueledellavalle.org - @manudellavalle RDF in a nutshell XML vs. RDF w.r.t. Evolving Data  Version n combines printer, scanner, fax:  Problem: How to combine trees? • Printer and fax both have output paper settings (red) • Scanner and fax both have input image settings (blue) 26
  • 27. E. Della Valle – http://emanueledellavalle.org - @manudellavalle RDF in a nutshell XML vs. RDF w.r.t. Evolving Data  Flexibility is important • Products are always changing (competitive environment) • People are always adding more features • Graceful evolution is important • Relational data is remarkably flexible  XML syntax is important • Lots of application, which use XML, are already available • Lots of tools for XML are already available • Trees alows for simple parsing without loading the entire model (i.e., XML parsing using SAX) 27
  • 28. E. Della Valle – http://emanueledellavalle.org - @manudellavalle RDF in a nutshell Serializing RDF in XML - basics  W3C standardized an RDF/XML syntax [1]  The basic idea is to insert an XML element for each node (sobject and value) and arc (predicate)  Es. <rdf:RDF xmlns:rdf=”http://www.w3.org/1999/02/22-rdf-syntax-ns#” xmlns:ex=”http://www.example.org/” xmlns:sid=“URN:org:example:staffid:” xmlns:dc=”http://purl.org/dc/elements/1.1/”> <rdf:Description rdf:about="http://www.example.org/index.html ">  <dc:creator> <rdf:Description rdf:about="URN:org:example:staffid:85740"/> </dc:creator > </rdf:Description> </rdf:RDF> [1] RDF/XML Syntax Specification available at http://www.w3.org/TR/rdf-syntax-grammar/ ex:index.html sid:85740 dc:creator property element Root tag 28
  • 29. E. Della Valle – http://emanueledellavalle.org - @manudellavalle RDF in a nutshell Serializing RDF in XML - abbreviation  A possible abbreviation is using rdf:resource in the property elements  Es. <rdf:RDF xmlns:rdf=”http://www.w3.org/1999/02/22-rdf-syntax-ns#” xmlns:ex=”http://www.example.org/” xmlns:sid=“URN:org:example:staffid:” xmlns:dc=”http://purl.org/dc/elements/1.1/”> <rdf:Description rdf:about="http://www.example.org/index.html ">  <dc:creator rdf:resource="URN:org:example:staffid:85740"/> </rdf:Description> </rdf:RDF> 29
  • 30. E. Della Valle – http://emanueledellavalle.org - @manudellavalle RDF in a nutshell Serializing RDF in XML – more statements  Other statements • Es.  can be added • afterwords <rdf:Description rdf:about="http://www.example.org/index.html">  <dc:creator rdf:resource="URN:org:example:staffid:85740"/> </rdf:Description> <rdf:Description rdf:about="URN:org:example:staffid:85740"> <foaf:email rdf:resource="mailto:mrossi@example.org"/> </rdf:Description> • or inline if they share the same subject <rdf:Description rdf:about="http://www.example.org/index.html "> <dc:creator> <rdf:Description rdf:about="URN:org:example:staffid:85740"> <foaf:email rdf:resource="mailto:mrossi@example.org"/> </rdf:Description> </dc:creator > </rdf:Description> ex:index.html sid:85740 dc:creator mailto:mrossi@example.org foaf:email 30
  • 31. E. Della Valle – http://emanueledellavalle.org - @manudellavalle RDF in a nutshell Serializing RDF in XML – rdf:type abbreviation  It’s possible to abbreviate rdf:type • Es. • Long form <rdf:Description rdf:about="http://www.example.org/index.html"> <rdf:type rdf:resource="http://www.example.org/pagina_web"> </rdf:Description> • Abbreviated form <ex:pagina_web rdf:about="http://www.example.org/index.html" /> ex:index.html ex:pagina_web rdf:type 31
  • 32. E. Della Valle – http://emanueledellavalle.org - @manudellavalle RDF in a nutshell Serializing RDF in XML – a larger example  A compact XML serialization of  is <ex:pagina_web rdf:about="http://www.example.org/index.html"> <dc:creator> <ex:employee rdf:about="sid:55740" foaf:email="mailto:mrossi@example.org"/> <dc:creator> </ex:pagina_web> ex:index.html sid:85740 dc:creator mailto:mrossi@example.org foaf:email ex:pagina_web ex:impiegato rdf:type rdf:type 32
  • 33. E. Della Valle – http://emanueledellavalle.org - @manudellavalle RDF in a nutshell Merging XML files 1/2  Suppose you have to merge the two following XML  Merging the XML trees is difficult, but being RDF … <Park rdf:about="Yosemite"> <conteins> <Camp rdf:about="North-Pines"/> </conteins> <crossedBy> <Path rdf:about="S11"/> </crossedBy> </Park> <Camp rdf:about="North-Pines" locatedIn="Yosemite"> <accessibleBy> <Path rdf:about="S11"/> </accessibleBy> </Camp> Yosemite North-Pines Park rdf:type rdf:type conteins Camp S11 rdf:type Path crossedBy Yosemite North-Pines rdf:type Camp S11 rdf:type Path accessibleBy locatedIn 33
  • 34. E. Della Valle – http://emanueledellavalle.org - @manudellavalle RDF in a nutshell Merging XML files 2/2  It’s (just) a matter to merge the two RDF graphs  NOTE: It works out nicely because both RDF/XML documents refer to the same resources and use the same vocabularies. U Yosemite North-Pines Park rdf:type rdf:type conteins Camp S11 Path accessibleBy crossedBy locatedIn rdf:type Yosemite North-Pines Park rdf:type rdf:type conteins Camp S11 rdf:type Path crossedBy Yosemite North-Pines rdf:type Camp S11 rdf:type Path accessibleBy locatedIn 34
  • 35. E. Della Valle – http://emanueledellavalle.org - @manudellavalle RDF in a nutshell RDFa  Resource Description Framework in Attributes (RDFa) • First proposed in 2004 • W3C recommendation since October 14, 2008: http://www.w3.org/TR/rdfa-syntax/  The essence • it provides a set of markup attributes to augment the visual information on the Web with machine-readable hints 35
  • 36. E. Della Valle – http://emanueledellavalle.org - @manudellavalle RDF in a nutshell RDFa – An example  Consider the HTML snippet hereafter • <p>The microformats.org site was launched on 2005-06-20 at the Supernova Conference in San Francisco, CA, USA.</p>  Let’s annotate it using hCalendar • <p> <span vocab="http://schema.org/" typeof="Event"> <span property="name"> The microformats.org site was launched </span> on <span property="startDate”> 2005-06-20</span> at the Supernova Conference in <span property="location" typeof=”City"> San Francisco, CA, USA </span> . </span> </p> 36
  • 37. E. Della Valle – http://emanueledellavalle.org - @manudellavalle RDF in a nutshell RDFa – the attributes  about – a URI specifying the resource the metadata is about  rel and rev – specifying a relationship and reverse- relationship with another resource, respectively  src, href and resource – specifying the partner resource  property – specifying a property for the content of an element or the partner resource  content – optional attribute that overrides the content of the element when using the property attribute  datatype – optional attribute that specifies the datatype of text specified for use with the property attribute  typeof – optional attribute that specifies the RDF type(s) of the subject or the partner resource 37
  • 38. E. Della Valle – http://emanueledellavalle.org - @manudellavalle RDF in a nutshell RDFa – resources  For more information • http://www.slideshare.net/ivan_herman/introduction-to-rdfa/  Validation tool • http://validator.w3.org/nu/ 38
  • 39. E. Della Valle – http://emanueledellavalle.org - @manudellavalle Publishing RDF as Linked Data Principles 1. Things must be identified with dereferenceable HTTP URIs. 2. If such a URI is dereferenced asking for the MIME-type application/rdf+xml, a data source must return an RDF/XML description of the identified resource. 1. Besides RDF links to resources within the same data source, RDF descriptions should also contain RDF links to resources provided by other data sources 39
  • 40. E. Della Valle – http://emanueledellavalle.org - @manudellavalle Publishing RDF as Linked Data Example based on dbpedia  Approach  E.g. • Resource identifier – http://dbpedia.org/resource/Propranolol • RDF representation describing Propranolol – http://dbpedia.org/data/Propranolol • HTML representation describing Propranolol – http://dbpedia.org/page/Propranolol  Test it! http://idi.fundacionctic.org/vapour 40
  • 41. E. Della Valle – http://emanueledellavalle.org - @manudellavalle RDF in a nutshell RDF Resources  RDF at the W3C - primer and specifications • http://www.w3.org/RDF/  Semantic Web tools - community maintained list; includes triple store, programming environments, tool sets, and more • http://esw.w3.org/topic/SemanticWebTools  302 Semantic Web Videos and Podcasts - includes a section specifically on RDF videos • http://www.semanticfocus.com/blog/entry/title/302- semantic-web-videos-and-podcasts/ 41
  • 42. E. Della Valle – http://emanueledellavalle.org - @manudellavalle credits  Some slides are derived from • “How to Publish Linked Data on the Web” by Chris Bizer, Richard Cyganiak and Tom Heath http://sites.wiwiss.fu- berlin.de/suhl/bizer/pub/LinkedDataTutorial/ • “Bio2RDF and Beyond!” by Michel Dumontier http://www.slideshare.net/micheldumontier/bio2rdf-and- beyond 42