SlideShare a Scribd company logo
Linking Media and Data using
Apache Marmotta
Keynote at LIME 2014 Workshop
Sebastian Schaffert and Thomas Kurz
Contents
➔Motivation: The Red Bull Content Pool
➔Background:
➔ Linked Media Principles
➔ Media Fragments and Media Ontology
➔Implementation: Linked Media Framework
➔ Red Bull Use Case
➔ ConnectMe Use Case
➔Standardising: The Linked Data Platform
➔Introducing Apache Marmotta
➔Querying for Multimedia Fragments: SPARQL-MM
2009
2011
2013
2014
Motivation: The Red Bull Content Pool
Linked Media (2009)
Linked Media = Linked People + Linked Content + Linked Data
Motivation: The Red Bull Content Pool
➔ online archive containing video and image material related to
extreme sports events organised by Red Bull
➔ business-to-business portal where journalists can get material for
further broadcasting (mostly for free)
➔ material comes with metadata in the form of tables in word
documents:
➔ interview transcriptions (with time interval start/end second)
➔ scene descriptions (with time interval start/end second)
➔ music cue sheets (copyright information about background
music tracks)
Motivation: The Red Bull Content Pool (2009)
Motivation: The Red Bull Content Pool
➔Problems:
➔ videos consist of series of scenes with many different
persons
➔ scanning through a video to find a particular scene is a
huge amount of work
➔ metadata is valuable but not really exploited for searching
videos and while playing videos
Can we help Markus?
Name: Markus
Occupation: sports journalist
Company: RegioTV Pinzgau
Objective: create report about cliff diving
Requires: videos, background info, contacts
How can we help Markus?
 efficient and precise search in the Red Bull Content Pool
 compact and relevant display of background information
 contacts (e.g. website,email) of athletes, other journalists, etc.
fast and successful creation of the report
Background: Linked Media Principles
Linked Media Principles (2009)
➔ Linked Data is „read-only“
i.e. focus was on publication of big datasets, not the interaction
with data
 a system for managing media assets needs to be capable of
updating resources and their metadata
➔ Linked Data is „data-only“
i.e. a resource is represented either as RDF metadata for
machines or as HTML tables for humans, but in all cases it is
metadata and not content
 a system for managing media assets needs to be capable of
managing both media content and metadata about that content
Linked Media Principles (2009)
➔ extend Linked Data for updates using REST principles (HTTP):
➔ GET: returns a resource (as in Linked Data)
➔ POST: creates a new resource and uploads content or metadata
➔ PUT: updates content or metadata of a resource
➔ DELETE: removes a resource and all associated information
➔ extend Linked Data for arbitrary media formats using MIME:
➔ controlled by Accept: (in case of GET) and Content-Type: (in case of
PUT/POST) HTTP headers
➔ header value: MIME type (e.g. text/turtle or image/jpeg) and type of
relationship (e.g. rel=content or rel=meta)
➔ accessing a resource with GET or PUT redirects to the actual
representation specified by MIME type and relationship
Linked Media Principles (2009)
➔ Example 1: Retrieve HTML table representation of resource metadata
➔ Example 2: Retrieve HTML content of resource
➔ Example 3: Update resource metadata
GET http://data.redlink.io/resource/1234
Accept: text/html; rel=meta
GET http://data.redlink.io/resource/1234
Accept: text/html; rel=content
PUT http://data.redlink.io/resource/1234
Content-Type: text/turtle; rel=meta
<http://data.redlink.io/resource/1234>
mm:hasFragment <http://data.redlink.io/resource/1234#t=0,10>
Background:
Media Fragments URI &
Ontology for Media Resources
Media Fragments URI
➔ media content currently treated as „black box binary content“
➔ interaction only via plugin or special browser support
➔ linking to a subsequence of a video not possible
➔ Media Fragments URI: use the „fragment“ part of a URI to
encode temporal and spatial subsequences
➔ Examples:
Identify the sequence from second 3 to second 10 of the video:
http://data.redlink.io/resource/cliff_diving.ogg#t=3,10
Identify the spatial box 320x240 at x=160 and y=120 of the video
http://data.redlink.io/resource/cliff_diving.ogg#xywh=160,120,320,240
Ontology for Media Resources
➔ common data model for representing video metadata:
➔ identification
➔ creation (hasCreator, hasPublisher, ...)
➔ content description (hasLanguage, hasGenre, hasKeyword,...)
➔ rights and distribution (hasPermissions, hasTargetAudience, ...)
➔ technical properties (hasCompression, hasFormat, ...)
➔ fragments (hasFragment, hasChapter, ...)
➔ mapping tables from the most popular video metadata formats to
the Ontology for Media Resources (EXIF, MPEG-7, TV-Anytime,
YouTube, ID3)
Combining Media Fragments and Media Ontology
➔ use Media Fragment URIs to uniquely identify fragments of
media content
➔ browser compatibility
➔ Linked Data compatibility
➔ use Ontology for Media Resources to describe these fragments
➔ RDF compatibility
➔ rich description graph with SPARQL querying
Combining Media Fragments and Media Ontology
@prefix ma: <http://www.w3.org/ns/ma-ont#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix dct: <http://purl.org/dc/terms/> .
<http://example.org/v1> a ma:MediaResource;
rdfs:label "A sports video";
ma:locator <http://my.videos.org/v1.mp4>;
ma:hasFragment <http://example.org/v1#fragment1>;
ma:hasFragment <http://example.org/v1#fragment2>.
<http://example.org/v1#fragment1> ma:locator
<http://my.videos.org/v1.mp4#xywh=percent:26,20,22,80&t=194,198>;
dct:subject <http://example.org/person/Connor_Macfarlane>.
<http://example.org/v1#fragment2> ma:locator
<http://my.videos.org/v1.mp4#xywh=percent:71,0,29,100&t=193,198>;
dct:subject <http://example.org/person/Lewis_Jones>.
<http://example.org/person/Connor_Macfarlane>
foaf:name "Connor Macfarlane".
<http://example.org/person/Lewis_Jones> foaf:name "Lewis Jones".
Combining Media Fragments and Media Ontology
Implementation:
The Linked Media Framework
Behind the Scenes: Linked Media Framework
 Linked Data Server with updates and uniform management of content and
