SlideShare une entreprise Scribd logo
1  sur  43
Télécharger pour lire hors ligne
Meaning of Data - Web Semantics in TYPO3 Oliver Hader, 09/2015
Meaning of Data
Web Semantics in TYPO3
Meaning of Data - Web Semantics in TYPO3 Oliver Hader, 09/2015
session:~$ whoami
• freelance software engineer
• since 2007 TYPO3 Core Developer / Active Contributor
• from 2010 to 2015 Leader of the TYPO3 Core Team
• 2002-2007 studies in computer science
• since 2014 studies in internet web science
Meaning of Data - Web Semantics in TYPO3 Oliver Hader, 09/2015
Overview
• “What is it all about?!“
• Linked Open Data - An idea…
• Boring Theory - Technology Stack
• Reasoning & Examples
• Possibilities for TYPO3
Meaning of Data - Web Semantics in TYPO3 Oliver Hader, 09/2015
“What is it all about?!“
Google Search for “palma de mallorca“
… for “weather in palma de mallorca“
DBpedia - basically Wikipedia extraction
DBpedia - basically Wikipedia extraction
DBpedia - basically Wikipedia extraction
“brad pitt fighting with his wife in a movie“
Meaning of Data - Web Semantics in TYPO3 Oliver Hader, 09/2015
• works quite well
• has limitations on
• combinations
• finding relevant data
• reusing relevant data
Searching in Google
Meaning of Data - Web Semantics in TYPO3 Oliver Hader, 09/2015
Linked Open Data
Linked Open Data Graph 2009
Linked Open Data Graph 2014
Meaning of Data - Web Semantics in TYPO3 Oliver Hader, 09/2015
Linked Open Data
• synonyms: “car” vs. “automobile“
• homonyms: “jaguar“ could be car, animal or Mac OS X
• hierarchy: “car“ and “bicycle“ are known as “vehicle“
• language: “visualize“ vs. “visualise“
• language: “visualisieren“@de vs. “visualiser“@fr
Meaning of Data - Web Semantics in TYPO3 Oliver Hader, 09/2015
Linked Open Data
• Wikipedia has lots of information already
• HTML just represents and links information
• HTML does not provide further meaning of data
• DBpedia is basically a semantic extract of Wikipedia
• DBpedia provides meaning on various resources
• data can be fetched using SPARQL (“semantic SQL“)
Meaning of Data - Web Semantics in TYPO3 Oliver Hader, 09/2015
Linked Open Data
• many variants like WikiData, GeoNames/GeoSPARQL, …
• information is stored at different locations/hosts
• information is linked all across the internet
• URIs are used to identify “things“ for machines
• URLs are used to provide information for humans
• goal is to have a massive graph of linked data
Meaning of Data - Web Semantics in TYPO3 Oliver Hader, 09/2015
Very Boring Theory
Meaning of Data - Web Semantics in TYPO3 Oliver Hader, 09/2015
Technology Stack
Meaning of Data - Web Semantics in TYPO3 Oliver Hader, 09/2015
Technology Stack
• XML & XSD (XML Schema Definition) - valid & well-formed
• RDF (Resource Description Framework) - meaning
• RDF-S (RDF Schema) - add own concepts
• OWL (Ontology Web Language) - vocabulary
• SPARQL - fetch results from the above
Meaning of Data - Web Semantics in TYPO3 Oliver Hader, 09/2015
RDF Triples
• 3 components create a particular meaning
• <Subject>	
  <Predicate/Property>	
  <Object>	
  .	
  
• <:Oliver>	
  <:hasFirstName>	
  <“Oliver“>	
  ;

	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  <:talksAbout>	
  <:SemanticWeb>	
  ;

	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  <:talksAt>	
  <:T3CampMallorca15>	
  .	
  
• <:T3CampMallorca15>	
  <:starts>	
  <“2015-­‐09-­‐25“^^xsd:date>	
  ;

	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  <:ends>	
  <“2015-­‐09-­‐27“^^xsd:date>	
  ;

	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  <:happensIn>	
  <:PalmaDeMallorca>	
  .	
  
• <:PalmaDeMallorca>	
  <owl:sameAs>	
  <dbr:Palma,_Majorca>	
  .	
  
• <dbr:Palma,_Majorca>	
  <rdf:type>	
  <dbo:City>	
  .
