13. Let's make some assertions about me
Jochen's is a Person.
Jochen's age is 40.
Jochen's name is Jochen Rau.
Jochen likes TYPO3 and Wine.
Jochen lives in Massachusetts.
14. Let's make some assertions about me
Jochen's is a Person.
Jochen's age is 40.
Jochen's name is Jochen Rau.
Jochen likes TYPO3 and Wine.
Jochen lives in Massachusetts.
Subject Predicate Object
15. Let's make some assertions about me
Jochen's is a Person.
Jochen's age is 40.
Jochen's name is Jochen Rau.
Jochen likes TYPO3 and Wine.
Jochen lives in Massachusetts.
Subject Predicate Object
Triple
16. Let's make some assertions about me
Jochen 40
age
name
Jochen Rau
is a likes TYPO3
likes
lives in
Jochen's is a Person. Person
Jochen's age is 40. Wine
Massachusetts
Jochen's name is Jochen Rau.
Jochen likes TYPO3 and Wine.
Jochen lives in Massachusetts.
17. Let's make some assertions about me
Jochen 40
age
name
Jochen Rau
is a likes TYPO3
likes
lives in
Jochen's is a Person. Person
Jochen's age is 40. Wine
Massachusetts
Jochen's name is Jochen Rau.
Jochen likes TYPO3 and Wine.
TYPO3
Jochen lives in Massachusetts.
license GNU General
Public License
description
platform TYPO3 is a free and
open source content
management system as
well as a Model–view–
controller (MVC) Web
PHP Application Development
framework written in
PHP.
18. Let's make some assertions about me
Jochen 40
age
name
Jochen Rau
is a likes TYPO3
likes GNU General
license
lives in Public License
Jochen's is a Person. Person description
Jochen's age is 40. Wine
Massachusetts
Jochen's name is Jochen Rau. platform TYPO3 is a free and
open source content
Jochen likes TYPO3 and Wine. management system as
Jochen lives in Massachusetts. well as a Model–view–
controller (MVC) Web
PHP Application Development
framework written in
PHP.
26. RDF at a Glance
Simple, ubiquitous way of modeling data
Main concepts
Triples of subject, predicate, and object
Unique names for resources
Objects can also be literal values (with data type or language)
Performant data stores (e.g. Virtuoso, AllegroGraph, BigOWLIM)
Existing frameworks with rich APIs (e.g. JENA, Sesame, Erfurt)
Billions of triples as Open Data available (e.g. Wikipedia,
MusicBrainz)
Many di erent serialization formats (e.g. RDF/XML, Turtle, N3)
Makes data migration much easier
27. Description Logic and Rules OWL and RIF
What? Why?
Knowledge is spread all over the system:
Domain model, database scheme, TS con gurartion, FlexForm,
TCA, documentation, Templates ...
In di erent Formats:
SQL, TypoScript, XML, PHP, HTML ...
Using inconsistent terminology:
"Template" in TYPO3?
So, what to do?
data and metadata in the same data structure (RDF)
use well de ned languages to describe (meta)data (OWL RIF)
28. Description Logic and Rules OWL and RIF
Knublauch, Holger. KBeans Specification: Semantic Transparency for
Components and Domain Models. Technical Report FAW-TR-01001,
FAW Ulm, 2001.
29. RDF in HTML
Three di erent standards to markup your HTML code
Microformats
Microdata (part of HTML5 spec)
RDFa ("RDF for attributes", W3C Recommendation)
A subset of RDF
Makes web pages machine readable by your favorite search engine
30. RDF in HTML RDFa
<div>
<p>
Alice Birpemswick
</p>
<p>
Email: <a href="mailto:alice@example.com">alice@example.com</a>
</p>
<p>
Phone: <a href="tel:+1-617-555-7332">+1 617.555.7332</a>
</p>
</div>
31. RDF in HTML RDFa
<div prefix="foaf: http://xmlns.com/foaf/0.1/" about="http://example.com/resource/alice"
typeof="Person">
<p property="foaf:name">
Alice Birpemswick
</p>
<p>
Email: <a rel="foaf:mbox" href="mailto:alice@example.com">alice@example.com</a>
</p>
<p>
Phone: <a rel="foaf:phone" href="tel:+1-617-555-7332">+1 617.555.7332</a>
</p>
</div>
32. RDF in HTML RDFa
<div prefix="foaf: http://xmlns.com/foaf/0.1/" about="http://example.com/resource/alice"
typeof="Person">
<p property="foaf:name">
Alice Birpemswick
</p>
<p>
Email: <a rel="foaf:mbox" href="mailto:alice@example.com">alice@example.com</a>
</p>
<p>
Phone: <a rel="foaf:phone" href="tel:+1-617-555-7332">+1 617.555.7332</a>
</p>
</div>
http://example.com/resource/alice