metadata => particularly well-suited for multimedia content and metadata!
 Linked Media Principles for resource-centric access to content and
metadata
 SPARQL Query and SPARQL Update 1.1 for structural updating and
querying
 Modules for Reasoning, Semantic Search, Linked Data Caching, Versioning,
and Social Media
 Specialised on Linked Media and Linked Enterprise Content
Code, Installer, Screencasts and more:
http://code.google.com/p/lmf/
Linked Media Framework (Architecture)
LMF Semantic Search
 Facetted Search over Content and Metadata with SOLR compatible API
 RDF Path Language for configurable Metadata Indexing
 Multiple Cores with different configurations to adapt to different search
requirements
LMF Reasoning
 Rule-based reasoning over triples in the LMF triple store to represent implicit
knowledge
 Reason maintenance allows to describe justifications for inferences
 adapted version of sKWRL rule language:
 more efficient implementation,
 improved reason maintenance
LMF Linked Data Caching
 transparently retrieves linked resources from the Linked Data cloud when needed
(e.g. LD Path or SPARQL query)
 powerful component for integrating with other information systems exposing their
data as Linked Media or Linked Data
 adapters for services offering their data in proprietary formats (e.g. YouTube, Vimeo,
…)
LMF Classification and Sentiment Analysis
 support for statistical text classification, allows to train different classifiers with sample
texts for arbitrary categories
 suggest most likely category for a text according to similarity with training data
 analyse text for positive or negative sentiment (German and English)
25
LMF Social Media Integration
 allows linking to social media resources, e.g. Facebook or Google accounts, videos,
interests
 allows authentication and data import from selected social media services
(Facebook, YouTube, generic RSS)
LMF Versioning
 keeps history of updates in the Linked Media Framework
 provides information for trust and provenance