Meaning of Data - Web Semantics in TYPO3 Oliver Hader, 09/2015
RDF Schema
• What’s a “City“ actually?
• <dbr:Palma,_Majorca>	
  <rdf:type>	
  <dbo:City>	
  .	
  
• <dbo:City>	
  <rdf:type>	
  <rdfs:Class>	
  ;

	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  <rdfs:subClassOf>	
  <dbo:Settlement>	
  .	
  
• <:name>	
  <rdf:type>	
  <rdf:Property>	
  ;

	
  	
  	
  	
  	
  	
  	
  	
  <rdfs:domain>	
  <dbo:City>	
  ;

	
  	
  	
  	
  	
  	
  	
  	
  <rdfs:range>	
  xsd:string	
  .	
  
• <:isPartOf>	
  <rdf:type>	
  <rdf:Property>	
  ;

	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  <rdfs:domain>	
  <dbo:City>	
  ;

	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  <rdfs:range>	
  <:Region>	
  ;

	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  <rdfs:subPropertyOf>	
  <:belongsTo>	
  .
Meaning of Data - Web Semantics in TYPO3 Oliver Hader, 09/2015
Annotations
• describe current document or node
• Rich Snippets
• Microformat (limited vocabulary)
• Microdata
• RDFa Lite (RDF Annotations)
• JSON-LD (Linked Data)
Meaning of Data - Web Semantics in TYPO3 Oliver Hader, 09/2015
Microdata
• <div	
  itemscope	
  itemtype="http://schema.org/Movie">

	
  	
  <h1	
  itemprop="name">Avatar</h1>

	
  	
  <div	
  itemprop="director"	
  itemscope

	
  	
  	
  	
  	
  	
  	
  itemtype="http://schema.org/Person">

	
  	
  	
  	
  Director:	
  <span	
  itemprop="name">James	
  Cameron</span>,

	
  	
  	
  	
  born	
  <span	
  itemprop="birthDate">August	
  16,	
  1954</span>

	
  	
  </div>

	
  	
  <span	
  itemprop="genre">Science	
  fiction</span>

	
  	
  <a	
  href="../movies/avatar-­‐theatrical-­‐trailer.html"

	
  	
  	
  	
  	
  itemprop="trailer">Trailer</a>

</div>	
  
• <:something	
  rdf:type	
  http://schema.org/Movie>	
  .

<:something	
  http://schema.org/name	
  “Avatar“>	
  .
Meaning of Data - Web Semantics in TYPO3 Oliver Hader, 09/2015
RDFa Lite
• <p	
  vocab="http://schema.org/"	
  typeof="Person">

	
  	
  	
  My	
  name	
  is

	
  	
  	
  <span	
  property="name">Manu	
  Sporny</span>

	
  	
  	
  and	
  you	
  can	
  give	
  me	
  a	
  ring	
  via

	
  	
  	
  <span	
  property="telephone">1-­‐800-­‐555-­‐0199</span>

	
  	
  	
  or	
  visit	
  

	
  	
  	
  <a	
  property="url"	
  href="http://manu.sporny.org/">

	
  	
  	
  	
  	
  my	
  homepage</a>.

</p>	
  
• <:something	
  rdf:type	
  http://schema.org/Person>	
  .

<:something	
  http://schema.org/name	
  “Manu	
  Sporny“>	
  .

<:something	
  http://schema.org/telephone	
  “…“>	
  .
Meaning of Data - Web Semantics in TYPO3 Oliver Hader, 09/2015
JSON-LD
• {

	
  	
  "@context":	
  {

	
  	
  	
  	
  "name":	
  "http://schema.org/name",

	
  	
  	
  	
  "homepage":	
  {

	
  	
  	
  	
  	
  	
  "@id":	
  "http://schema.org/url",

	
  	
  	
  	
  	
  	
  "@type":	
  "@id"

	
  	
  	
  	
  }

	
  	
  },

	
  	
  "name":	
  "Manu	
  Sporny",

	
  	
  "homepage":	
  "http://manu.sporny.org/",

	
  	
  "image":	
  "http://manu.sporny.org/images/manu.png"

}
Meaning of Data - Web Semantics in TYPO3 Oliver Hader, 09/2015
OWL
• effectively working with RDF/RDF-S
• classes & individuals (“instances“)
• properties & data-types (“predicates“)
• ranges & domains
• required for proper reasoning and inference
• comes in 3 dialects - lite, description logic, full
Meaning of Data - Web Semantics in TYPO3 Oliver Hader, 09/2015
OWL
• equivalents by rules
• Spaniard:	
  Person	
  and

