SlideShare ist ein Scribd-Unternehmen logo
1 von 20
Downloaden Sie, um offline zu lesen
Linked Data tooling and XML WWW.FREME-PROJECT.EU 1
Co-funded by the Horizon 2020
Framework Programme of the European Union
Grant Agreement Number 644771
30 JUNE 2015
Felix Sasaki
DFKI / W3C Fellow
LINKED DATA TOOLING AND XML
www.freme-project.eu
Linked Data tooling and XML WWW.FREME-PROJECT.EU 2
BACKGROUND: THE FREME PROJECT
• Two year H2020 Innovation action; start February 2020
• Industry partners leading four business cases around
digital content and (linked) data
• Technology development bridging language and data
• Outreach and business modelling demonstrating monetization of the multilingual
data value chain
Linked Data tooling and XML WWW.FREME-PROJECT.EU 3
EXAMPLES:
See
http://www.w3.org/People/fsasaki/linked-data-tooling-xml-examples.zip
Linked Data tooling and XML WWW.FREME-PROJECT.EU 4
WHAT IS LINKED DATA?
• A way to represent data on the Web
◦ Give each data item (a “resource”) an unique identifier: http://example.com/xml-ug-berlin
◦ Create links between data items; describe the type of links also via unique identifiers
- http://example.com/xml-ug-berlin
- http://schema.org/Place
- http://dbpedia.org/resource/Berlin
Means: “The XML User Group Berlin takes place in Berlin”
In linked data terminology: a triple, consisting of subject, predicate and object
• Linked data: applying Web principles to data
◦ Data item (a “resource”) = like a Web page with a web address
◦ Links between data items = links between pieces of web content
◦ Types of links are clear for the human reader
The XML User Group Berlin takes place in
<a href=”http://en.wikipedia.org/Berlin">Berlin</a>
◦ Linked data provides links in a machine readable way
Linked Data tooling and XML WWW.FREME-PROJECT.EU 5
WHAT DO YOU DO WITH LINKED DATA?
• Creation
◦ From scratch
◦ Based on existing structured data
◦ Based on existing unstructured data
• Storing
◦ RDF (“Resource Description Framework”)
• Modelling of vocabularies (not covered here)
◦ Creating schemas for linked data
◦ Using schema languages with various levels of expressivity: RDF Schema , SKOS, OWL
◦ If possible: avoid and use existing linked data vocabularies
• Consumption
◦ Query of linked data via SPARQL
• Further processing
Linked Data tooling and XML WWW.FREME-PROJECT.EU 6
LINKED DATA TOOLING AND XML – BACKGROUND
• If you embrace the linked data technology stack, use the Apache Jena Java library
◦ http://jena.apache.org/
◦ Provides all you need for linked data creation, modelling, storage and query
• This presentation assumes you want to integrate linked data processing with an XML
technology stack – potential reasons
◦ You don’t want or cannot replace existing XML tooling
◦ Your data is both XML and linked data – you need to interface between the two
◦ Your workflow assumes both XML and linked data – at least partial conversion are needed
• In general, don’t think about formal aspects of RDF – they are not needed for
integration with XML processing
Linked Data tooling and XML WWW.FREME-PROJECT.EU 7
SYNTAXES
• Linked data can be written in various syntaxes
◦ RDF/XML: XML syntax
◦ Turtle
◦ N3
◦ JSON-LD
◦ RDFa
• Examples are on the following slides
Linked Data tooling and XML WWW.FREME-PROJECT.EU 8
TURTLE SYNTAX
@prefix db: <http://dbpedia.org/resource/>.
@prefix dbont: <http://dbpedia.org/ontology/populationTotal>.
@prefix sdo: <http://schema.org/>.
<http://example.com/xml-ug-berlin> sdo:Place db:Berlin.
db:Berlin dbont:populationTotal
Structure:
• Declaration of prefixes
• Write each part of a triple (subject, predicate, object) explicitly
• Easy to read & easy to create with XML tooling
• Will be used here to create linked data
• Example: see linked-data-tooling-xml-examples/example1.ttl
Linked Data tooling and XML WWW.FREME-PROJECT.EU 9
JSON-LD SYNTAX
{
"@context": { "db": "http://dbpedia.org/resource/", … },
"@graph": [ {
"@id": "http://example.com/xml-ug-berlin",
"schema:Place": {
"@id": "dbpedia:Berlin"
} },
{
"@id": "dbpedia:Berlin",
"dbont:populationTotal": 3415091
} ] }
• Full example: see linked-data-tooling-xml-examples/example1.json
Linked Data tooling and XML WWW.FREME-PROJECT.EU 10
RDF/XML SYNTAX
<rdf:RDF …>
<rdf:Description rdf:about="http://example.com/xml-ug-berlin">
<sdo:Place>
<rdf:Description rdf:about="http://dbpedia.org/resource/Berlin">
<dbont:populationTotal
rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">3415091</dbont:popula
tionTotal>
</rdf:Description>
</sdo:Place>
</rdf:Description>
</rdf:RDF>
• Full example: see linked-data-tooling-xml-examples/example1.xml
Linked Data tooling and XML WWW.FREME-PROJECT.EU 11
FURTHER SYNTAXES
• See linked-data-tooling-xml-examples folder
◦ Microdata: example1-microdata.html
◦ RDFa: example1-rdfa.html
◦ N-Triples: example1.nt
• Tooling for conversion and validation
◦ Conversion: http://rdf-translator.appspot.com/
◦ Conversion: http://www.easyrdf.org/converter
◦ JSON-LD checking: http://json-ld.org/playground/index.html
◦ RDF/XML validation: http://www.w3.org/RDF/Validator/
Linked Data tooling and XML WWW.FREME-PROJECT.EU 12
EXAMPLE: CONVERTING A TABLE TO LINKED DATA
Files:
• XML file with table: linked-data-tooling-xml-examples/table.xml
• XSLT stylesheet to create turtle file: linked-data-tooling-xml-examples/table2ttl.xsl
• Ouput in TTL: linked-data-tooling-xml-examples/table.ttl
Linked Data tooling and XML WWW.FREME-PROJECT.EU 13
EXAMPLE: CONVERTING A TABLE TO LINKED DATA
Files:
• XML file with table: linked-data-tooling-xml-examples/table.xml
• XSLT stylesheet to create turtle file: linked-data-tooling-xml-examples/table2ttl.xsl
• Ouput in TTL: linked-data-tooling-xml-examples/table.ttl
Lessons learned:
• Conversions are data and vocabulary specific
• Good practices
◦ Use existing linked data vocabularies
◦ Link to existing linked data sources
Linked Data tooling and XML WWW.FREME-PROJECT.EU 14
EXAMPLE: XML FORMAT SPECIFIC CONVERSION
Format “XLIFF”
Files:
• XLIFF Input file: linked-data-tooling-xml-examples/example-xliff.xlf
• XSLT stylesheet to create turtle file: linked-data-tooling-xml-examples/xliff-to-nif.xsl
• Output in TTL: linked-data-tooling-xml-examples/example-xliff.ttl
Linked Data tooling and XML WWW.FREME-PROJECT.EU 15
SERVE YOUR OWN LINKED DATA
• Widely used server: Apache Jena Fuseki
◦ http://jena.apache.org/documentation/serving_data/
• Usage
1. Convert your XML data to RDF (see previous slides)
2. Install Apache Fuseki (with Java available: download > unzip > start server)
3. Add data via Fuseki Web interface http://localhost:3030
4. Run SPARQL queries
Linked Data tooling and XML WWW.FREME-PROJECT.EU 16
QUERYING LINKED DATA VIA XSLT
Files:
• XSLT stylesheet that processes linked data:
linked-data-tooling-xml-examples/generate-markup-person.xsl
• ePub file that has the unstructured content
Workflow:
• Stylesheet uses text content as input to linked data query
• Query executed via SPARQL, uses Dbpedia SPARQL endpoint
• Output is available in SPARQL query output format
◦ Has also XML syntax
◦ See example at linked-data-tooling-xml-examples/sparql-output.xml
◦ Can then be processed in XSLT
Linked Data tooling and XML WWW.FREME-PROJECT.EU 17
SUMMARY – LINKED DATA AND XML TOOLING
• Easy to produce with existing XML content
◦ Use approaches for structured and unstructured content
◦ Store linked data in turtle syntax
◦ Provide via triple store
• Easy to consume in XML tool chains
◦ Output of SPARQL queries: use XML based SPARQL result format
◦ Queries of public and your own data sets
• Main missing piece: knowledge transfer - e.g. about
◦ Adequate syntaxes in your (XML) workflow
◦ Existing data sets: sustainability, quality, licenses, …
◦ How to interrelate linked data queries with XSLT (= via XML result format)
Linked Data tooling and XML WWW.FREME-PROJECT.EU 18
FURTHER TOPICS
• Linked data support in XML data base solutions
◦ Example MarkLogic
• Combined data and language processing
◦ See FREME project
Linked Data tooling and XML WWW.FREME-PROJECT.EU 19
Co-funded by the Horizon 2020
Framework Programme of the European Union
Grant Agreement Number 644771
30 JUNE 2015
Felix Sasaki
DFKI / W3C Fellow
LINKED DATA TOOLING AND XML
www.freme-project.eu
Linked Data tooling and XML WWW.FREME-PROJECT.EU 20
CONTACTS
Felix Sasaki
E-mail: info@freme-project.eu
CONSORTIUM