of data, e.g. annotations added to the system
Use Case:
Red Bull Semantic Search Prototype
Media Fragment Search
Spatial and Temporal Fragments
Use Case:
LIME Media Player (ConnectMe Project)
LIME Player: Interaction with Fragments
Standardisation:
The Linked Data Platform
Linked Data Platform: Introduction
➔ recommendation draft of the LDP working group at W3C
➔ support for „read/write Linked Data“
➔ support for RDF and non-RDF resources
➔ can be used as an alternative for Linked Media Principles
➔ advantage of standardisation and wide adoption
➔ considerably more complex standard and protocol
➔ URL: http://www.w3.org/TR/ldp/
Linked Data Platform: Concepts
➔ access and interaction according to REST webservice principles
➔ GET: returns description of a resource
➔ POST: creates a new resource
➔ PUT: replaces the description of a resource
➔ DELETE: removes the description of a resource
➔ Linked Data Platform Resources (LDP-R)
➔ RDF resources (LDP-RS): RDF description of a resource
➔ non-RDF resources (LDP-NR): arbitrary (media) content
➔ Linked Data Platform Containers (LDP-C)
➔ collection of LDP resources, e.g. „students“, „professors“, „lectures“
➔ basic container (LDP-BC): simple collection of resources with common URI prefix
➔ direct container (LDP-DC): collection with explicit membership (as triple)
➔ indirect container (LDP-IC): collection with implicit membership (based on content)
LDP Basic Containers (LDP-BC)
➔ collection of LDP resources
➔ identification via common URI prefix, e.g.
http://example.com/container1/a
http://example.com/container1/b
➔ can contain both RDF and non-RDF resources at the same time
➔ container is itself an RDF resource
➔ description as RDF:
@base <http://example.com/container1/>
@prefix dcterms: <http://purl.org/dc/terms/>.
@prefix ldp: <http://www.w3.org/ns/ldp#>.
<>
a ldp:BasicContainer;
dcterms:title "A very simple container";
ldp:contains <a>, <b>, <c>.
Introducing Apache Marmotta
Apache Marmotta
➔ a simplification of the Linked Media Framework taking core
components:
➔ Linked Data Server with SPARQL 1.1
➔ Linked Data Cache
➔ Versioning, Reasoning
➔ no search, no content analysis
➔ reference implementation of the Linked Data Platform and
participation in W3C working group
➔ highly modular and extensible to build custom Linked Data
applications (both client and server)
http://marmotta.apache.org
Apache Marmotta: Architecture
Querying Multimedia Fragments
SPARQL-MM: Introduction
➔ extension of SPARQL with specific multimedia functions and
relations, implemented in Apache Marmotta
RelationFunction Aggregation Function
Spatial mm:rightBeside mm:spatialIntersection
mm:spatialOverlaps mm:spatialBoundingBox
… …
Temporal mm:after mm:temporalIntersection
mm:temoralOverlaps mm:temporalIntermediate
… …
Combined mm:overlaps mm:boundingBox
mm:contains mm:intersection
A list of all functions can be found at:
https://github.com/tkurz/sparql-mm/blob/master/sparql-mm/functions.md
SPARQL-MM: A sample query
Give me the spatio-temporal snippet that shows Lewis Jones
right beside Connor Macfarlane.
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX mm: <http://linkedmultimedia.org/sparql-mm/functions#>
PREFIX ma: <http://www.w3.org/ns/ma-ont#>
PREFIX dct: <http://purl.org/dc/terms/>
SELECT (mm:boundingBox(?l1,?l2) AS ?two_guys) WHERE {
?f1 ma:locator ?l1; dct:subject ?p1.
?p1 foaf:name "Lewis Jones".
?f2 ma:locator ?l2; dct:subject ?p2.
?p2 foaf:name "Connor Macfarlane".
FILTER mm:rightBeside(?l1,?l2)
FILTER mm:temporalOverlaps(?l1,?l2)
}
SPARQL-MM: A sample query
mm:boundingBox(?l1,?l2)
SPARQL-MM: Demo
DEMO!
Conclusions
Conclusions
➔ semantic media asset management requires management and
interaction with both content and metadata
➔ Linked Media Principles (2009) were a first approach to extend
Linked Data with support for semantic media asset
management
➔ Linked Data Platform (W3C working draft) supersedes Linked
Media Principles, as it covers the same aspects and more
➔ semantic media asset management requires specific media
access and querying
➔ Media Fragments URI (W3C) to identify media fragments
➔ Ontology for Media Resources (W3C) to describe media
fragments
➔ SPARQL-MM to query media fragment descriptions
Thanks for your Attention!
Dr. Sebastian Schaffert
Chief Technology Officer
Redlink GmbH
sebastian.schaffert@redlink.co
Ad

Recommended

PDF
Introduction to LDP in Apache Marmotta
Sergio Fernández
 
PDF
Semantic Media Management with Apache Marmotta
Thomas Kurz
 
PDF
Linked Media Management with Apache Marmotta
Thomas Kurz
 
ODP
Apache Marmotta - Introduction
Sebastian Schaffert
 
PDF
Apache Marmotta (incubating)
Sergio Fernández
 
PDF
Enabling access to Linked Media with SPARQL-MM
Thomas Kurz
 
PDF
Drupal and Apache Stanbol. What if you could reliably do autotagging?
Gabriel Dragomir
 
PDF
Slides semantic web and Drupal 7 NYCCamp 2012
scorlosquet
 
PDF
Customizing CKAN
OKCon2013
 
PDF
Tools for Next Generation of CMS: XML, RDF, & GRDDL
Chimezie Ogbuji
 
ODP
Ckan tutorial odw2013 131109
Chengjen Lee
 
PPTX
CKAN as an open-source data management solution for open data
AIMS (Agricultural Information Management Standards)
 
PDF
Virtuoso RDF Triple Store Analysis Benchmark & mapping tools RDF / OO
Paolo Cristofaro
 
ODP
HCE project brief
Gennady Baranov
 
ODP
Open Data and CKAN Data Catalogues
david-read
 
PDF
OAISRB
Jigar Kadakia
 
PPT
Virtuoso Sponger - RDFizer Middleware for creating RDF from non RDF Data Sources
rumito
 
PPTX
An Approach for the Incremental Export of Relational Databases into RDF Graphs
Nikolaos Konstantinou
 
PDF
Towards a Commons RDF Library - ApacheCon Europe 2014
Sergio Fernández
 
PDF
Linked data tooling XML
FREMEProjectH2020
 
KEY
Legislation.gov.uk
Jeni Tennison
 
PPTX
dotNetRDF - A Semantic Web/RDF Library for .Net Developers
Rob Vesse
 
PDF
Open Data Node - Platform and Methodology - 2015-May
Comsode - FP7 project
 
PDF
Audio MD Metadata Scheme
Ariel Hess
 
PPTX
PERICLES Information Packaging Techniques
PERICLES_FP7
 
PDF
What Apache Stanbol Can Do for You
Fabian Christ
 
PDF
Geospatial Querying in Apache Marmotta - Apache Big Data North America 2016
Sergio Fernández
 

More Related Content

What's hot (20)

PDF
Customizing CKAN
OKCon2013
 
PDF
Tools for Next Generation of CMS: XML, RDF, & GRDDL
Chimezie Ogbuji
 
ODP
Ckan tutorial odw2013 131109
Chengjen Lee
 
PPTX
CKAN as an open-source data management solution for open data
AIMS (Agricultural Information Management Standards)
 