(inhabitantOf	
  some	
  SpanishCity)	
  
• meaning of properties
• inverse, symmetric, transitive, disjoint, …
• <Palma	
  isPartOf	
  Mallorca>	
  &	
  <Mallorca	
  contains	
  Palma>	
  
• cardinalities of properties - minimum, maximum, exact
• <:hasParent	
  owl:cardinality	
  “2“^^xsd:integer>
Meaning of Data - Web Semantics in TYPO3 Oliver Hader, 09/2015
Assumptions
• Closed World Assumption (CWA)
• “everything is said, there’s nothing more“
• Open World Assumption (OWA)
• “there might still be more unknown facts“
• <:Bob	
  :hasSister	
  :Alice>	
  .	
  
• <:Bob	
  :hasSister	
  :Cassandra>	
  .	
  #	
  what	
  he	
  does	
  not	
  know…
Meaning of Data - Web Semantics in TYPO3 Oliver Hader, 09/2015
SPARQL
• “it’s like SQL, but very different…“
• PREFIX	
  dbo:	
  <http://dbpedia.org/ontology/>

PREFIX	
  dbr:	
  <http://dbpedia.org/resource/>

SELECT	
  DISTINCT	
  ?subject	
  ?object

WHERE	
  {

	
  	
  ?subject	
  rdf:type	
  dbo:Automobile	
  .

	
  	
  ?subject	
  dbo:manufacturer	
  ?object	
  .

	
  	
  FILTER(?object	
  =	
  dbr:SEAT)

}	
  
• dbr:SEAT_Ibiza	
  	
  #	
  ?subject	
  	
  	
  dbr:SEAT	
  #	
  ?object

dbr:SEAT_Exeo	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  dbr:SEAT

dbr:SEAT_IBE	
   	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  dbr:SEAT
Meaning of Data - Web Semantics in TYPO3 Oliver Hader, 09/2015
Storage
• MySQL seems to be possible, but gets slow
• Stanbol, Virtuoso, Sesame, Allegro, Jena
• choosing the proper storage depends
• frequency of loads and amount of tripples
• level of inferencing
• query language
Meaning of Data - Web Semantics in TYPO3 Oliver Hader, 09/2015
Reasoning & Examples
Meaning of Data - Web Semantics in TYPO3 Oliver Hader, 09/2015
Reasoning & Examples
• Demo in Protégé
• Tool to model ontologies
• Developed at Standford University
Meaning of Data - Web Semantics in TYPO3 Oliver Hader, 09/2015
Possibilities for TYPO3
Meaning of Data - Web Semantics in TYPO3 Oliver Hader, 09/2015
Activities in the past
• extension “semantic“ # discontinued
• SPARQL endpoint handling to import RDF triples
• extension „scotty“ # discontinued
• bring semantic technologies into TYPO3 CMS
• categories, taxonomies, identities
• diploma thesis by Sebastian Kurfürst # Flow & Neos

“Exposing Domain Models as Linked Data“
Meaning of Data - Web Semantics in TYPO3 Oliver Hader, 09/2015
Future possibilities
• linking custom domain models with ontologies
• enriches the meaning of your data
• allows more sophisticated search statements
• exposing data by having an own SPARQL endpoint
• adds more meaning to your data than REST does
• automatically enrich your markup with RDFa
• SEO at it’s best & makes Google happy… maybe…
Just a “VroomVroom“ model example…
Just a “VroomVroom“ view example…
Meaning of Data - Web Semantics in TYPO3 Oliver Hader, 09/2015
Future possibilities
• project by Johannes Goslar
• RTE with Named Entity Recognition (NER)
• “Alex bought a Jaguar in 2011“
• “Alex[Person] bought[verb] Jaguar[Thing] in 2011[Date]“
• Jaguar could be a car, an animal or Mac OS X version
• automated annotation of written text with RDF tripples
NER example in TYPO3 CMS RTEMeeting, Date, Location
Meaning of Data - Web Semantics in TYPO3 Oliver Hader, 09/2015
?Questions
ohader