Weitere ähnliche Inhalte

Was ist angesagt?

Visual Ontology Modeling for Domain Experts and Business Users with metaphactory
Visual Ontology Modeling for Domain Experts and Business Users with metaphactoryVisual Ontology Modeling for Domain Experts and Business Users with metaphactory
Visual Ontology Modeling for Domain Experts and Business Users with metaphactoryPeter Haase
 
Scaling up Linked Data
Scaling up Linked DataScaling up Linked Data
Scaling up Linked DataEUCLID project
 
Getting Started with Knowledge Graphs
Getting Started with Knowledge GraphsGetting Started with Knowledge Graphs
Getting Started with Knowledge GraphsPeter Haase
 
EC-WEB: Validator and Preview for the JobPosting Data Model of Schema.org
EC-WEB: Validator and Preview for the JobPosting Data Model of Schema.orgEC-WEB: Validator and Preview for the JobPosting Data Model of Schema.org
EC-WEB: Validator and Preview for the JobPosting Data Model of Schema.orgJindřich Mynarz
 
Linked data as a library data platform
Linked data as a library data platformLinked data as a library data platform
Linked data as a library data platformJindřich Mynarz
 
WG5: A data wrangling experiment
WG5: A data wrangling experimentWG5: A data wrangling experiment
WG5: A data wrangling experimentWARCnet
 