PDF
Virtuoso RDF Triple Store Analysis Benchmark & mapping tools RDF / OO
Paolo Cristofaro
 
ODP
HCE project brief
Gennady Baranov
 
ODP
Open Data and CKAN Data Catalogues
david-read
 
PDF
OAISRB
Jigar Kadakia
 
PPT
Virtuoso Sponger - RDFizer Middleware for creating RDF from non RDF Data Sources
rumito
 
PPTX
An Approach for the Incremental Export of Relational Databases into RDF Graphs
Nikolaos Konstantinou
 
PDF
Towards a Commons RDF Library - ApacheCon Europe 2014
Sergio Fernández
 
PDF
Linked data tooling XML
FREMEProjectH2020
 
KEY
Legislation.gov.uk
Jeni Tennison
 
PPTX
dotNetRDF - A Semantic Web/RDF Library for .Net Developers
Rob Vesse
 
PDF
Open Data Node - Platform and Methodology - 2015-May
Comsode - FP7 project
 
PDF
Audio MD Metadata Scheme
Ariel Hess
 
PPTX
PERICLES Information Packaging Techniques
PERICLES_FP7
 
Customizing CKAN
OKCon2013
 
Tools for Next Generation of CMS: XML, RDF, & GRDDL
Chimezie Ogbuji
 
Ckan tutorial odw2013 131109
Chengjen Lee
 
CKAN as an open-source data management solution for open data
AIMS (Agricultural Information Management Standards)
 
Virtuoso RDF Triple Store Analysis Benchmark & mapping tools RDF / OO
Paolo Cristofaro
 
HCE project brief
Gennady Baranov
 
Open Data and CKAN Data Catalogues
david-read
 
Virtuoso Sponger - RDFizer Middleware for creating RDF from non RDF Data Sources
rumito
 
An Approach for the Incremental Export of Relational Databases into RDF Graphs
Nikolaos Konstantinou
 
Towards a Commons RDF Library - ApacheCon Europe 2014
Sergio Fernández
 
Linked data tooling XML
FREMEProjectH2020
 
Legislation.gov.uk
Jeni Tennison
 
dotNetRDF - A Semantic Web/RDF Library for .Net Developers
Rob Vesse
 
Open Data Node - Platform and Methodology - 2015-May
Comsode - FP7 project
 
Audio MD Metadata Scheme
Ariel Hess
 
PERICLES Information Packaging Techniques
PERICLES_FP7
 

Viewers also liked (12)

PDF
What Apache Stanbol Can Do for You
Fabian Christ
 
PDF
Geospatial Querying in Apache Marmotta - Apache Big Data North America 2016
Sergio Fernández
 
PDF
Linking Media and Data using Apache Marmotta (LIME workshop keynote)
LinkedTV
 
PDF
(Enterprise) Linked Data Platform a new standard to manage LOD
Diego Valerio Camarda
 
PPTX
Apache marmotta
Efren Narváez
 
PPTX
Introduction to Linked Data Platform (LDP)
Hector Correa
 
PPTX
Linked Data Platform as a novel approach for Enterprise Application Integra...
Nandana Mihindukulasooriya
 
PPTX
LDP Presentation
hayelikahn
 
PPTX
Learning W3C Linked Data Platform with examples
Nandana Mihindukulasooriya
 
PPTX
Why do they call it Linked Data when they want to say...?
Oscar Corcho
 
PDF
Semantic Integration with Apache Jena and Stanbol
All Things Open
 
PPTX
Introduction to W3C Linked Data Platform
Nandana Mihindukulasooriya
 
What Apache Stanbol Can Do for You
Fabian Christ
 
Geospatial Querying in Apache Marmotta - Apache Big Data North America 2016
Sergio Fernández
 
Linking Media and Data using Apache Marmotta (LIME workshop keynote)
LinkedTV
 
(Enterprise) Linked Data Platform a new standard to manage LOD
Diego Valerio Camarda
 
Apache marmotta
Efren Narváez
 
Introduction to Linked Data Platform (LDP)
Hector Correa
 
Linked Data Platform as a novel approach for Enterprise Application Integra...
Nandana Mihindukulasooriya
 
LDP Presentation
hayelikahn
 
Learning W3C Linked Data Platform with examples
Nandana Mihindukulasooriya
 
Why do they call it Linked Data when they want to say...?
Oscar Corcho
 
Semantic Integration with Apache Jena and Stanbol
All Things Open
 
Introduction to W3C Linked Data Platform
Nandana Mihindukulasooriya
 
Ad

Similar to Linked Media and Data Using Apache Marmotta (20)

PDF
The importance of Linked Media to the Future Web
LinkedTV
 
PPT
ConnectME: connecting content for future TV & video
connectme_project
 
PDF
Media Fragments Indexing using Social Media
LinkedTV
 
ODP
Linked Data
Danny Ayers
 
PDF
Semantics on services: the story so far (SALAD2015 keynote at ESWC2015)
Sergio Fernández
 
PPT
No tube & experimenting with linked data to improve ux
vickybuser
 
PDF
Linked Data - Overview and Potentials
Tobias Bürger
 