@ohader

Oliver_Hader
follow me
Meaning of Data - Web Semantics in TYPO3 Oliver Hader, 09/2015
Thank you
ohader

@ohader

Oliver_Hader
follow me
Meaning of Data - Web Semantics in TYPO3 Oliver Hader, 09/2015
Links
• http://lod-cloud.net/
• http://bnode.org/blog/2009/07/08/the-semantic-web-not-a-piece-of-cake
• http://www.thefigtrees.net/lee/blog/2006/11/semantic_web_technologies_in_t.html
• http://teaching-wiki.sti2.at/uploads/3/3d/07_SW-OWL.pdf

& http://teaching-wiki.sti2.at/index.php/Semantic_Web
• https://developers.google.com/structured-data/schema-org
• https://tools.wmflabs.org/reasonator/
• https://github.com/semsol/arc2/wiki
• http://aksw.org/Projects/Erfurt.html
• https://forge.typo3.org/projects/extension-semantic
• https://forge.typo3.org/projects/extension-scotty
• http://www.rn.inf.tu-dresden.de/uploads/Studentische_Arbeiten/Diplomarbeit_Kurf
%C3%BCrst_Sebastian.pdf

Contenu connexe

En vedette

Meaning of language
Meaning of languageMeaning of language
Meaning of language
棠貝 白
 
Semantics: The Meaning of Language
Semantics: The Meaning of LanguageSemantics: The Meaning of Language
Semantics: The Meaning of Language
Jeffren Miguel
 
Semantics
SemanticsSemantics
Semantics
kapandu
 

En vedette (20)

'Meaning is its use' - Towards the use of distributional semantics for conten...
'Meaning is its use' - Towards the use of distributional semantics for conten...'Meaning is its use' - Towards the use of distributional semantics for conten...
'Meaning is its use' - Towards the use of distributional semantics for conten...
 
Semantics and meaning
Semantics  and meaning Semantics  and meaning
Semantics and meaning
 
Meaning of language
Meaning of languageMeaning of language
Meaning of language
 
Semantics
SemanticsSemantics
Semantics
 
Interpersonal meaning
Interpersonal meaningInterpersonal meaning
Interpersonal meaning
 
Meaning
MeaningMeaning
Meaning
 
Semantics: The Meaning of Language
Semantics: The Meaning of LanguageSemantics: The Meaning of Language
Semantics: The Meaning of Language
 
Semantics
SemanticsSemantics
Semantics
 
Word Meaning (Semantics)
Word Meaning (Semantics)Word Meaning (Semantics)
Word Meaning (Semantics)
 
RDF and OWL
RDF and OWLRDF and OWL
RDF and OWL
 
Linear regression and correlation analysis ppt @ bec doms
Linear regression and correlation analysis ppt @ bec domsLinear regression and correlation analysis ppt @ bec doms
Linear regression and correlation analysis ppt @ bec doms
 
Semantics
SemanticsSemantics
Semantics
 
Semantics
SemanticsSemantics
Semantics
 
Semantics: Meanings of Language
Semantics: Meanings of LanguageSemantics: Meanings of Language
Semantics: Meanings of Language
 
SEMANTICS
SEMANTICS SEMANTICS
SEMANTICS
 
Semantics
SemanticsSemantics
Semantics
 
Data Types and Variables In C Programming
Data Types and Variables In C ProgrammingData Types and Variables In C Programming
Data Types and Variables In C Programming
 
Semantics
SemanticsSemantics
Semantics
 
Semantics chapter 2 saeed
Semantics chapter 2 saeedSemantics chapter 2 saeed
Semantics chapter 2 saeed
 
Displaying Data
Displaying DataDisplaying Data
Displaying Data
 

Plus de Oliver Hader

TYPO3 CMS - Datenmodifikation & Event Sourcing (Masterarbeit)
TYPO3 CMS - Datenmodifikation & Event Sourcing (Masterarbeit)TYPO3 CMS - Datenmodifikation & Event Sourcing (Masterarbeit)
TYPO3 CMS - Datenmodifikation & Event Sourcing (Masterarbeit)
Oliver Hader
 
TYPO3camp Regensburg: TYPO3 6.0
TYPO3camp Regensburg: TYPO3 6.0TYPO3camp Regensburg: TYPO3 6.0
TYPO3camp Regensburg: TYPO3 6.0
Oliver Hader
 