The Power of Semantic Technologies to Explore Linked Open Data
The Power of Semantic Technologies to Explore Linked Open DataThe Power of Semantic Technologies to Explore Linked Open Data
The Power of Semantic Technologies to Explore Linked Open DataOntotext
 
Let your data shine... with OpenRefine
Let your data shine... with OpenRefineLet your data shine... with OpenRefine
Let your data shine... with OpenRefineOpen Knowledge Belgium
 
Ephedra: efficiently combining RDF data and services using SPARQL federation
Ephedra: efficiently combining RDF data and services using SPARQL federationEphedra: efficiently combining RDF data and services using SPARQL federation
Ephedra: efficiently combining RDF data and services using SPARQL federationPeter Haase
 
Introduction to OpenRefine
Introduction to OpenRefineIntroduction to OpenRefine
Introduction to OpenRefineHeather Myers
 
Cenitpede: Analyzing Webcrawl
Cenitpede: Analyzing WebcrawlCenitpede: Analyzing Webcrawl
Cenitpede: Analyzing WebcrawlPrimal Pappachan
 
Documents, services, and data on the web
Documents, services, and data on the webDocuments, services, and data on the web
Documents, services, and data on the webChiara Del Vescovo
 
Nicoletta Fornara and Fabio Marfia | Modeling and Enforcing Access Control Ob...
Nicoletta Fornara and Fabio Marfia | Modeling and Enforcing Access Control Ob...Nicoletta Fornara and Fabio Marfia | Modeling and Enforcing Access Control Ob...
Nicoletta Fornara and Fabio Marfia | Modeling and Enforcing Access Control Ob...semanticsconference
 
Web Data Engineering - A Technical Perspective on Web Archives
Web Data Engineering - A Technical Perspective on Web ArchivesWeb Data Engineering - A Technical Perspective on Web Archives
Web Data Engineering - A Technical Perspective on Web ArchivesHelge Holzmann
 

Was ist angesagt? (20)

Visual Ontology Modeling for Domain Experts and Business Users with metaphactory
Visual Ontology Modeling for Domain Experts and Business Users with metaphactoryVisual Ontology Modeling for Domain Experts and Business Users with metaphactory
Visual Ontology Modeling for Domain Experts and Business Users with metaphactory
 
McDanold-1-jun15
McDanold-1-jun15McDanold-1-jun15
McDanold-1-jun15
 
Scaling up Linked Data
Scaling up Linked DataScaling up Linked Data
Scaling up Linked Data
 
Getting Started with Knowledge Graphs
Getting Started with Knowledge GraphsGetting Started with Knowledge Graphs
Getting Started with Knowledge Graphs
 
Linked library data
Linked library dataLinked library data
Linked library data
 
Hansen-2-jun15
Hansen-2-jun15Hansen-2-jun15
Hansen-2-jun15
 
LOD2 Webinar Series FOX
LOD2 Webinar Series FOXLOD2 Webinar Series FOX
LOD2 Webinar Series FOX
 
EC-WEB: Validator and Preview for the JobPosting Data Model of Schema.org
EC-WEB: Validator and Preview for the JobPosting Data Model of Schema.orgEC-WEB: Validator and Preview for the JobPosting Data Model of Schema.org
EC-WEB: Validator and Preview for the JobPosting Data Model of Schema.org
 
Linked data as a library data platform
Linked data as a library data platformLinked data as a library data platform
Linked data as a library data platform
 
Providing Linked Data
Providing Linked DataProviding Linked Data
Providing Linked Data
 
WG5: A data wrangling experiment
WG5: A data wrangling experimentWG5: A data wrangling experiment
WG5: A data wrangling experiment
 
The Power of Semantic Technologies to Explore Linked Open Data
The Power of Semantic Technologies to Explore Linked Open DataThe Power of Semantic Technologies to Explore Linked Open Data
The Power of Semantic Technologies to Explore Linked Open Data
 
Let your data shine... with OpenRefine
Let your data shine... with OpenRefineLet your data shine... with OpenRefine
Let your data shine... with OpenRefine
 
Ephedra: efficiently combining RDF data and services using SPARQL federation
Ephedra: efficiently combining RDF data and services using SPARQL federationEphedra: efficiently combining RDF data and services using SPARQL federation
Ephedra: efficiently combining RDF data and services using SPARQL federation
 
Introduction to OpenRefine
Introduction to OpenRefineIntroduction to OpenRefine
Introduction to OpenRefine
 
Neo4j_allHands_04112013
Neo4j_allHands_04112013Neo4j_allHands_04112013
Neo4j_allHands_04112013
 
Cenitpede: Analyzing Webcrawl
Cenitpede: Analyzing WebcrawlCenitpede: Analyzing Webcrawl
Cenitpede: Analyzing Webcrawl
 
Documents, services, and data on the web
Documents, services, and data on the webDocuments, services, and data on the web
Documents, services, and data on the web
 