PDF
20080509 webresearch lifshits_lecture01
Computer Science Club
 
PDF
NoTube: experimenting with Linked Data to improve user experience
MODUL Technology GmbH
 
PPTX
Application integration with the W3C Linked Data standards
Nandana Mihindukulasooriya
 
PDF
Remixing Media on the Web: Media Fragment Specification and Semantics
MediaMixerCommunity
 
PPT
Interlinking Multimedia: How to Apply Linked Data Principles to Multimedia F...
Raphael Troncy
 
PDF
Survey of Semantic Media Annotation Tools - towards New Media Applications wi...
LinkedTV
 
PPT
MPEG-7 Services in Community Engines
Ralf Klamma
 
PDF
Methodological Guidelines for Publishing Linked Data
Boris Villazón-Terrazas
 
PPT
Remixing Media on the Semantic Web (ISWC2014 Tutorial) Pt 2 Linked Media: An...
LinkedTV
 
PDF
ISWC GoodRelations Tutorial Part 2
Martin Hepp
 
PDF
GoodRelations Tutorial Part 2
guestecacad2
 
PDF
SAMT09 - Web of Data Tutorial - Part 2
Bernhard Haslhofer
 
PPT
Re-using Media on the Web Tutorial: Introduction and Examples
MediaMixerCommunity
 
The importance of Linked Media to the Future Web
LinkedTV
 
ConnectME: connecting content for future TV & video
connectme_project
 
Media Fragments Indexing using Social Media
LinkedTV
 
Linked Data
Danny Ayers
 
Semantics on services: the story so far (SALAD2015 keynote at ESWC2015)
Sergio Fernández
 
No tube & experimenting with linked data to improve ux
vickybuser
 
Linked Data - Overview and Potentials
Tobias Bürger
 
20080509 webresearch lifshits_lecture01
Computer Science Club
 
NoTube: experimenting with Linked Data to improve user experience
MODUL Technology GmbH
 
Application integration with the W3C Linked Data standards
Nandana Mihindukulasooriya
 
Remixing Media on the Web: Media Fragment Specification and Semantics
MediaMixerCommunity
 
Interlinking Multimedia: How to Apply Linked Data Principles to Multimedia F...
Raphael Troncy
 
Survey of Semantic Media Annotation Tools - towards New Media Applications wi...
LinkedTV
 
MPEG-7 Services in Community Engines
Ralf Klamma
 
Methodological Guidelines for Publishing Linked Data
Boris Villazón-Terrazas
 
Remixing Media on the Semantic Web (ISWC2014 Tutorial) Pt 2 Linked Media: An...
LinkedTV
 
ISWC GoodRelations Tutorial Part 2
Martin Hepp
 
GoodRelations Tutorial Part 2
guestecacad2
 
SAMT09 - Web of Data Tutorial - Part 2
Bernhard Haslhofer
 
Re-using Media on the Web Tutorial: Introduction and Examples
MediaMixerCommunity
 
Ad

More from Sebastian Schaffert (7)

PPTX
Knowledge and Media Technologies at Salzburg Research
Sebastian Schaffert
 
PPTX
KiWi - a platform for Semantic Social Software
Sebastian Schaffert
 
PDF
Semantic Search for Media Portals
Sebastian Schaffert
 
PDF
KiWi - Knowledge in a Wiki
Sebastian Schaffert
 
PDF
IkeWiki Tutorial
Sebastian Schaffert
 
PDF
The KiWi Vision
Sebastian Schaffert
 
PDF
Social Software und Web 2.0: Semantic Wikis, Social Tagging und eLearning 2.0
Sebastian Schaffert
 
Knowledge and Media Technologies at Salzburg Research
Sebastian Schaffert
 
KiWi - a platform for Semantic Social Software
Sebastian Schaffert
 
Semantic Search for Media Portals
Sebastian Schaffert
 
KiWi - Knowledge in a Wiki
Sebastian Schaffert
 
IkeWiki Tutorial
Sebastian Schaffert
 
The KiWi Vision
Sebastian Schaffert
 
Social Software und Web 2.0: Semantic Wikis, Social Tagging und eLearning 2.0
Sebastian Schaffert
 

Recently uploaded (20)

PPTX
原版一样(ISM毕业证书)德国多特蒙德国际管理学院毕业证多少钱
taqyed
 
PDF
B M Mostofa Kamal Al-Azad [Document & Localization Expert]
Mostofa Kamal Al-Azad
 
PPTX
IAREUOUSTPIDWHY$)CHARACTERARERWUEEJJSKWNSND
notgachabite123
 
PPTX
原版澳洲斯文本科技大学毕业证(SUT毕业证书)如何办理
taqyed
 
PDF
Clive Dickens RedTech Public Copy - Collaborate or Die
Clive Dickens
 
PDF
Logging and Automated Alerting Webinar.pdf
ControlCase
 
PDF
Global Networking Trends, presented at the India ISP Conclave 2025
APNIC
 
PPTX
最新版加拿大奎斯特大学毕业证(QUC毕业证书)原版定制
taqyed
 
PPTX
ChatGPT_and_Its_Uses_Presentationss.pptx
Neha Prakash
 