TYPO3 Inline Relational Record Editing (IRRE)
TYPO3 Inline Relational Record Editing (IRRE)TYPO3 Inline Relational Record Editing (IRRE)
TYPO3 Inline Relational Record Editing (IRRE)
Oliver Hader
 

Plus de Oliver Hader (19)

T3DD23 Content Security Policy - Concept, Strategies & Pitfalls
T3DD23 Content Security Policy - Concept, Strategies & PitfallsT3DD23 Content Security Policy - Concept, Strategies & Pitfalls
T3DD23 Content Security Policy - Concept, Strategies & Pitfalls
 
SAST für TYPO3 Extensions
SAST für TYPO3 ExtensionsSAST für TYPO3 Extensions
SAST für TYPO3 Extensions
 
Web Application Security Workshop (T3DD19)
Web Application Security Workshop (T3DD19)Web Application Security Workshop (T3DD19)
Web Application Security Workshop (T3DD19)
 
Hacking TYPO3 v9 (T3DD19 edition)
Hacking TYPO3 v9 (T3DD19 edition)Hacking TYPO3 v9 (T3DD19 edition)
Hacking TYPO3 v9 (T3DD19 edition)
 
Hacking TYPO3 v9
Hacking TYPO3 v9Hacking TYPO3 v9
Hacking TYPO3 v9
 
TYPO3camp Munich 2018 - Keynote - "Wo woll'n mer denn hin?"
TYPO3camp Munich 2018 - Keynote - "Wo woll'n mer denn hin?"TYPO3camp Munich 2018 - Keynote - "Wo woll'n mer denn hin?"
TYPO3camp Munich 2018 - Keynote - "Wo woll'n mer denn hin?"
 
TYPO3 CMS - Datenmodifikation & Event Sourcing (Masterarbeit)
TYPO3 CMS - Datenmodifikation & Event Sourcing (Masterarbeit)TYPO3 CMS - Datenmodifikation & Event Sourcing (Masterarbeit)
TYPO3 CMS - Datenmodifikation & Event Sourcing (Masterarbeit)
 
TYPO3 Event Sourcing
TYPO3 Event SourcingTYPO3 Event Sourcing
TYPO3 Event Sourcing
 
H4CK1N6 - Web Application Security
H4CK1N6 - Web Application SecurityH4CK1N6 - Web Application Security
H4CK1N6 - Web Application Security
 
TYPO3 Backstage Development
TYPO3 Backstage DevelopmentTYPO3 Backstage Development
TYPO3 Backstage Development
 
Vor- und Nachteile von Web Components mit Polymer gegenüber AngularJS ohne P...
Vor- und Nachteile von Web Components mit Polymer gegenüber AngularJS ohne P...Vor- und Nachteile von Web Components mit Polymer gegenüber AngularJS ohne P...
Vor- und Nachteile von Web Components mit Polymer gegenüber AngularJS ohne P...
 
WebGL - 3D im Browser - Erfahrungsbericht mit BabylonJS
WebGL - 3D im Browser - Erfahrungsbericht mit BabylonJSWebGL - 3D im Browser - Erfahrungsbericht mit BabylonJS
WebGL - 3D im Browser - Erfahrungsbericht mit BabylonJS
 
Web Components
Web ComponentsWeb Components
Web Components
 
Web application security
Web application securityWeb application security
Web application security
 
Contribute to TYPO3 CMS
Contribute to TYPO3 CMSContribute to TYPO3 CMS
Contribute to TYPO3 CMS
 
T3CON13DE - TYPO3 CMS Team
T3CON13DE - TYPO3 CMS TeamT3CON13DE - TYPO3 CMS Team
T3CON13DE - TYPO3 CMS Team
 
TYPO3camp Regensburg: TYPO3 6.0
TYPO3camp Regensburg: TYPO3 6.0TYPO3camp Regensburg: TYPO3 6.0
TYPO3camp Regensburg: TYPO3 6.0
 
TYPO3 Inline Relational Record Editing (IRRE)
TYPO3 Inline Relational Record Editing (IRRE)TYPO3 Inline Relational Record Editing (IRRE)
TYPO3 Inline Relational Record Editing (IRRE)
 