Nicoletta Fornara and Fabio Marfia | Modeling and Enforcing Access Control Ob...
Nicoletta Fornara and Fabio Marfia | Modeling and Enforcing Access Control Ob...Nicoletta Fornara and Fabio Marfia | Modeling and Enforcing Access Control Ob...
Nicoletta Fornara and Fabio Marfia | Modeling and Enforcing Access Control Ob...
 
Web Data Engineering - A Technical Perspective on Web Archives
Web Data Engineering - A Technical Perspective on Web ArchivesWeb Data Engineering - A Technical Perspective on Web Archives
Web Data Engineering - A Technical Perspective on Web Archives
 

Andere mochten auch

Freme general-overview-version-june-2015
Freme general-overview-version-june-2015Freme general-overview-version-june-2015
Freme general-overview-version-june-2015FREMEProjectH2020
 
Freme at feisgiltt 2015 freme use cases
Freme at feisgiltt 2015   freme use casesFreme at feisgiltt 2015   freme use cases
Freme at feisgiltt 2015 freme use casesFREMEProjectH2020
 
13 recursion-120712074623-phpapp02
13 recursion-120712074623-phpapp0213 recursion-120712074623-phpapp02
13 recursion-120712074623-phpapp02Abdul Samee
 
3 operators-expressions-and-statements-120712073351-phpapp01
3 operators-expressions-and-statements-120712073351-phpapp013 operators-expressions-and-statements-120712073351-phpapp01
3 operators-expressions-and-statements-120712073351-phpapp01Abdul Samee
 
arrays-120712074248-phpapp01
arrays-120712074248-phpapp01arrays-120712074248-phpapp01
arrays-120712074248-phpapp01Abdul Samee
 
3 operators-expressions-and-statements-120712073351-phpapp01
3 operators-expressions-and-statements-120712073351-phpapp013 operators-expressions-and-statements-120712073351-phpapp01
3 operators-expressions-and-statements-120712073351-phpapp01Abdul Samee
 
Fremeatfeisgiltt2015 fremelinkeddatalocalisers-150603090934-lva1-app6891
Fremeatfeisgiltt2015 fremelinkeddatalocalisers-150603090934-lva1-app6891Fremeatfeisgiltt2015 fremelinkeddatalocalisers-150603090934-lva1-app6891
Fremeatfeisgiltt2015 fremelinkeddatalocalisers-150603090934-lva1-app6891FREMEProjectH2020
 
Part 3-functions1-120315220356-phpapp01
Part 3-functions1-120315220356-phpapp01Part 3-functions1-120315220356-phpapp01
Part 3-functions1-120315220356-phpapp01Abdul Samee
 
Input outputdisplaydevices-140819061228-phpapp02
Input outputdisplaydevices-140819061228-phpapp02Input outputdisplaydevices-140819061228-phpapp02
Input outputdisplaydevices-140819061228-phpapp02Abdul Samee
 
16 strings-and-text-processing-120712074956-phpapp02
16 strings-and-text-processing-120712074956-phpapp0216 strings-and-text-processing-120712074956-phpapp02
16 strings-and-text-processing-120712074956-phpapp02Abdul Samee
 
Garima Sareen Nagpal - CV
Garima Sareen Nagpal - CVGarima Sareen Nagpal - CV
Garima Sareen Nagpal - CVGarima Sareen
 

Andere mochten auch (12)

Freme general-overview-version-june-2015
Freme general-overview-version-june-2015Freme general-overview-version-june-2015
Freme general-overview-version-june-2015
 
Freme at feisgiltt 2015 freme use cases
Freme at feisgiltt 2015   freme use casesFreme at feisgiltt 2015   freme use cases
Freme at feisgiltt 2015 freme use cases
 
13 recursion-120712074623-phpapp02
13 recursion-120712074623-phpapp0213 recursion-120712074623-phpapp02
13 recursion-120712074623-phpapp02
 
3 operators-expressions-and-statements-120712073351-phpapp01
3 operators-expressions-and-statements-120712073351-phpapp013 operators-expressions-and-statements-120712073351-phpapp01
3 operators-expressions-and-statements-120712073351-phpapp01
 
arrays-120712074248-phpapp01
arrays-120712074248-phpapp01arrays-120712074248-phpapp01
arrays-120712074248-phpapp01
 
3 operators-expressions-and-statements-120712073351-phpapp01
3 operators-expressions-and-statements-120712073351-phpapp013 operators-expressions-and-statements-120712073351-phpapp01
3 operators-expressions-and-statements-120712073351-phpapp01
 
Fremeatfeisgiltt2015 fremelinkeddatalocalisers-150603090934-lva1-app6891
Fremeatfeisgiltt2015 fremelinkeddatalocalisers-150603090934-lva1-app6891Fremeatfeisgiltt2015 fremelinkeddatalocalisers-150603090934-lva1-app6891
Fremeatfeisgiltt2015 fremelinkeddatalocalisers-150603090934-lva1-app6891
 
Sasaki mlkrep-20150710
Sasaki mlkrep-20150710Sasaki mlkrep-20150710
Sasaki mlkrep-20150710
 
Part 3-functions1-120315220356-phpapp01
Part 3-functions1-120315220356-phpapp01Part 3-functions1-120315220356-phpapp01
Part 3-functions1-120315220356-phpapp01
 
Input outputdisplaydevices-140819061228-phpapp02
Input outputdisplaydevices-140819061228-phpapp02Input outputdisplaydevices-140819061228-phpapp02
Input outputdisplaydevices-140819061228-phpapp02
 