PPTX
最新版美国特拉华大学毕业证(UDel毕业证书)原版定制
taqyea
 
PPTX
BASICS OF SAP _ ALL ABOUT SAP _WHY SAP OVER ANY OTHER ERP SYSTEM
AhmadAli716831
 
PDF
Paper: The World Game (s) Great Redesign.pdf
Steven McGee
 
PDF
ChatGPT A.I. Powered Chatbot and Popularization.pdf
StanleySamson1
 
PDF
Transmission Control Protocol (TCP) and Starlink
APNIC
 
PPTX
BitRecover OST to PST Converter Software
antoniogosling01
 
PPTX
history of internet in nepal Class-8 (sparsha).pptx
SPARSH508080
 
PPTX
Q1 English3 Week5 [email protected]
JenniferCawaling1
 
PPT
Almos Entirely Correct Mixing with Apps to Voting
gapati2964
 
PPTX
Pitch PitchPitchPitchPitchPitchPitch.pptx
157551
 
PDF
DDoS in India, presented at INNOG 8 by Dave Phelan
APNIC
 
原版一样(ISM毕业证书)德国多特蒙德国际管理学院毕业证多少钱
taqyed
 
B M Mostofa Kamal Al-Azad [Document & Localization Expert]
Mostofa Kamal Al-Azad
 
IAREUOUSTPIDWHY$)CHARACTERARERWUEEJJSKWNSND
notgachabite123
 
原版澳洲斯文本科技大学毕业证(SUT毕业证书)如何办理
taqyed
 
Clive Dickens RedTech Public Copy - Collaborate or Die
Clive Dickens
 
Logging and Automated Alerting Webinar.pdf
ControlCase
 
Global Networking Trends, presented at the India ISP Conclave 2025
APNIC
 
最新版加拿大奎斯特大学毕业证(QUC毕业证书)原版定制
taqyed
 
ChatGPT_and_Its_Uses_Presentationss.pptx
Neha Prakash
 
最新版美国特拉华大学毕业证(UDel毕业证书)原版定制
taqyea
 
BASICS OF SAP _ ALL ABOUT SAP _WHY SAP OVER ANY OTHER ERP SYSTEM
AhmadAli716831
 
Paper: The World Game (s) Great Redesign.pdf
Steven McGee
 
ChatGPT A.I. Powered Chatbot and Popularization.pdf
StanleySamson1
 
Transmission Control Protocol (TCP) and Starlink
APNIC
 
BitRecover OST to PST Converter Software
antoniogosling01
 
history of internet in nepal Class-8 (sparsha).pptx
SPARSH508080
 
Almos Entirely Correct Mixing with Apps to Voting
gapati2964
 
Pitch PitchPitchPitchPitchPitchPitch.pptx
157551
 
DDoS in India, presented at INNOG 8 by Dave Phelan
APNIC
 

