SlideShare a Scribd company logo
1 of 63
Introduction toSemantic Web Jose Emilio Labra Gayo University of Oviedo, Spain http://www.di.uniovi.es/~labra
The current Web Current Web = the biggest repository of information ever compiled by Humanity Designed for direct human consumption Lots of information available in: Natural Language in HTML English, Spanish, Chinese, Italian, etc. More and More multimedia Images, audio, video, etc. Too much data, not enough knowledge
Example of Web Page What we see through a browser
Source code of a web page What a machine  can see
Another web page What we see through a browser
Source code What a machine  can see
Difficult queries Different languages Multimedia Combine different travel data Example: Travel from Oviedo to Rome Complex questions Example: Asturian people who play soccer
The Syntactic Web Pages and links http://www.euitio.uniovi.es School of Computer Science Engineering General Information News … http://www.uniovi.es University of Oviedo List of Schools ,[object Object]
Faculty of Chemistry
 …href http://chemistry.uniovi.es Faculty of Chemistry Location Staff … href Location… … … href Unit of information = HTML Page  Links are syntactic = href Staff … … href
The Semantic Web Data and semantic links School of Computer Engineering http://euitio.uniovi.es r:name 23 r:contains r:author r:age http://uniovi.es Mary Jordan r:name r:name r:contains University of Oviedo http://chemistry.uniovi.es Faculty of Chemistry r:name Unit of information = Data Links are semantic = Properties identified by URI
The semantic web The Semantic Web = Web of Data A vision of the web where data is published and can be linked with other data Goals: Reuse data Automate tasks Tim Berners Lee, inventor of the WWW
Features of the Web  Non-centralized The information may not be consistent Dynamic information Data may change (or servers can fail) Lots of information The system cannot try to capture all the data Open system More information can appear in the future
Towards the Semantic Web Trust Digital Signature Proof Unifying Logic Query: SPARQL Ontologies OWL Rules RIF RDF Schema RDF XML URI Unicode Semantic web layer cake, by Tim Berners Lee
RDF Resource Description Framework (1998) Description of resources Resources = entities identified by URI Binary Relationships between resources 	Property = global name of the relationship (URI) Subject  Predicate  Object
RDF Triples Subject A resource identified by URI Can also be a blank node (bNode) Predicate Global Property identified by URI Object Value of property Can be URI, Literal or bNode
RDF Graph Model Can be represented in N-Triples @prefix r: <http://example.org#> . <http://euitio.uniovi.es>  	r:hasPicture     <http://pictures.org/p1.jpg>. <http://euitio.uniovi.es>  	r:name 	"School of Computer Engineering". <http://pictures.org/p1.jpg> 	r:subject           r:Building . r:Building r:hasPicture http://pictures.org/p1.jpg r:subject http://euitio.uniovi.es School of Computer Engineering r:name  URIs are usually abbreviated using namespace declarations
RDF is Compositional graph3.rdf graph2.rdf r:subject r:Building http://euitio.uniovi.es r:contains http://pictures.org/p2.jpg University of Oviedo r:hasPicture http://uniovi.es r:name http://chemistry.uniovi.es r:contains r:name http://chemistry.uniovi.es Faculty of Chemistry RDF graphs can be composed graph1.rdf r:Building r:hasPicture http://pictures.org/p1.jpg r:subject http://euitio.uniovi.es School of Computer Engineering r:name
RDF is Compositional RDF graphs can be composed graph1.rdf + graph2.rdf+ graph3.rdf r:hasPicture http://pictures.org/p1.jpg r:subject School of Computer Engineering r:Building http://euitio.uniovi.es r:name r:subject r:contains http://pictures.org/p2.jpg University of Oviedo r:hasPicture http://uniovi.es r:name http://chemistry.uniovi.es r:contains r:name Faculty of Chemistry
Blank Nodes in RDF Blank nodes  are represented as _:number in N-Triples <http://euitio.uniovi.es>  	r:author            _:1 . <http://euitio.uniovi.es>  	r:author 	_:2 . _:1                                   	r:name	“John Smith” . _:2                                   	r:age		“23”^^xsd:positiveInteger . _:2                                   	r:name	“Mary Jordan” . Blank nodes are used to identify things that have no URI Example: The author of a web page is a person, not a URI r:name John Smith r:author r:age http://euitio.uniovi.es 23 r:author Mary Jordan r:name
Tables in RDF RDF can model relational databases r:firstName John r:lastName _:1 Smith r:nodes r:age _:0 25 r:next r:firstName Mary _:2 r:lastName Jordan r:age 23
RDF serialization formats There are several formats to represent RDF data: N3 RDF/XML N-Triples Turtle etc.
RDF Data Lots of information is currently published in RDF Some examples:  DBPedia offers RDF triples of more than 80,000 persons, 293,000 places, 62,000 music albums, 36,000 films, etc.
From Wikipedia to DBPedia Infoset
From Wikipedia to DBPedia
Benefits of RDF RDF enables better integration of data Transform the Web from fileserver to database Linking open data Expose open datasets in RDF Set links among the data of those datasets Set up query endpoints Altogether billions of triples, millions of links
Benefits of RDF Linking open data existing datasets
RDF Schema Extends RDF with a Schema vocabulary Class, Property, Resource,… type, subClassOf, subPropertyOf,… range, domain,… RDF Schema enables simple inferences
RDF Schema Example r:Person r:Teacher rdfs:subClassOf rdfs:range r:Teacher r:hasTeacher Meaning: if           x   rdf:type   r:Teacher then      x   rdf:type   r:Person Meaning: if           X   r:hasTeacher   Y  then      Y   rdf:type   r:Teacher
RDFS Inference  rdfs:subClassOf r:Person r:Teacher rdf:type rdf:type http://euitio.uniovi.es r:hasTeacher r:name Jose
SPARQL Simple Protocol and RDF Query Language Query languagefor the semantic web Graph matching language Extracts information from RDF models A protocol Defines a way of invoking a service WSDL description file HTTP and SOAP bindings It also defines an XML vocabulary for results
SPARQL Example prefix r: <http://example.org#>  select ?n where   { ?p r:subject r:Building.     ?x r:hasPicture ?p .    ?x r:name ?n .   } “Find names of resources who have a picture whose subject is Building”
SPARQL example r:subject r:Building r:hasPicture ?p ?x r:name ?n ?p ?n ?x ?p Results School of Computer Engineering ?x ?n r:subject http://pictures.org/p1 r:Building r:hasPicture School of Computer Engineering r:subject r:name http://euitio.uniovi.es http://pictures.org/p2. r:contains University of Oviedo http://uniovi.es r:name r:hasPicture http://chemistry.uniovi.es r:contains r:name Faculty of Chemistry Faculty of Chemistry select ?n where   { ?p r:subject r:Building.     ?x r:hasPicture ?p .    ?x r:name ?n .   }
SPARQL & Inference The RDF Graph may be obtained by inference rdf:type Results Mary Jordan select ?n where   { ?x rdf:type r:Person.     ?x r:name ?n .   } r:Teacher rdf:type rdfs:subClassOf r:name r:Person Mary Jordan
SPARQL More features Limitthe number of returned results; remove duplicates, sort them, … Optional subpatterns (match if possible…) Specify several data sources within the query  Construct a graph combining a separate pattern and the query results, or simply askwhether a pattern matches  Use datatypes and/or language tags when matching a pattern
Obtaining RDF SPARQL Endpoints offer an integration mechanism Big RDF datasets accesible to applications Example: DBPedia Nowadays Data is mostly in Databases It is not feasible to convert all databases to RDF More practical to convert on the fly Several systems: Oracle 11g, Sesame, …
RDF and HTML Problems to embed RDF/XML in (x)HTML It can be linked from an HTML page There are some “scrappers” to extract the structure of web pages and dynamically generate RDF Can be a solution for legacy web content Not very elegant 2 proposals for a more systematic way: GRDDL RDFa
GRDDL dc:author Mary Jordan http://www.uniovi.es 2008-01-02 dc:date page.html <html xmlns="http://www.w3.org/1999/">   <head profile="http://www.w3.org/2003/g/data-view">     <title>University of Oviedo</title>     <link rel="transformation" href="http:…/dc-extract.xsl"/>     <meta name="DC.author" content=“Mary Jordan"/>           ...   </head>   ...   <span class="date">2008-01-02</span>   ... </html> http:…/dc-extract.xsl
RDFa RDFa defines attributes to add meta-data to HTML elements Similar to microformats cal:Event rdf:type cal:location meetingBcn Barcelona cal:dtstart 20070508T1000+0200 <html     xmlns:cal="http://www.w3.org/2002/12/cal/ical#"> … <body>  <p class="cal:Event" about="#meetingBcn">       I will attend a meeting in      <span property="cal:location">Barcelona</span>,          on        <span property="cal:dtstart"                   content="20070508T1000+0200">           May 8th at 10am       </span> </p>  ...      </body>  </html>
Ontologies RDFS does not solve all requirements Applications need more expressivity and reasoning In RDFS, it is not possible to create new subclasses OWL (Web Ontology Language) offers a common language to define ontologies
What is an Ontology? A model of (some aspect of) the world
What is an Ontology? A model of (some aspect of) the world Introduces vocabularyrelevant to domain, e.g.: Anatomy
What is an Ontology? A model of (some aspect of) the world Introduces vocabularyrelevant to domain, e.g.: Anatomy Cellular biology
What is an Ontology? A model of (some aspect of) the world Introduces vocabularyrelevant to domain, e.g.: Anatomy Cellular biology Aerospace
What is an Ontology? A model of (some aspect of) the world Introduces vocabularyrelevant to domain, e.g.: Anatomy Cellular biology Aerospace Dogs
What is an Ontology? A model of (some aspect of) the world Introduces vocabularyrelevant to domain, e.g.: Anatomy Cellular biology Aerospace Dogs Hotdogs …
What is an Ontology? A model of (some aspect of) the world Introduces vocabularyrelevant to domain Specifies meaning of terms Heartis amuscular organ thatis part of the circulatory system
What is an Ontology? A model of (some aspect of) the world Introduces vocabularyrelevant to domain Specifies meaning of terms Heartis amuscular organ thatis part of the circulatory system Formalised using suitable logic
OWL OWL enables the description of new classes By enumeration Through intersection, union, complement Through property restrictions It is based on Description Logics Well defined semantics A subset of Predicate Logic  Limited use of variables  Binary predicates = Properties Unary predicates = Classes
OWL: Classes by enumeration Example: “The European Union is formed by Italy, France, Germany, etc.” EUCountry = { Italy, France, Germany, … } #Italy #France #EUCountry oneOf #Germany …
OWL: Set theoretic definitions Example: A person is a man or a woman Person = Man  Woman #Man #Person unionOf #Woman It also has IntersectionOf and complementOf
OWL: Property restrictions It is possible to define new classes by restricting the property values of some class Reasoner acts as a classifier
OWL: Property restrictions Value constraints some ()  value must be from a class all ()  values must be from a class Example: “An european is a person who has nationality from a European Union country” European  Person   hasNationality EUCountry hasNationality(#Sergio, #Italy) Person(#Sergio) inference European(#Sergio) x (European(x)   Person(x)  y (hasNationality(x,y)  EUCountry(y))
OWL: Property restrictions Cardinality constraints (ie, how many times the property is used on an instance?) exact cardinality minimum cardinality maximum cardinality Person  hasFather = 1 x (Person(x)  y (hasFather(x,y) z (hasFather(x,z)  z = y)))
OWL: Property characterizations It is possible to characterize the behaviour of properties:  Symmetric, transitive, functional, inverse functional, … transitive(isPartOf) inference isPartOf(#Rome,#Europe) isPartOf(#Rome, #Italy) isPartOf(#Italy, #Europe)
OWL: Datatype properties Properties whose range are typed literals Example: age datatypeProperty(#age) range(#age, xsd:positiveInteger) CanVote  Person  age > “18”  inference CanVote(#Sergio) Person(#Sergio) age(#Sergio, 20)
OWL and Unique Name Assumption Web = Open System 2 different URIs could identify the same object OWL does not support Unique Name Assumption There is no error in the model It infers that #williamand#Billare the same Person  hasFather = 1 hasFather(#Peter, #William) hasFather(#Peter, #Bill) Person(#Peter)
OWL: Open World Assumption Traditional systems used Closed World Assumption  OWL uses the Open World Assumption Singleton    isMarriedWith Person Married         isMarriedWith Person Person(#Peter) Person(#Mary) Person(#James) isMarriedWith(#Mary,#Peter) Married(#James) It infers: Married(#Mary) It does not infer:  Married(#Peter)     Singleton(#Peter) It also infers that James  …is married with someone…  but it does not know with whom
Conclusions Semantic Web technologies = ready for deployment It is easy to publish something in RDF There are already huge amounts of data in RDF Linking to existing ontologies is already possible Social barriers have to be overcome “Open door” policy Use standards Connect to others so others can connect to you A little semantics can have a lot of impact
The End Questions? More information:  http://www.di.uniovi.es/~labra
About Oviedo
About Oviedo 220,000 habitants Capital of the Principality of Asturias
About the University of Oviedo Established in 1608   (400 years) Approx. 25000 students 31 faculties and schools 79 bachelorprogrammes 35 doctoral programmes 26 masterprogrammes

More Related Content

What's hot

Semantic Technologies: Representing Semantic Data
Semantic Technologies: Representing Semantic DataSemantic Technologies: Representing Semantic Data
Semantic Technologies: Representing Semantic DataMatthew Rowe
 
Linked Open Data for Libraries
Linked Open Data for LibrariesLinked Open Data for Libraries
Linked Open Data for LibrariesLukas Koster
 
Semantic Web
Semantic WebSemantic Web
Semantic Webhardchiu
 
Publishing data on the Semantic Web
Publishing data on the Semantic WebPublishing data on the Semantic Web
Publishing data on the Semantic WebPeter Mika
 
Year of the Monkey: Lessons from the first year of SearchMonkey
Year of the Monkey: Lessons from the first year of SearchMonkeyYear of the Monkey: Lessons from the first year of SearchMonkey
Year of the Monkey: Lessons from the first year of SearchMonkeyPeter Mika
 
Semantic Search Summer School2009
Semantic Search Summer School2009Semantic Search Summer School2009
Semantic Search Summer School2009Peter Mika
 
Web Data Management with RDF
Web Data Management with RDFWeb Data Management with RDF
Web Data Management with RDFM. Tamer Özsu
 
Introduction To RDF and RDFS
Introduction To RDF and RDFSIntroduction To RDF and RDFS
Introduction To RDF and RDFSNilesh Wagmare
 
Connections that work: Linked Open Data demystified
Connections that work: Linked Open Data demystifiedConnections that work: Linked Open Data demystified
Connections that work: Linked Open Data demystifiedJakob .
 
RDF, SPARQL and Semantic Repositories
RDF, SPARQL and Semantic RepositoriesRDF, SPARQL and Semantic Repositories
RDF, SPARQL and Semantic RepositoriesMarin Dimitrov
 
Jarrar: SPARQL - RDF Query Language
Jarrar: SPARQL - RDF Query LanguageJarrar: SPARQL - RDF Query Language
Jarrar: SPARQL - RDF Query LanguageMustafa Jarrar
 
Semantic Web Austin Yahoo
Semantic Web Austin YahooSemantic Web Austin Yahoo
Semantic Web Austin YahooPeter Mika
 
Debunking some “RDF vs. Property Graph” Alternative Facts
Debunking some “RDF vs. Property Graph” Alternative FactsDebunking some “RDF vs. Property Graph” Alternative Facts
Debunking some “RDF vs. Property Graph” Alternative FactsNeo4j
 
Datalift a-catalyser-for-the-web-of-data-fosdem-05-02-2011
Datalift a-catalyser-for-the-web-of-data-fosdem-05-02-2011Datalift a-catalyser-for-the-web-of-data-fosdem-05-02-2011
Datalift a-catalyser-for-the-web-of-data-fosdem-05-02-2011François Scharffe
 
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 DataGabriela Agustini
 

What's hot (19)

SWT Lecture Session 11 - R2RML part 2
SWT Lecture Session 11 - R2RML part 2SWT Lecture Session 11 - R2RML part 2
SWT Lecture Session 11 - R2RML part 2
 
Semantic Technologies: Representing Semantic Data
Semantic Technologies: Representing Semantic DataSemantic Technologies: Representing Semantic Data
Semantic Technologies: Representing Semantic Data
 
Linked Open Data for Libraries
Linked Open Data for LibrariesLinked Open Data for Libraries
Linked Open Data for Libraries
 
Semantic Web
Semantic WebSemantic Web
Semantic Web
 
Linked Open Data
Linked Open DataLinked Open Data
Linked Open Data
 
Publishing data on the Semantic Web
Publishing data on the Semantic WebPublishing data on the Semantic Web
Publishing data on the Semantic Web
 
Year of the Monkey: Lessons from the first year of SearchMonkey
Year of the Monkey: Lessons from the first year of SearchMonkeyYear of the Monkey: Lessons from the first year of SearchMonkey
Year of the Monkey: Lessons from the first year of SearchMonkey
 
Semantic Search Summer School2009
Semantic Search Summer School2009Semantic Search Summer School2009
Semantic Search Summer School2009
 
Web Data Management with RDF
Web Data Management with RDFWeb Data Management with RDF
Web Data Management with RDF
 
Introduction To RDF and RDFS
Introduction To RDF and RDFSIntroduction To RDF and RDFS
Introduction To RDF and RDFS
 
Connections that work: Linked Open Data demystified
Connections that work: Linked Open Data demystifiedConnections that work: Linked Open Data demystified
Connections that work: Linked Open Data demystified
 
20110728 datalift-rpi-troy
20110728 datalift-rpi-troy20110728 datalift-rpi-troy
20110728 datalift-rpi-troy
 
RDF, SPARQL and Semantic Repositories
RDF, SPARQL and Semantic RepositoriesRDF, SPARQL and Semantic Repositories
RDF, SPARQL and Semantic Repositories
 
Jarrar: SPARQL - RDF Query Language
Jarrar: SPARQL - RDF Query LanguageJarrar: SPARQL - RDF Query Language
Jarrar: SPARQL - RDF Query Language
 
Semantic Web Austin Yahoo
Semantic Web Austin YahooSemantic Web Austin Yahoo
Semantic Web Austin Yahoo
 
Debunking some “RDF vs. Property Graph” Alternative Facts
Debunking some “RDF vs. Property Graph” Alternative FactsDebunking some “RDF vs. Property Graph” Alternative Facts
Debunking some “RDF vs. Property Graph” Alternative Facts
 
Datalift a-catalyser-for-the-web-of-data-fosdem-05-02-2011
Datalift a-catalyser-for-the-web-of-data-fosdem-05-02-2011Datalift a-catalyser-for-the-web-of-data-fosdem-05-02-2011
Datalift a-catalyser-for-the-web-of-data-fosdem-05-02-2011
 
Introduction to RDF Data Model
Introduction to RDF Data ModelIntroduction to RDF Data Model
Introduction to RDF Data Model
 
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
 

Similar to Sem webmaubeuge

Introduction to linked data and the semantic web
Introduction to linked data and the semantic webIntroduction to linked data and the semantic web
Introduction to linked data and the semantic webDave Reynolds
 
SemanticWeb Nuts 'n Bolts
SemanticWeb Nuts 'n BoltsSemanticWeb Nuts 'n Bolts
SemanticWeb Nuts 'n BoltsRinke Hoekstra
 
Linked data and rdf
Linked  data and rdfLinked  data and rdf
Linked data and rdfDaniel Nüst
 
Linked opendata parisemantique.fr - 24062011
Linked opendata   parisemantique.fr - 24062011Linked opendata   parisemantique.fr - 24062011
Linked opendata parisemantique.fr - 24062011Loïc Dias Da Silva
 
Introducción a la web semántica - Linkatu - irekia 2012
Introducción a la web semántica - Linkatu - irekia 2012Introducción a la web semántica - Linkatu - irekia 2012
Introducción a la web semántica - Linkatu - irekia 2012Alberto Labarga
 
Semantic Web / Linked Data Technologies
Semantic Web / Linked Data TechnologiesSemantic Web / Linked Data Technologies
Semantic Web / Linked Data TechnologiesMathieu d'Aquin
 
Engineering a Semantic Web: ITWS Capstone Lecture (Spring 2014)
Engineering a Semantic Web: ITWS Capstone Lecture (Spring 2014)Engineering a Semantic Web: ITWS Capstone Lecture (Spring 2014)
Engineering a Semantic Web: ITWS Capstone Lecture (Spring 2014)Rensselaer Polytechnic Institute
 
Linked Data and Locah, UKSG2011
Linked Data and Locah, UKSG2011 Linked Data and Locah, UKSG2011
Linked Data and Locah, UKSG2011 Jane Stevenson
 
The Semantic Web
The Semantic WebThe Semantic Web
The Semantic Webostephens
 
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
 
Information Extraction and Linked Data Cloud
Information Extraction and Linked Data CloudInformation Extraction and Linked Data Cloud
Information Extraction and Linked Data CloudDhaval Thakker
 
Lifting the Lid on Linked Data
Lifting the Lid on Linked DataLifting the Lid on Linked Data
Lifting the Lid on Linked DataJane Stevenson
 
Culture Geeks Feb talk: Adventures in Linked Data Land
Culture Geeks Feb talk: Adventures in Linked Data LandCulture Geeks Feb talk: Adventures in Linked Data Land
Culture Geeks Feb talk: Adventures in Linked Data Landval.cartei
 
State of the Semantic Web
State of the Semantic WebState of the Semantic Web
State of the Semantic WebIvan Herman
 
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
 
Exploring and using the Semantic Web - SSSW09 tutorial
Exploring and using the Semantic Web - SSSW09 tutorialExploring and using the Semantic Web - SSSW09 tutorial
Exploring and using the Semantic Web - SSSW09 tutorialMathieu d'Aquin
 

Similar to Sem webmaubeuge (20)

Introduction to linked data and the semantic web
Introduction to linked data and the semantic webIntroduction to linked data and the semantic web
Introduction to linked data and the semantic web
 
SemanticWeb Nuts 'n Bolts
SemanticWeb Nuts 'n BoltsSemanticWeb Nuts 'n Bolts
SemanticWeb Nuts 'n Bolts
 
Hacia la Internet del Futuro: Web Semántica y Open Linked Data, Parte 2
Hacia la Internet del Futuro: Web Semántica y Open Linked Data, Parte 2Hacia la Internet del Futuro: Web Semántica y Open Linked Data, Parte 2
Hacia la Internet del Futuro: Web Semántica y Open Linked Data, Parte 2
 
Linked data and rdf
Linked  data and rdfLinked  data and rdf
Linked data and rdf
 
Linked opendata parisemantique.fr - 24062011
Linked opendata   parisemantique.fr - 24062011Linked opendata   parisemantique.fr - 24062011
Linked opendata parisemantique.fr - 24062011
 
Introducción a la web semántica - Linkatu - irekia 2012
Introducción a la web semántica - Linkatu - irekia 2012Introducción a la web semántica - Linkatu - irekia 2012
Introducción a la web semántica - Linkatu - irekia 2012
 
Semantic Web / Linked Data Technologies
Semantic Web / Linked Data TechnologiesSemantic Web / Linked Data Technologies
Semantic Web / Linked Data Technologies
 
Engineering a Semantic Web: ITWS Capstone Lecture (Spring 2014)
Engineering a Semantic Web: ITWS Capstone Lecture (Spring 2014)Engineering a Semantic Web: ITWS Capstone Lecture (Spring 2014)
Engineering a Semantic Web: ITWS Capstone Lecture (Spring 2014)
 
Linked Data and Locah, UKSG2011
Linked Data and Locah, UKSG2011 Linked Data and Locah, UKSG2011
Linked Data and Locah, UKSG2011
 
The Semantic Web
The Semantic WebThe Semantic Web
The Semantic Web
 
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
 
Information Extraction and Linked Data Cloud
Information Extraction and Linked Data CloudInformation Extraction and Linked Data Cloud
Information Extraction and Linked Data Cloud
 
Ontologias - RDF
Ontologias - RDFOntologias - RDF
Ontologias - RDF
 
Lifting the Lid on Linked Data
Lifting the Lid on Linked DataLifting the Lid on Linked Data
Lifting the Lid on Linked Data
 
Data in RDF
Data in RDFData in RDF
Data in RDF
 
Culture Geeks Feb talk: Adventures in Linked Data Land
Culture Geeks Feb talk: Adventures in Linked Data LandCulture Geeks Feb talk: Adventures in Linked Data Land
Culture Geeks Feb talk: Adventures in Linked Data Land
 
Quick Introduction to the Semantic Web, RDFa & Microformats
Quick Introduction to the Semantic Web, RDFa & MicroformatsQuick Introduction to the Semantic Web, RDFa & Microformats
Quick Introduction to the Semantic Web, RDFa & Microformats
 
State of the Semantic Web
State of the Semantic WebState of the Semantic Web
State 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)
 
Exploring and using the Semantic Web - SSSW09 tutorial
Exploring and using the Semantic Web - SSSW09 tutorialExploring and using the Semantic Web - SSSW09 tutorial
Exploring and using the Semantic Web - SSSW09 tutorial
 

More from Jose Emilio Labra Gayo

Introducción a la investigación/doctorado
Introducción a la investigación/doctoradoIntroducción a la investigación/doctorado
Introducción a la investigación/doctoradoJose Emilio Labra Gayo
 
Challenges and applications of RDF shapes
Challenges and applications of RDF shapesChallenges and applications of RDF shapes
Challenges and applications of RDF shapesJose Emilio Labra Gayo
 
Legislative data portals and linked data quality
Legislative data portals and linked data qualityLegislative data portals and linked data quality
Legislative data portals and linked data qualityJose Emilio Labra Gayo
 
Validating RDF data: Challenges and perspectives
Validating RDF data: Challenges and perspectivesValidating RDF data: Challenges and perspectives
Validating RDF data: Challenges and perspectivesJose Emilio Labra Gayo
 
Legislative document content extraction based on Semantic Web technologies
Legislative document content extraction based on Semantic Web technologiesLegislative document content extraction based on Semantic Web technologies
Legislative document content extraction based on Semantic Web technologiesJose Emilio Labra Gayo
 
Como publicar datos: hacia los datos abiertos enlazados
Como publicar datos: hacia los datos abiertos enlazadosComo publicar datos: hacia los datos abiertos enlazados
Como publicar datos: hacia los datos abiertos enlazadosJose Emilio Labra Gayo
 
Arquitectura de la Web y Computación en el Servidor
Arquitectura de la Web y Computación en el ServidorArquitectura de la Web y Computación en el Servidor
Arquitectura de la Web y Computación en el ServidorJose Emilio Labra Gayo
 

More from Jose Emilio Labra Gayo (20)

Publicaciones de investigación
Publicaciones de investigaciónPublicaciones de investigación
Publicaciones de investigación
 
Introducción a la investigación/doctorado
Introducción a la investigación/doctoradoIntroducción a la investigación/doctorado
Introducción a la investigación/doctorado
 
Challenges and applications of RDF shapes
Challenges and applications of RDF shapesChallenges and applications of RDF shapes
Challenges and applications of RDF shapes
 
Legislative data portals and linked data quality
Legislative data portals and linked data qualityLegislative data portals and linked data quality
Legislative data portals and linked data quality
 
Validating RDF data: Challenges and perspectives
Validating RDF data: Challenges and perspectivesValidating RDF data: Challenges and perspectives
Validating RDF data: Challenges and perspectives
 
Wikidata
WikidataWikidata
Wikidata
 
Legislative document content extraction based on Semantic Web technologies
Legislative document content extraction based on Semantic Web technologiesLegislative document content extraction based on Semantic Web technologies
Legislative document content extraction based on Semantic Web technologies
 
ShEx by Example
ShEx by ExampleShEx by Example
ShEx by Example
 
Introduction to SPARQL
Introduction to SPARQLIntroduction to SPARQL
Introduction to SPARQL
 
Introducción a la Web Semántica
Introducción a la Web SemánticaIntroducción a la Web Semántica
Introducción a la Web Semántica
 
RDF Data Model
RDF Data ModelRDF Data Model
RDF Data Model
 
2017 Tendencias en informática
2017 Tendencias en informática2017 Tendencias en informática
2017 Tendencias en informática
 
RDF, linked data and semantic web
RDF, linked data and semantic webRDF, linked data and semantic web
RDF, linked data and semantic web
 
Introduction to SPARQL
Introduction to SPARQLIntroduction to SPARQL
Introduction to SPARQL
 
19 javascript servidor
19 javascript servidor19 javascript servidor
19 javascript servidor
 
Como publicar datos: hacia los datos abiertos enlazados
Como publicar datos: hacia los datos abiertos enlazadosComo publicar datos: hacia los datos abiertos enlazados
Como publicar datos: hacia los datos abiertos enlazados
 
16 Alternativas XML
16 Alternativas XML16 Alternativas XML
16 Alternativas XML
 
XSLT
XSLTXSLT
XSLT
 
XPath
XPathXPath
XPath
 
Arquitectura de la Web y Computación en el Servidor
Arquitectura de la Web y Computación en el ServidorArquitectura de la Web y Computación en el Servidor
Arquitectura de la Web y Computación en el Servidor
 

Recently uploaded

4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptx4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptxmary850239
 
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxGrade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxkarenfajardo43
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfPatidar M
 
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQ-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQuiz Club NITW
 
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...DhatriParmar
 
week 1 cookery 8 fourth - quarter .pptx
week 1 cookery 8  fourth  -  quarter .pptxweek 1 cookery 8  fourth  -  quarter .pptx
week 1 cookery 8 fourth - quarter .pptxJonalynLegaspi2
 
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
Unraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptxUnraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptx
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptxDhatriParmar
 
Using Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea DevelopmentUsing Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea Developmentchesterberbo7
 
Measures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataMeasures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataBabyAnnMotar
 
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptxDecoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptxDhatriParmar
 
Congestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationCongestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationdeepaannamalai16
 
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...Nguyen Thanh Tu Collection
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...DhatriParmar
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfVanessa Camilleri
 
Narcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfNarcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfPrerana Jadhav
 

Recently uploaded (20)

4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptx4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptx
 
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxGrade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdf
 
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQ-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
 
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
 
week 1 cookery 8 fourth - quarter .pptx
week 1 cookery 8  fourth  -  quarter .pptxweek 1 cookery 8  fourth  -  quarter .pptx
week 1 cookery 8 fourth - quarter .pptx
 
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
Unraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptxUnraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptx
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
 
Using Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea DevelopmentUsing Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea Development
 
Measures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataMeasures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped data
 
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptxDecoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
 
Congestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationCongestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentation
 
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptxINCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
 
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdf
 
Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Faculty Profile prashantha K EEE dept Sri Sairam college of EngineeringFaculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
 
Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"
 
Narcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfNarcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdf
 

Sem webmaubeuge

  • 1. Introduction toSemantic Web Jose Emilio Labra Gayo University of Oviedo, Spain http://www.di.uniovi.es/~labra
  • 2. The current Web Current Web = the biggest repository of information ever compiled by Humanity Designed for direct human consumption Lots of information available in: Natural Language in HTML English, Spanish, Chinese, Italian, etc. More and More multimedia Images, audio, video, etc. Too much data, not enough knowledge
  • 3. Example of Web Page What we see through a browser
  • 4. Source code of a web page What a machine can see
  • 5. Another web page What we see through a browser
  • 6. Source code What a machine can see
  • 7. Difficult queries Different languages Multimedia Combine different travel data Example: Travel from Oviedo to Rome Complex questions Example: Asturian people who play soccer
  • 8.
  • 10. …href http://chemistry.uniovi.es Faculty of Chemistry Location Staff … href Location… … … href Unit of information = HTML Page Links are syntactic = href Staff … … href
  • 11. The Semantic Web Data and semantic links School of Computer Engineering http://euitio.uniovi.es r:name 23 r:contains r:author r:age http://uniovi.es Mary Jordan r:name r:name r:contains University of Oviedo http://chemistry.uniovi.es Faculty of Chemistry r:name Unit of information = Data Links are semantic = Properties identified by URI
  • 12. The semantic web The Semantic Web = Web of Data A vision of the web where data is published and can be linked with other data Goals: Reuse data Automate tasks Tim Berners Lee, inventor of the WWW
  • 13. Features of the Web Non-centralized The information may not be consistent Dynamic information Data may change (or servers can fail) Lots of information The system cannot try to capture all the data Open system More information can appear in the future
  • 14. Towards the Semantic Web Trust Digital Signature Proof Unifying Logic Query: SPARQL Ontologies OWL Rules RIF RDF Schema RDF XML URI Unicode Semantic web layer cake, by Tim Berners Lee
  • 15. RDF Resource Description Framework (1998) Description of resources Resources = entities identified by URI Binary Relationships between resources Property = global name of the relationship (URI) Subject  Predicate  Object
  • 16. RDF Triples Subject A resource identified by URI Can also be a blank node (bNode) Predicate Global Property identified by URI Object Value of property Can be URI, Literal or bNode
  • 17. RDF Graph Model Can be represented in N-Triples @prefix r: <http://example.org#> . <http://euitio.uniovi.es> r:hasPicture <http://pictures.org/p1.jpg>. <http://euitio.uniovi.es> r:name "School of Computer Engineering". <http://pictures.org/p1.jpg> r:subject r:Building . r:Building r:hasPicture http://pictures.org/p1.jpg r:subject http://euitio.uniovi.es School of Computer Engineering r:name URIs are usually abbreviated using namespace declarations
  • 18. RDF is Compositional graph3.rdf graph2.rdf r:subject r:Building http://euitio.uniovi.es r:contains http://pictures.org/p2.jpg University of Oviedo r:hasPicture http://uniovi.es r:name http://chemistry.uniovi.es r:contains r:name http://chemistry.uniovi.es Faculty of Chemistry RDF graphs can be composed graph1.rdf r:Building r:hasPicture http://pictures.org/p1.jpg r:subject http://euitio.uniovi.es School of Computer Engineering r:name
  • 19. RDF is Compositional RDF graphs can be composed graph1.rdf + graph2.rdf+ graph3.rdf r:hasPicture http://pictures.org/p1.jpg r:subject School of Computer Engineering r:Building http://euitio.uniovi.es r:name r:subject r:contains http://pictures.org/p2.jpg University of Oviedo r:hasPicture http://uniovi.es r:name http://chemistry.uniovi.es r:contains r:name Faculty of Chemistry
  • 20. Blank Nodes in RDF Blank nodes are represented as _:number in N-Triples <http://euitio.uniovi.es> r:author _:1 . <http://euitio.uniovi.es> r:author _:2 . _:1 r:name “John Smith” . _:2 r:age “23”^^xsd:positiveInteger . _:2 r:name “Mary Jordan” . Blank nodes are used to identify things that have no URI Example: The author of a web page is a person, not a URI r:name John Smith r:author r:age http://euitio.uniovi.es 23 r:author Mary Jordan r:name
  • 21. Tables in RDF RDF can model relational databases r:firstName John r:lastName _:1 Smith r:nodes r:age _:0 25 r:next r:firstName Mary _:2 r:lastName Jordan r:age 23
  • 22. RDF serialization formats There are several formats to represent RDF data: N3 RDF/XML N-Triples Turtle etc.
  • 23. RDF Data Lots of information is currently published in RDF Some examples: DBPedia offers RDF triples of more than 80,000 persons, 293,000 places, 62,000 music albums, 36,000 films, etc.
  • 24. From Wikipedia to DBPedia Infoset
  • 25. From Wikipedia to DBPedia
  • 26. Benefits of RDF RDF enables better integration of data Transform the Web from fileserver to database Linking open data Expose open datasets in RDF Set links among the data of those datasets Set up query endpoints Altogether billions of triples, millions of links
  • 27. Benefits of RDF Linking open data existing datasets
  • 28. RDF Schema Extends RDF with a Schema vocabulary Class, Property, Resource,… type, subClassOf, subPropertyOf,… range, domain,… RDF Schema enables simple inferences
  • 29. RDF Schema Example r:Person r:Teacher rdfs:subClassOf rdfs:range r:Teacher r:hasTeacher Meaning: if x rdf:type r:Teacher then x rdf:type r:Person Meaning: if X r:hasTeacher Y then Y rdf:type r:Teacher
  • 30. RDFS Inference rdfs:subClassOf r:Person r:Teacher rdf:type rdf:type http://euitio.uniovi.es r:hasTeacher r:name Jose
  • 31. SPARQL Simple Protocol and RDF Query Language Query languagefor the semantic web Graph matching language Extracts information from RDF models A protocol Defines a way of invoking a service WSDL description file HTTP and SOAP bindings It also defines an XML vocabulary for results
  • 32. SPARQL Example prefix r: <http://example.org#> select ?n where { ?p r:subject r:Building. ?x r:hasPicture ?p . ?x r:name ?n . } “Find names of resources who have a picture whose subject is Building”
  • 33. SPARQL example r:subject r:Building r:hasPicture ?p ?x r:name ?n ?p ?n ?x ?p Results School of Computer Engineering ?x ?n r:subject http://pictures.org/p1 r:Building r:hasPicture School of Computer Engineering r:subject r:name http://euitio.uniovi.es http://pictures.org/p2. r:contains University of Oviedo http://uniovi.es r:name r:hasPicture http://chemistry.uniovi.es r:contains r:name Faculty of Chemistry Faculty of Chemistry select ?n where { ?p r:subject r:Building. ?x r:hasPicture ?p . ?x r:name ?n . }
  • 34. SPARQL & Inference The RDF Graph may be obtained by inference rdf:type Results Mary Jordan select ?n where { ?x rdf:type r:Person. ?x r:name ?n . } r:Teacher rdf:type rdfs:subClassOf r:name r:Person Mary Jordan
  • 35. SPARQL More features Limitthe number of returned results; remove duplicates, sort them, … Optional subpatterns (match if possible…) Specify several data sources within the query Construct a graph combining a separate pattern and the query results, or simply askwhether a pattern matches Use datatypes and/or language tags when matching a pattern
  • 36. Obtaining RDF SPARQL Endpoints offer an integration mechanism Big RDF datasets accesible to applications Example: DBPedia Nowadays Data is mostly in Databases It is not feasible to convert all databases to RDF More practical to convert on the fly Several systems: Oracle 11g, Sesame, …
  • 37. RDF and HTML Problems to embed RDF/XML in (x)HTML It can be linked from an HTML page There are some “scrappers” to extract the structure of web pages and dynamically generate RDF Can be a solution for legacy web content Not very elegant 2 proposals for a more systematic way: GRDDL RDFa
  • 38. GRDDL dc:author Mary Jordan http://www.uniovi.es 2008-01-02 dc:date page.html <html xmlns="http://www.w3.org/1999/"> <head profile="http://www.w3.org/2003/g/data-view"> <title>University of Oviedo</title> <link rel="transformation" href="http:…/dc-extract.xsl"/> <meta name="DC.author" content=“Mary Jordan"/> ... </head> ... <span class="date">2008-01-02</span> ... </html> http:…/dc-extract.xsl
  • 39. RDFa RDFa defines attributes to add meta-data to HTML elements Similar to microformats cal:Event rdf:type cal:location meetingBcn Barcelona cal:dtstart 20070508T1000+0200 <html xmlns:cal="http://www.w3.org/2002/12/cal/ical#"> … <body> <p class="cal:Event" about="#meetingBcn"> I will attend a meeting in <span property="cal:location">Barcelona</span>, on <span property="cal:dtstart" content="20070508T1000+0200"> May 8th at 10am </span> </p> ... </body> </html>
  • 40. Ontologies RDFS does not solve all requirements Applications need more expressivity and reasoning In RDFS, it is not possible to create new subclasses OWL (Web Ontology Language) offers a common language to define ontologies
  • 41. What is an Ontology? A model of (some aspect of) the world
  • 42. What is an Ontology? A model of (some aspect of) the world Introduces vocabularyrelevant to domain, e.g.: Anatomy
  • 43. What is an Ontology? A model of (some aspect of) the world Introduces vocabularyrelevant to domain, e.g.: Anatomy Cellular biology
  • 44. What is an Ontology? A model of (some aspect of) the world Introduces vocabularyrelevant to domain, e.g.: Anatomy Cellular biology Aerospace
  • 45. What is an Ontology? A model of (some aspect of) the world Introduces vocabularyrelevant to domain, e.g.: Anatomy Cellular biology Aerospace Dogs
  • 46. What is an Ontology? A model of (some aspect of) the world Introduces vocabularyrelevant to domain, e.g.: Anatomy Cellular biology Aerospace Dogs Hotdogs …
  • 47. What is an Ontology? A model of (some aspect of) the world Introduces vocabularyrelevant to domain Specifies meaning of terms Heartis amuscular organ thatis part of the circulatory system
  • 48. What is an Ontology? A model of (some aspect of) the world Introduces vocabularyrelevant to domain Specifies meaning of terms Heartis amuscular organ thatis part of the circulatory system Formalised using suitable logic
  • 49. OWL OWL enables the description of new classes By enumeration Through intersection, union, complement Through property restrictions It is based on Description Logics Well defined semantics A subset of Predicate Logic Limited use of variables Binary predicates = Properties Unary predicates = Classes
  • 50. OWL: Classes by enumeration Example: “The European Union is formed by Italy, France, Germany, etc.” EUCountry = { Italy, France, Germany, … } #Italy #France #EUCountry oneOf #Germany …
  • 51. OWL: Set theoretic definitions Example: A person is a man or a woman Person = Man  Woman #Man #Person unionOf #Woman It also has IntersectionOf and complementOf
  • 52. OWL: Property restrictions It is possible to define new classes by restricting the property values of some class Reasoner acts as a classifier
  • 53. OWL: Property restrictions Value constraints some () value must be from a class all () values must be from a class Example: “An european is a person who has nationality from a European Union country” European  Person   hasNationality EUCountry hasNationality(#Sergio, #Italy) Person(#Sergio) inference European(#Sergio) x (European(x)  Person(x)  y (hasNationality(x,y)  EUCountry(y))
  • 54. OWL: Property restrictions Cardinality constraints (ie, how many times the property is used on an instance?) exact cardinality minimum cardinality maximum cardinality Person  hasFather = 1 x (Person(x)  y (hasFather(x,y) z (hasFather(x,z)  z = y)))
  • 55. OWL: Property characterizations It is possible to characterize the behaviour of properties: Symmetric, transitive, functional, inverse functional, … transitive(isPartOf) inference isPartOf(#Rome,#Europe) isPartOf(#Rome, #Italy) isPartOf(#Italy, #Europe)
  • 56. OWL: Datatype properties Properties whose range are typed literals Example: age datatypeProperty(#age) range(#age, xsd:positiveInteger) CanVote  Person  age > “18” inference CanVote(#Sergio) Person(#Sergio) age(#Sergio, 20)
  • 57. OWL and Unique Name Assumption Web = Open System 2 different URIs could identify the same object OWL does not support Unique Name Assumption There is no error in the model It infers that #williamand#Billare the same Person  hasFather = 1 hasFather(#Peter, #William) hasFather(#Peter, #Bill) Person(#Peter)
  • 58. OWL: Open World Assumption Traditional systems used Closed World Assumption OWL uses the Open World Assumption Singleton    isMarriedWith Person Married   isMarriedWith Person Person(#Peter) Person(#Mary) Person(#James) isMarriedWith(#Mary,#Peter) Married(#James) It infers: Married(#Mary) It does not infer: Married(#Peter) Singleton(#Peter) It also infers that James …is married with someone… but it does not know with whom
  • 59. Conclusions Semantic Web technologies = ready for deployment It is easy to publish something in RDF There are already huge amounts of data in RDF Linking to existing ontologies is already possible Social barriers have to be overcome “Open door” policy Use standards Connect to others so others can connect to you A little semantics can have a lot of impact
  • 60. The End Questions? More information: http://www.di.uniovi.es/~labra
  • 62. About Oviedo 220,000 habitants Capital of the Principality of Asturias
  • 63. About the University of Oviedo Established in 1608  (400 years) Approx. 25000 students 31 faculties and schools 79 bachelorprogrammes 35 doctoral programmes 26 masterprogrammes
  • 64. About the School of Computing Established in 1982  1000 students  1200 graduates Programmes: Bachelor in Software Engineering Master in Web Engineering Doctoral programme in Web Engineering http://www.informatica.uniovi.es
  • 65. Acknowledgements Parts of this presentation have been taken from similar presentations by: Ivan Hermann Jacco van Ossenbruggen Nova Spivak Ian Horrocks