TYPO3 4.6 & TYPO3 4.7
TYPO3 4.6 & TYPO3 4.7TYPO3 4.6 & TYPO3 4.7
TYPO3 4.6 & TYPO3 4.7
 

Dernier

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 

Dernier (20)

Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 

Meaning of Data - Web Semantics in TYPO3

  • 1. Meaning of Data - Web Semantics in TYPO3 Oliver Hader, 09/2015 Meaning of Data Web Semantics in TYPO3
  • 2. Meaning of Data - Web Semantics in TYPO3 Oliver Hader, 09/2015 session:~$ whoami • freelance software engineer • since 2007 TYPO3 Core Developer / Active Contributor • from 2010 to 2015 Leader of the TYPO3 Core Team • 2002-2007 studies in computer science • since 2014 studies in internet web science
  • 3. Meaning of Data - Web Semantics in TYPO3 Oliver Hader, 09/2015 Overview • “What is it all about?!“ • Linked Open Data - An idea… • Boring Theory - Technology Stack • Reasoning & Examples • Possibilities for TYPO3
  • 4. Meaning of Data - Web Semantics in TYPO3 Oliver Hader, 09/2015 “What is it all about?!“
  • 5. Google Search for “palma de mallorca“
  • 6. … for “weather in palma de mallorca“
  • 7. DBpedia - basically Wikipedia extraction
  • 8. DBpedia - basically Wikipedia extraction
  • 9. DBpedia - basically Wikipedia extraction
  • 10. “brad pitt fighting with his wife in a movie“
  • 11. Meaning of Data - Web Semantics in TYPO3 Oliver Hader, 09/2015 • works quite well • has limitations on • combinations • finding relevant data • reusing relevant data Searching in Google
  • 12. Meaning of Data - Web Semantics in TYPO3 Oliver Hader, 09/2015 Linked Open Data
  • 13. Linked Open Data Graph 2009
  • 14. Linked Open Data Graph 2014
  • 15. Meaning of Data - Web Semantics in TYPO3 Oliver Hader, 09/2015 Linked Open Data • synonyms: “car” vs. “automobile“ • homonyms: “jaguar“ could be car, animal or Mac OS X • hierarchy: “car“ and “bicycle“ are known as “vehicle“ • language: “visualize“ vs. “visualise“ • language: “visualisieren“@de vs. “visualiser“@fr
  • 16. Meaning of Data - Web Semantics in TYPO3 Oliver Hader, 09/2015 Linked Open Data • Wikipedia has lots of information already • HTML just represents and links information • HTML does not provide further meaning of data • DBpedia is basically a semantic extract of Wikipedia • DBpedia provides meaning on various resources • data can be fetched using SPARQL (“semantic SQL“)
  • 17. Meaning of Data - Web Semantics in TYPO3 Oliver Hader, 09/2015 Linked Open Data • many variants like WikiData, GeoNames/GeoSPARQL, … • information is stored at different locations/hosts • information is linked all across the internet • URIs are used to identify “things“ for machines • URLs are used to provide information for humans • goal is to have a massive graph of linked data
  • 18. Meaning of Data - Web Semantics in TYPO3 Oliver Hader, 09/2015 Very Boring Theory
  • 19. Meaning of Data - Web Semantics in TYPO3 Oliver Hader, 09/2015 Technology Stack
  • 20. Meaning of Data - Web Semantics in TYPO3 Oliver Hader, 09/2015 Technology Stack • XML & XSD (XML Schema Definition) - valid & well-formed • RDF (Resource Description Framework) - meaning • RDF-S (RDF Schema) - add own concepts • OWL (Ontology Web Language) - vocabulary • SPARQL - fetch results from the above
  • 21. Meaning of Data - Web Semantics in TYPO3 Oliver Hader, 09/2015 RDF Triples • 3 components create a particular meaning • <Subject>  <Predicate/Property>  <Object>  .   • <:Oliver>  <:hasFirstName>  <“Oliver“>  ;
                    <:talksAbout>  <:SemanticWeb>  ;
                    <:talksAt>  <:T3CampMallorca15>  .   • <:T3CampMallorca15>  <:starts>  <“2015-­‐09-­‐25“^^xsd:date>  ;
                                        <:ends>  <“2015-­‐09-­‐27“^^xsd:date>  ;
                                        <:happensIn>  <:PalmaDeMallorca>  .   • <:PalmaDeMallorca>  <owl:sameAs>  <dbr:Palma,_Majorca>  .   • <dbr:Palma,_Majorca>  <rdf:type>  <dbo:City>  .
  • 22. Meaning of Data - Web Semantics in TYPO3 Oliver Hader, 09/2015 RDF Schema • What’s a “City“ actually? • <dbr:Palma,_Majorca>  <rdf:type>  <dbo:City>  .   • <dbo:City>  <rdf:type>  <rdfs:Class>  ;
                      <rdfs:subClassOf>  <dbo:Settlement>  .   • <:name>  <rdf:type>  <rdf:Property>  ;
                <rdfs:domain>  <dbo:City>  ;
                <rdfs:range>  xsd:string  .   • <:isPartOf>  <rdf:type>  <rdf:Property>  ;
                        <rdfs:domain>  <dbo:City>  ;
                        <rdfs:range>  <:Region>  ;
                        <rdfs:subPropertyOf>  <:belongsTo>  .
  • 23. Meaning of Data - Web Semantics in TYPO3 Oliver Hader, 09/2015 Annotations • describe current document or node • Rich Snippets • Microformat (limited vocabulary) • Microdata • RDFa Lite (RDF Annotations) • JSON-LD (Linked Data)
  • 24. Meaning of Data - Web Semantics in TYPO3 Oliver Hader, 09/2015 Microdata • <div  itemscope  itemtype="http://schema.org/Movie">
    <h1  itemprop="name">Avatar</h1>
    <div  itemprop="director"  itemscope
              itemtype="http://schema.org/Person">
        Director:  <span  itemprop="name">James  Cameron</span>,
        born  <span  itemprop="birthDate">August  16,  1954</span>
    </div>
    <span  itemprop="genre">Science  fiction</span>
    <a  href="../movies/avatar-­‐theatrical-­‐trailer.html"
          itemprop="trailer">Trailer</a>
 </div>   • <:something  rdf:type  http://schema.org/Movie>  .
 <:something  http://schema.org/name  “Avatar“>  .
  • 25. Meaning of Data - Web Semantics in TYPO3 Oliver Hader, 09/2015 RDFa Lite • <p  vocab="http://schema.org/"  typeof="Person">
      My  name  is
      <span  property="name">Manu  Sporny</span>
      and  you  can  give  me  a  ring  via
      <span  property="telephone">1-­‐800-­‐555-­‐0199</span>
      or  visit  
      <a  property="url"  href="http://manu.sporny.org/">
          my  homepage</a>.
 </p>   • <:something  rdf:type  http://schema.org/Person>  .
 <:something  http://schema.org/name  “Manu  Sporny“>  .
 <:something  http://schema.org/telephone  “…“>  .
  • 26. Meaning of Data - Web Semantics in TYPO3 Oliver Hader, 09/2015 JSON-LD • {
    "@context":  {
        "name":  "http://schema.org/name",
        "homepage":  {
            "@id":  "http://schema.org/url",
            "@type":  "@id"
        }
    },
    "name":  "Manu  Sporny",
    "homepage":  "http://manu.sporny.org/",
    "image":  "http://manu.sporny.org/images/manu.png"
 }
  • 27. Meaning of Data - Web Semantics in TYPO3 Oliver Hader, 09/2015 OWL • effectively working with RDF/RDF-S • classes & individuals (“instances“) • properties & data-types (“predicates“) • ranges & domains • required for proper reasoning and inference • comes in 3 dialects - lite, description logic, full
  • 28. Meaning of Data - Web Semantics in TYPO3 Oliver Hader, 09/2015 OWL • equivalents by rules • Spaniard:  Person  and
 (inhabitantOf  some  SpanishCity)   • meaning of properties • inverse, symmetric, transitive, disjoint, … • <Palma  isPartOf  Mallorca>  &  <Mallorca  contains  Palma>   • cardinalities of properties - minimum, maximum, exact • <:hasParent  owl:cardinality  “2“^^xsd:integer>
  • 29. Meaning of Data - Web Semantics in TYPO3 Oliver Hader, 09/2015 Assumptions • Closed World Assumption (CWA) • “everything is said, there’s nothing more“ • Open World Assumption (OWA) • “there might still be more unknown facts“ • <:Bob  :hasSister  :Alice>  .   • <:Bob  :hasSister  :Cassandra>  .  #  what  he  does  not  know…
  • 30. Meaning of Data - Web Semantics in TYPO3 Oliver Hader, 09/2015 SPARQL • “it’s like SQL, but very different…“ • PREFIX  dbo:  <http://dbpedia.org/ontology/>
 PREFIX  dbr:  <http://dbpedia.org/resource/>
 SELECT  DISTINCT  ?subject  ?object
 WHERE  {
    ?subject  rdf:type  dbo:Automobile  .
    ?subject  dbo:manufacturer  ?object  .
    FILTER(?object  =  dbr:SEAT)
 }   • dbr:SEAT_Ibiza    #  ?subject      dbr:SEAT  #  ?object
 dbr:SEAT_Exeo                              dbr:SEAT
 dbr:SEAT_IBE                              dbr:SEAT
  • 31. Meaning of Data - Web Semantics in TYPO3 Oliver Hader, 09/2015 Storage • MySQL seems to be possible, but gets slow • Stanbol, Virtuoso, Sesame, Allegro, Jena • choosing the proper storage depends • frequency of loads and amount of tripples • level of inferencing • query language
  • 32. Meaning of Data - Web Semantics in TYPO3 Oliver Hader, 09/2015 Reasoning & Examples
  • 33. Meaning of Data - Web Semantics in TYPO3 Oliver Hader, 09/2015 Reasoning & Examples • Demo in Protégé • Tool to model ontologies • Developed at Standford University
  • 34. Meaning of Data - Web Semantics in TYPO3 Oliver Hader, 09/2015 Possibilities for TYPO3
  • 35. Meaning of Data - Web Semantics in TYPO3 Oliver Hader, 09/2015 Activities in the past • extension “semantic“ # discontinued • SPARQL endpoint handling to import RDF triples • extension „scotty“ # discontinued • bring semantic technologies into TYPO3 CMS • categories, taxonomies, identities • diploma thesis by Sebastian Kurfürst # Flow & Neos
 “Exposing Domain Models as Linked Data“
  • 36. Meaning of Data - Web Semantics in TYPO3 Oliver Hader, 09/2015 Future possibilities • linking custom domain models with ontologies • enriches the meaning of your data • allows more sophisticated search statements • exposing data by having an own SPARQL endpoint • adds more meaning to your data than REST does • automatically enrich your markup with RDFa • SEO at it’s best & makes Google happy… maybe…
  • 37. Just a “VroomVroom“ model example…
  • 38. Just a “VroomVroom“ view example…
  • 39. Meaning of Data - Web Semantics in TYPO3 Oliver Hader, 09/2015 Future possibilities • project by Johannes Goslar • RTE with Named Entity Recognition (NER) • “Alex bought a Jaguar in 2011“ • “Alex[Person] bought[verb] Jaguar[Thing] in 2011[Date]“ • Jaguar could be a car, an animal or Mac OS X version • automated annotation of written text with RDF tripples
  • 40. NER example in TYPO3 CMS RTEMeeting, Date, Location
  • 41. Meaning of Data - Web Semantics in TYPO3 Oliver Hader, 09/2015 ?Questions ohader
 @ohader
 Oliver_Hader follow me
  • 42. Meaning of Data - Web Semantics in TYPO3 Oliver Hader, 09/2015 Thank you ohader
 @ohader
 Oliver_Hader follow me
  • 43. Meaning of Data - Web Semantics in TYPO3 Oliver Hader, 09/2015 Links • http://lod-cloud.net/ • http://bnode.org/blog/2009/07/08/the-semantic-web-not-a-piece-of-cake • http://www.thefigtrees.net/lee/blog/2006/11/semantic_web_technologies_in_t.html • http://teaching-wiki.sti2.at/uploads/3/3d/07_SW-OWL.pdf
 & http://teaching-wiki.sti2.at/index.php/Semantic_Web • https://developers.google.com/structured-data/schema-org • https://tools.wmflabs.org/reasonator/ • https://github.com/semsol/arc2/wiki • http://aksw.org/Projects/Erfurt.html • https://forge.typo3.org/projects/extension-semantic • https://forge.typo3.org/projects/extension-scotty • http://www.rn.inf.tu-dresden.de/uploads/Studentische_Arbeiten/Diplomarbeit_Kurf %C3%BCrst_Sebastian.pdf