Linked Media and Data Using Apache Marmotta

  • 1. Linking Media and Data using Apache Marmotta Keynote at LIME 2014 Workshop Sebastian Schaffert and Thomas Kurz
  • 2. Contents ➔Motivation: The Red Bull Content Pool ➔Background: ➔ Linked Media Principles ➔ Media Fragments and Media Ontology ➔Implementation: Linked Media Framework ➔ Red Bull Use Case ➔ ConnectMe Use Case ➔Standardising: The Linked Data Platform ➔Introducing Apache Marmotta ➔Querying for Multimedia Fragments: SPARQL-MM 2009 2011 2013 2014
  • 3. Motivation: The Red Bull Content Pool
  • 4. Linked Media (2009) Linked Media = Linked People + Linked Content + Linked Data
  • 5. Motivation: The Red Bull Content Pool ➔ online archive containing video and image material related to extreme sports events organised by Red Bull ➔ business-to-business portal where journalists can get material for further broadcasting (mostly for free) ➔ material comes with metadata in the form of tables in word documents: ➔ interview transcriptions (with time interval start/end second) ➔ scene descriptions (with time interval start/end second) ➔ music cue sheets (copyright information about background music tracks)
  • 6. Motivation: The Red Bull Content Pool (2009)
  • 7. Motivation: The Red Bull Content Pool ➔Problems: ➔ videos consist of series of scenes with many different persons ➔ scanning through a video to find a particular scene is a huge amount of work ➔ metadata is valuable but not really exploited for searching videos and while playing videos
  • 8. Can we help Markus? Name: Markus Occupation: sports journalist Company: RegioTV Pinzgau Objective: create report about cliff diving Requires: videos, background info, contacts How can we help Markus?  efficient and precise search in the Red Bull Content Pool  compact and relevant display of background information  contacts (e.g. website,email) of athletes, other journalists, etc. fast and successful creation of the report
  • 10. Linked Media Principles (2009) ➔ Linked Data is „read-only“ i.e. focus was on publication of big datasets, not the interaction with data  a system for managing media assets needs to be capable of updating resources and their metadata ➔ Linked Data is „data-only“ i.e. a resource is represented either as RDF metadata for machines or as HTML tables for humans, but in all cases it is metadata and not content  a system for managing media assets needs to be capable of managing both media content and metadata about that content
  • 11. Linked Media Principles (2009) ➔ extend Linked Data for updates using REST principles (HTTP): ➔ GET: returns a resource (as in Linked Data) ➔ POST: creates a new resource and uploads content or metadata ➔ PUT: updates content or metadata of a resource ➔ DELETE: removes a resource and all associated information ➔ extend Linked Data for arbitrary media formats using MIME: ➔ controlled by Accept: (in case of GET) and Content-Type: (in case of PUT/POST) HTTP headers ➔ header value: MIME type (e.g. text/turtle or image/jpeg) and type of relationship (e.g. rel=content or rel=meta) ➔ accessing a resource with GET or PUT redirects to the actual representation specified by MIME type and relationship
  • 12. Linked Media Principles (2009) ➔ Example 1: Retrieve HTML table representation of resource metadata ➔ Example 2: Retrieve HTML content of resource ➔ Example 3: Update resource metadata GET http://data.redlink.io/resource/1234 Accept: text/html; rel=meta GET http://data.redlink.io/resource/1234 Accept: text/html; rel=content PUT http://data.redlink.io/resource/1234 Content-Type: text/turtle; rel=meta <http://data.redlink.io/resource/1234> mm:hasFragment <http://data.redlink.io/resource/1234#t=0,10>
  • 13. Background: Media Fragments URI & Ontology for Media Resources
  • 14. Media Fragments URI ➔ media content currently treated as „black box binary content“ ➔ interaction only via plugin or special browser support ➔ linking to a subsequence of a video not possible ➔ Media Fragments URI: use the „fragment“ part of a URI to encode temporal and spatial subsequences ➔ Examples: Identify the sequence from second 3 to second 10 of the video: http://data.redlink.io/resource/cliff_diving.ogg#t=3,10 Identify the spatial box 320x240 at x=160 and y=120 of the video http://data.redlink.io/resource/cliff_diving.ogg#xywh=160,120,320,240
  • 15. Ontology for Media Resources ➔ common data model for representing video metadata: ➔ identification ➔ creation (hasCreator, hasPublisher, ...) ➔ content description (hasLanguage, hasGenre, hasKeyword,...) ➔ rights and distribution (hasPermissions, hasTargetAudience, ...) ➔ technical properties (hasCompression, hasFormat, ...) ➔ fragments (hasFragment, hasChapter, ...) ➔ mapping tables from the most popular video metadata formats to the Ontology for Media Resources (EXIF, MPEG-7, TV-Anytime, YouTube, ID3)
  • 16. Combining Media Fragments and Media Ontology ➔ use Media Fragment URIs to uniquely identify fragments of media content ➔ browser compatibility ➔ Linked Data compatibility ➔ use Ontology for Media Resources to describe these fragments ➔ RDF compatibility ➔ rich description graph with SPARQL querying
  • 17. Combining Media Fragments and Media Ontology @prefix ma: <http://www.w3.org/ns/ma-ont#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix foaf: <http://xmlns.com/foaf/0.1/> . @prefix dct: <http://purl.org/dc/terms/> . <http://example.org/v1> a ma:MediaResource; rdfs:label "A sports video"; ma:locator <http://my.videos.org/v1.mp4>; ma:hasFragment <http://example.org/v1#fragment1>; ma:hasFragment <http://example.org/v1#fragment2>. <http://example.org/v1#fragment1> ma:locator <http://my.videos.org/v1.mp4#xywh=percent:26,20,22,80&t=194,198>; dct:subject <http://example.org/person/Connor_Macfarlane>. <http://example.org/v1#fragment2> ma:locator <http://my.videos.org/v1.mp4#xywh=percent:71,0,29,100&t=193,198>; dct:subject <http://example.org/person/Lewis_Jones>. <http://example.org/person/Connor_Macfarlane> foaf:name "Connor Macfarlane". <http://example.org/person/Lewis_Jones> foaf:name "Lewis Jones".
  • 18. Combining Media Fragments and Media Ontology
  • 20. Behind the Scenes: Linked Media Framework  Linked Data Server with updates and uniform management of content and metadata => particularly well-suited for multimedia content and metadata!  Linked Media Principles for resource-centric access to content and metadata  SPARQL Query and SPARQL Update 1.1 for structural updating and querying  Modules for Reasoning, Semantic Search, Linked Data Caching, Versioning, and Social Media  Specialised on Linked Media and Linked Enterprise Content Code, Installer, Screencasts and more: http://code.google.com/p/lmf/
  • 21. Linked Media Framework (Architecture)
  • 22. LMF Semantic Search  Facetted Search over Content and Metadata with SOLR compatible API  RDF Path Language for configurable Metadata Indexing  Multiple Cores with different configurations to adapt to different search requirements
  • 23. LMF Reasoning  Rule-based reasoning over triples in the LMF triple store to represent implicit knowledge  Reason maintenance allows to describe justifications for inferences  adapted version of sKWRL rule language:  more efficient implementation,  improved reason maintenance
  • 24. LMF Linked Data Caching  transparently retrieves linked resources from the Linked Data cloud when needed (e.g. LD Path or SPARQL query)  powerful component for integrating with other information systems exposing their data as Linked Media or Linked Data  adapters for services offering their data in proprietary formats (e.g. YouTube, Vimeo, …)
  • 25. LMF Classification and Sentiment Analysis  support for statistical text classification, allows to train different classifiers with sample texts for arbitrary categories  suggest most likely category for a text according to similarity with training data  analyse text for positive or negative sentiment (German and English) 25
  • 26. LMF Social Media Integration  allows linking to social media resources, e.g. Facebook or Google accounts, videos, interests  allows authentication and data import from selected social media services (Facebook, YouTube, generic RSS)
  • 27. LMF Versioning  keeps history of updates in the Linked Media Framework  provides information for trust and provenance of data, e.g. annotations added to the system
  • 28. Use Case: Red Bull Semantic Search Prototype
  • 30. Spatial and Temporal Fragments
  • 31. Use Case: LIME Media Player (ConnectMe Project)
  • 32. LIME Player: Interaction with Fragments
  • 34. Linked Data Platform: Introduction ➔ recommendation draft of the LDP working group at W3C ➔ support for „read/write Linked Data“ ➔ support for RDF and non-RDF resources ➔ can be used as an alternative for Linked Media Principles ➔ advantage of standardisation and wide adoption ➔ considerably more complex standard and protocol ➔ URL: http://www.w3.org/TR/ldp/
  • 35. Linked Data Platform: Concepts ➔ access and interaction according to REST webservice principles ➔ GET: returns description of a resource ➔ POST: creates a new resource ➔ PUT: replaces the description of a resource ➔ DELETE: removes the description of a resource ➔ Linked Data Platform Resources (LDP-R) ➔ RDF resources (LDP-RS): RDF description of a resource ➔ non-RDF resources (LDP-NR): arbitrary (media) content ➔ Linked Data Platform Containers (LDP-C) ➔ collection of LDP resources, e.g. „students“, „professors“, „lectures“ ➔ basic container (LDP-BC): simple collection of resources with common URI prefix ➔ direct container (LDP-DC): collection with explicit membership (as triple) ➔ indirect container (LDP-IC): collection with implicit membership (based on content)
  • 36. LDP Basic Containers (LDP-BC) ➔ collection of LDP resources ➔ identification via common URI prefix, e.g. http://example.com/container1/a http://example.com/container1/b ➔ can contain both RDF and non-RDF resources at the same time ➔ container is itself an RDF resource ➔ description as RDF: @base <http://example.com/container1/> @prefix dcterms: <http://purl.org/dc/terms/>. @prefix ldp: <http://www.w3.org/ns/ldp#>. <> a ldp:BasicContainer; dcterms:title "A very simple container"; ldp:contains <a>, <b>, <c>.
  • 38. Apache Marmotta ➔ a simplification of the Linked Media Framework taking core components: ➔ Linked Data Server with SPARQL 1.1 ➔ Linked Data Cache ➔ Versioning, Reasoning ➔ no search, no content analysis ➔ reference implementation of the Linked Data Platform and participation in W3C working group ➔ highly modular and extensible to build custom Linked Data applications (both client and server) http://marmotta.apache.org
  • 41. SPARQL-MM: Introduction ➔ extension of SPARQL with specific multimedia functions and relations, implemented in Apache Marmotta RelationFunction Aggregation Function Spatial mm:rightBeside mm:spatialIntersection mm:spatialOverlaps mm:spatialBoundingBox … … Temporal mm:after mm:temporalIntersection mm:temoralOverlaps mm:temporalIntermediate … … Combined mm:overlaps mm:boundingBox mm:contains mm:intersection A list of all functions can be found at: https://github.com/tkurz/sparql-mm/blob/master/sparql-mm/functions.md
  • 42. SPARQL-MM: A sample query Give me the spatio-temporal snippet that shows Lewis Jones right beside Connor Macfarlane. PREFIX foaf: <http://xmlns.com/foaf/0.1/> PREFIX mm: <http://linkedmultimedia.org/sparql-mm/functions#> PREFIX ma: <http://www.w3.org/ns/ma-ont#> PREFIX dct: <http://purl.org/dc/terms/> SELECT (mm:boundingBox(?l1,?l2) AS ?two_guys) WHERE { ?f1 ma:locator ?l1; dct:subject ?p1. ?p1 foaf:name "Lewis Jones". ?f2 ma:locator ?l2; dct:subject ?p2. ?p2 foaf:name "Connor Macfarlane". FILTER mm:rightBeside(?l1,?l2) FILTER mm:temporalOverlaps(?l1,?l2) }
  • 43. SPARQL-MM: A sample query mm:boundingBox(?l1,?l2)
  • 46. Conclusions ➔ semantic media asset management requires management and interaction with both content and metadata ➔ Linked Media Principles (2009) were a first approach to extend Linked Data with support for semantic media asset management ➔ Linked Data Platform (W3C working draft) supersedes Linked Media Principles, as it covers the same aspects and more ➔ semantic media asset management requires specific media access and querying ➔ Media Fragments URI (W3C) to identify media fragments ➔ Ontology for Media Resources (W3C) to describe media fragments ➔ SPARQL-MM to query media fragment descriptions
  • 47. Thanks for your Attention! Dr. Sebastian Schaffert Chief Technology Officer Redlink GmbH [email protected]