16 strings-and-text-processing-120712074956-phpapp02
16 strings-and-text-processing-120712074956-phpapp0216 strings-and-text-processing-120712074956-phpapp02
16 strings-and-text-processing-120712074956-phpapp02
 
Garima Sareen Nagpal - CV
Garima Sareen Nagpal - CVGarima Sareen Nagpal - CV
Garima Sareen Nagpal - CV
 

Ähnlich wie Linked data tooling XML

Sasaki practical-linked-data
Sasaki practical-linked-dataSasaki practical-linked-data
Sasaki practical-linked-dataFelix Sasaki
 
SemWeb Fundamentals - Info Linking & Layering in Practice
SemWeb Fundamentals - Info Linking & Layering in PracticeSemWeb Fundamentals - Info Linking & Layering in Practice
SemWeb Fundamentals - Info Linking & Layering in PracticeDan Brickley
 
Wed roman tut_open_datapub
Wed roman tut_open_datapubWed roman tut_open_datapub
Wed roman tut_open_datapubeswcsummerschool
 
Slides semantic web and Drupal 7 NYCCamp 2012
Slides semantic web and Drupal 7 NYCCamp 2012Slides semantic web and Drupal 7 NYCCamp 2012
Slides semantic web and Drupal 7 NYCCamp 2012scorlosquet
 
Felix Sasaki - Value beyond content creation - Introducing ITS 2.0; soapconf ...
Felix Sasaki - Value beyond content creation - Introducing ITS 2.0; soapconf ...Felix Sasaki - Value beyond content creation - Introducing ITS 2.0; soapconf ...
Felix Sasaki - Value beyond content creation - Introducing ITS 2.0; soapconf ...soapconf
 
Linked Open Data Utrecht University Library
Linked Open Data Utrecht University LibraryLinked Open Data Utrecht University Library
Linked Open Data Utrecht University LibraryRuben Schalk
 
Do the LOCAH-Motion: How to Make Bibliographic and Archival Linked Data
Do the LOCAH-Motion: How to Make Bibliographic and Archival Linked DataDo the LOCAH-Motion: How to Make Bibliographic and Archival Linked Data
Do the LOCAH-Motion: How to Make Bibliographic and Archival Linked DataAdrian Stevenson
 
Linked Data (1st Linked Data Meetup Malmö)
Linked Data (1st Linked Data Meetup Malmö)Linked Data (1st Linked Data Meetup Malmö)
Linked Data (1st Linked Data Meetup Malmö)Anja Jentzsch
 
Introduction to linked data
Introduction to linked dataIntroduction to linked data
Introduction to linked dataLaura Po
 
Llinked open data training for EU institutions
Llinked open data training for EU institutionsLlinked open data training for EU institutions
Llinked open data training for EU institutionsOpen Data Support
 
FAIR data: LOUD for all audiences
FAIR data: LOUD for all audiencesFAIR data: LOUD for all audiences
FAIR data: LOUD for all audiencesAlessandro Adamou
 
Graph databases & data integration - the case of RDF
Graph databases & data integration - the case of RDFGraph databases & data integration - the case of RDF
Graph databases & data integration - the case of RDFDimitris Kontokostas
 
Integrating an electronic lab notebook with a university it environment rdmf ...
Integrating an electronic lab notebook with a university it environment rdmf ...Integrating an electronic lab notebook with a university it environment rdmf ...
Integrating an electronic lab notebook with a university it environment rdmf ...rmacneil88
 
Linked data and rdf
Linked  data and rdfLinked  data and rdf
Linked data and rdfDaniel Nüst
 
The nature.com ontologies portal: nature.com/ontologies
The nature.com ontologies portal: nature.com/ontologiesThe nature.com ontologies portal: nature.com/ontologies
The nature.com ontologies portal: nature.com/ontologiesTony Hammond
 
The Web of data and web data commons
The Web of data and web data commonsThe Web of data and web data commons
The Web of data and web data commonsJesse Wang
 
Linked Data Tutorial
Linked Data TutorialLinked Data Tutorial
Linked Data TutorialSören Auer
 
The Semantic Web and Drupal 7 - Loja 2013
The Semantic Web and Drupal 7 - Loja 2013The Semantic Web and Drupal 7 - Loja 2013
The Semantic Web and Drupal 7 - Loja 2013scorlosquet
 

Ähnlich wie Linked data tooling XML (20)

Sasaki practical-linked-data
Sasaki practical-linked-dataSasaki practical-linked-data
Sasaki practical-linked-data
 
SemWeb Fundamentals - Info Linking & Layering in Practice
SemWeb Fundamentals - Info Linking & Layering in PracticeSemWeb Fundamentals - Info Linking & Layering in Practice
SemWeb Fundamentals - Info Linking & Layering in Practice
 
Danbri Drupalcon Export
Danbri Drupalcon ExportDanbri Drupalcon Export
Danbri Drupalcon Export
 
Wed roman tut_open_datapub
Wed roman tut_open_datapubWed roman tut_open_datapub
Wed roman tut_open_datapub
 
Slides semantic web and Drupal 7 NYCCamp 2012
Slides semantic web and Drupal 7 NYCCamp 2012Slides semantic web and Drupal 7 NYCCamp 2012
Slides semantic web and Drupal 7 NYCCamp 2012
 
Felix Sasaki - Value beyond content creation - Introducing ITS 2.0; soapconf ...
Felix Sasaki - Value beyond content creation - Introducing ITS 2.0; soapconf ...Felix Sasaki - Value beyond content creation - Introducing ITS 2.0; soapconf ...
Felix Sasaki - Value beyond content creation - Introducing ITS 2.0; soapconf ...
 
Linked Open Data Utrecht University Library
Linked Open Data Utrecht University LibraryLinked Open Data Utrecht University Library
Linked Open Data Utrecht University Library
 
Do the LOCAH-Motion: How to Make Bibliographic and Archival Linked Data
Do the LOCAH-Motion: How to Make Bibliographic and Archival Linked DataDo the LOCAH-Motion: How to Make Bibliographic and Archival Linked Data
Do the LOCAH-Motion: How to Make Bibliographic and Archival Linked Data
 
Linked Data (1st Linked Data Meetup Malmö)
Linked Data (1st Linked Data Meetup Malmö)Linked Data (1st Linked Data Meetup Malmö)
Linked Data (1st Linked Data Meetup Malmö)
 
Introduction to linked data
Introduction to linked dataIntroduction to linked data
Introduction to linked data
 
Llinked open data training for EU institutions
Llinked open data training for EU institutionsLlinked open data training for EU institutions
Llinked open data training for EU institutions
 
FAIR data: LOUD for all audiences
FAIR data: LOUD for all audiencesFAIR data: LOUD for all audiences
FAIR data: LOUD for all audiences
 
Graph databases & data integration - the case of RDF
Graph databases & data integration - the case of RDFGraph databases & data integration - the case of RDF
Graph databases & data integration - the case of RDF
 
Integrating an electronic lab notebook with a university it environment rdmf ...
Integrating an electronic lab notebook with a university it environment rdmf ...Integrating an electronic lab notebook with a university it environment rdmf ...
Integrating an electronic lab notebook with a university it environment rdmf ...
 
Metadata is back!
Metadata is back!Metadata is back!
Metadata is back!
 
Linked data and rdf
Linked  data and rdfLinked  data and rdf
Linked data and rdf
 
The nature.com ontologies portal: nature.com/ontologies
The nature.com ontologies portal: nature.com/ontologiesThe nature.com ontologies portal: nature.com/ontologies
The nature.com ontologies portal: nature.com/ontologies
 
The Web of data and web data commons
The Web of data and web data commonsThe Web of data and web data commons
The Web of data and web data commons
 
Linked Data Tutorial
Linked Data TutorialLinked Data Tutorial
Linked Data Tutorial
 
The Semantic Web and Drupal 7 - Loja 2013
The Semantic Web and Drupal 7 - Loja 2013The Semantic Web and Drupal 7 - Loja 2013
The Semantic Web and Drupal 7 - Loja 2013
 

Kürzlich hochgeladen

Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night StandCall Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Standamitlee9823
 
hybrid Seed Production In Chilli & Capsicum.pptx
hybrid Seed Production In Chilli & Capsicum.pptxhybrid Seed Production In Chilli & Capsicum.pptx
hybrid Seed Production In Chilli & Capsicum.pptx9to5mart
 
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...amitlee9823
 
Probability Grade 10 Third Quarter Lessons
Probability Grade 10 Third Quarter LessonsProbability Grade 10 Third Quarter Lessons
Probability Grade 10 Third Quarter LessonsJoseMangaJr1
 
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...amitlee9823
 
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Delhi Call girls
 
➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men 🔝Mathura🔝 Escorts...
➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men  🔝Mathura🔝   Escorts...➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men  🔝Mathura🔝   Escorts...
➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men 🔝Mathura🔝 Escorts...amitlee9823
 
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangaloreamitlee9823
 
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Standamitlee9823
 
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort ServiceBDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort ServiceDelhi Call girls
 
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...amitlee9823
 
Detecting Credit Card Fraud: A Machine Learning Approach
Detecting Credit Card Fraud: A Machine Learning ApproachDetecting Credit Card Fraud: A Machine Learning Approach
Detecting Credit Card Fraud: A Machine Learning ApproachBoston Institute of Analytics
 
➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men 🔝Dindigul🔝 Escor...
➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men  🔝Dindigul🔝   Escor...➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men  🔝Dindigul🔝   Escor...
➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men 🔝Dindigul🔝 Escor...amitlee9823
 
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night StandCall Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Standamitlee9823
 
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...SUHANI PANDEY
 
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteedamy56318795
 
➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men 🔝mahisagar🔝 Esc...
➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men  🔝mahisagar🔝   Esc...➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men  🔝mahisagar🔝   Esc...
➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men 🔝mahisagar🔝 Esc...amitlee9823
 
April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysismanisha194592
 

Kürzlich hochgeladen (20)

Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night StandCall Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
 
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts ServiceCall Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
 
hybrid Seed Production In Chilli & Capsicum.pptx
hybrid Seed Production In Chilli & Capsicum.pptxhybrid Seed Production In Chilli & Capsicum.pptx
hybrid Seed Production In Chilli & Capsicum.pptx
 
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
 
Probability Grade 10 Third Quarter Lessons
Probability Grade 10 Third Quarter LessonsProbability Grade 10 Third Quarter Lessons
Probability Grade 10 Third Quarter Lessons
 
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
 
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
 
➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men 🔝Mathura🔝 Escorts...
➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men  🔝Mathura🔝   Escorts...➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men  🔝Mathura🔝   Escorts...
➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men 🔝Mathura🔝 Escorts...
 
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
 
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
 
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort ServiceBDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
 
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
 
Detecting Credit Card Fraud: A Machine Learning Approach
Detecting Credit Card Fraud: A Machine Learning ApproachDetecting Credit Card Fraud: A Machine Learning Approach
Detecting Credit Card Fraud: A Machine Learning Approach
 
➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men 🔝Dindigul🔝 Escor...
➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men  🔝Dindigul🔝   Escor...➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men  🔝Dindigul🔝   Escor...
➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men 🔝Dindigul🔝 Escor...
 
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night StandCall Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
 
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
 
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
 
➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men 🔝mahisagar🔝 Esc...
➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men  🔝mahisagar🔝   Esc...➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men  🔝mahisagar🔝   Esc...
➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men 🔝mahisagar🔝 Esc...
 
April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysis
 

Linked data tooling XML

  • 1. Linked Data tooling and XML WWW.FREME-PROJECT.EU 1 Co-funded by the Horizon 2020 Framework Programme of the European Union Grant Agreement Number 644771 30 JUNE 2015 Felix Sasaki DFKI / W3C Fellow LINKED DATA TOOLING AND XML www.freme-project.eu
  • 2. Linked Data tooling and XML WWW.FREME-PROJECT.EU 2 BACKGROUND: THE FREME PROJECT • Two year H2020 Innovation action; start February 2020 • Industry partners leading four business cases around digital content and (linked) data • Technology development bridging language and data • Outreach and business modelling demonstrating monetization of the multilingual data value chain
  • 3. Linked Data tooling and XML WWW.FREME-PROJECT.EU 3 EXAMPLES: See http://www.w3.org/People/fsasaki/linked-data-tooling-xml-examples.zip
  • 4. Linked Data tooling and XML WWW.FREME-PROJECT.EU 4 WHAT IS LINKED DATA? • A way to represent data on the Web ◦ Give each data item (a “resource”) an unique identifier: http://example.com/xml-ug-berlin ◦ Create links between data items; describe the type of links also via unique identifiers - http://example.com/xml-ug-berlin - http://schema.org/Place - http://dbpedia.org/resource/Berlin Means: “The XML User Group Berlin takes place in Berlin” In linked data terminology: a triple, consisting of subject, predicate and object • Linked data: applying Web principles to data ◦ Data item (a “resource”) = like a Web page with a web address ◦ Links between data items = links between pieces of web content ◦ Types of links are clear for the human reader The XML User Group Berlin takes place in <a href=”http://en.wikipedia.org/Berlin">Berlin</a> ◦ Linked data provides links in a machine readable way
  • 5. Linked Data tooling and XML WWW.FREME-PROJECT.EU 5 WHAT DO YOU DO WITH LINKED DATA? • Creation ◦ From scratch ◦ Based on existing structured data ◦ Based on existing unstructured data • Storing ◦ RDF (“Resource Description Framework”) • Modelling of vocabularies (not covered here) ◦ Creating schemas for linked data ◦ Using schema languages with various levels of expressivity: RDF Schema , SKOS, OWL ◦ If possible: avoid and use existing linked data vocabularies • Consumption ◦ Query of linked data via SPARQL • Further processing
  • 6. Linked Data tooling and XML WWW.FREME-PROJECT.EU 6 LINKED DATA TOOLING AND XML – BACKGROUND • If you embrace the linked data technology stack, use the Apache Jena Java library ◦ http://jena.apache.org/ ◦ Provides all you need for linked data creation, modelling, storage and query • This presentation assumes you want to integrate linked data processing with an XML technology stack – potential reasons ◦ You don’t want or cannot replace existing XML tooling ◦ Your data is both XML and linked data – you need to interface between the two ◦ Your workflow assumes both XML and linked data – at least partial conversion are needed • In general, don’t think about formal aspects of RDF – they are not needed for integration with XML processing
  • 7. Linked Data tooling and XML WWW.FREME-PROJECT.EU 7 SYNTAXES • Linked data can be written in various syntaxes ◦ RDF/XML: XML syntax ◦ Turtle ◦ N3 ◦ JSON-LD ◦ RDFa • Examples are on the following slides
  • 8. Linked Data tooling and XML WWW.FREME-PROJECT.EU 8 TURTLE SYNTAX @prefix db: <http://dbpedia.org/resource/>. @prefix dbont: <http://dbpedia.org/ontology/populationTotal>. @prefix sdo: <http://schema.org/>. <http://example.com/xml-ug-berlin> sdo:Place db:Berlin. db:Berlin dbont:populationTotal Structure: • Declaration of prefixes • Write each part of a triple (subject, predicate, object) explicitly • Easy to read & easy to create with XML tooling • Will be used here to create linked data • Example: see linked-data-tooling-xml-examples/example1.ttl
  • 9. Linked Data tooling and XML WWW.FREME-PROJECT.EU 9 JSON-LD SYNTAX { "@context": { "db": "http://dbpedia.org/resource/", … }, "@graph": [ { "@id": "http://example.com/xml-ug-berlin", "schema:Place": { "@id": "dbpedia:Berlin" } }, { "@id": "dbpedia:Berlin", "dbont:populationTotal": 3415091 } ] } • Full example: see linked-data-tooling-xml-examples/example1.json
  • 10. Linked Data tooling and XML WWW.FREME-PROJECT.EU 10 RDF/XML SYNTAX <rdf:RDF …> <rdf:Description rdf:about="http://example.com/xml-ug-berlin"> <sdo:Place> <rdf:Description rdf:about="http://dbpedia.org/resource/Berlin"> <dbont:populationTotal rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">3415091</dbont:popula tionTotal> </rdf:Description> </sdo:Place> </rdf:Description> </rdf:RDF> • Full example: see linked-data-tooling-xml-examples/example1.xml
  • 11. Linked Data tooling and XML WWW.FREME-PROJECT.EU 11 FURTHER SYNTAXES • See linked-data-tooling-xml-examples folder ◦ Microdata: example1-microdata.html ◦ RDFa: example1-rdfa.html ◦ N-Triples: example1.nt • Tooling for conversion and validation ◦ Conversion: http://rdf-translator.appspot.com/ ◦ Conversion: http://www.easyrdf.org/converter ◦ JSON-LD checking: http://json-ld.org/playground/index.html ◦ RDF/XML validation: http://www.w3.org/RDF/Validator/
  • 12. Linked Data tooling and XML WWW.FREME-PROJECT.EU 12 EXAMPLE: CONVERTING A TABLE TO LINKED DATA Files: • XML file with table: linked-data-tooling-xml-examples/table.xml • XSLT stylesheet to create turtle file: linked-data-tooling-xml-examples/table2ttl.xsl • Ouput in TTL: linked-data-tooling-xml-examples/table.ttl
  • 13. Linked Data tooling and XML WWW.FREME-PROJECT.EU 13 EXAMPLE: CONVERTING A TABLE TO LINKED DATA Files: • XML file with table: linked-data-tooling-xml-examples/table.xml • XSLT stylesheet to create turtle file: linked-data-tooling-xml-examples/table2ttl.xsl • Ouput in TTL: linked-data-tooling-xml-examples/table.ttl Lessons learned: • Conversions are data and vocabulary specific • Good practices ◦ Use existing linked data vocabularies ◦ Link to existing linked data sources
  • 14. Linked Data tooling and XML WWW.FREME-PROJECT.EU 14 EXAMPLE: XML FORMAT SPECIFIC CONVERSION Format “XLIFF” Files: • XLIFF Input file: linked-data-tooling-xml-examples/example-xliff.xlf • XSLT stylesheet to create turtle file: linked-data-tooling-xml-examples/xliff-to-nif.xsl • Output in TTL: linked-data-tooling-xml-examples/example-xliff.ttl
  • 15. Linked Data tooling and XML WWW.FREME-PROJECT.EU 15 SERVE YOUR OWN LINKED DATA • Widely used server: Apache Jena Fuseki ◦ http://jena.apache.org/documentation/serving_data/ • Usage 1. Convert your XML data to RDF (see previous slides) 2. Install Apache Fuseki (with Java available: download > unzip > start server) 3. Add data via Fuseki Web interface http://localhost:3030 4. Run SPARQL queries
  • 16. Linked Data tooling and XML WWW.FREME-PROJECT.EU 16 QUERYING LINKED DATA VIA XSLT Files: • XSLT stylesheet that processes linked data: linked-data-tooling-xml-examples/generate-markup-person.xsl • ePub file that has the unstructured content Workflow: • Stylesheet uses text content as input to linked data query • Query executed via SPARQL, uses Dbpedia SPARQL endpoint • Output is available in SPARQL query output format ◦ Has also XML syntax ◦ See example at linked-data-tooling-xml-examples/sparql-output.xml ◦ Can then be processed in XSLT
  • 17. Linked Data tooling and XML WWW.FREME-PROJECT.EU 17 SUMMARY – LINKED DATA AND XML TOOLING • Easy to produce with existing XML content ◦ Use approaches for structured and unstructured content ◦ Store linked data in turtle syntax ◦ Provide via triple store • Easy to consume in XML tool chains ◦ Output of SPARQL queries: use XML based SPARQL result format ◦ Queries of public and your own data sets • Main missing piece: knowledge transfer - e.g. about ◦ Adequate syntaxes in your (XML) workflow ◦ Existing data sets: sustainability, quality, licenses, … ◦ How to interrelate linked data queries with XSLT (= via XML result format)
  • 18. Linked Data tooling and XML WWW.FREME-PROJECT.EU 18 FURTHER TOPICS • Linked data support in XML data base solutions ◦ Example MarkLogic • Combined data and language processing ◦ See FREME project
  • 19. Linked Data tooling and XML WWW.FREME-PROJECT.EU 19 Co-funded by the Horizon 2020 Framework Programme of the European Union Grant Agreement Number 644771 30 JUNE 2015 Felix Sasaki DFKI / W3C Fellow LINKED DATA TOOLING AND XML www.freme-project.eu
  • 20. Linked Data tooling and XML WWW.FREME-PROJECT.EU 20 CONTACTS Felix Sasaki E-mail: info@freme-project.eu CONSORTIUM