SlideShare una empresa de Scribd logo
1 de 20
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
◦ Example FREME project (see following reference slides)
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

Más contenido relacionado

La actualidad más candente

Improvement of no sql technology for relational databases v2
Improvement of no sql technology for relational databases v2Improvement of no sql technology for relational databases v2
Improvement of no sql technology for relational databases v2
Tsendsuren Munkhdalai
 
Cenitpede: Analyzing Webcrawl
Cenitpede: Analyzing WebcrawlCenitpede: Analyzing Webcrawl
Cenitpede: Analyzing Webcrawl
Primal Pappachan
 

La actualidad más candente (20)

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
 
Hansen-2-jun15
Hansen-2-jun15Hansen-2-jun15
Hansen-2-jun15
 
Linked library data
Linked library dataLinked library data
Linked library data
 
Improvement of no sql technology for relational databases v2
Improvement of no sql technology for relational databases v2Improvement of no sql technology for relational databases v2
Improvement of no sql technology for relational databases v2
 
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
 
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
 
Providing Linked Data
Providing Linked DataProviding Linked Data
Providing Linked Data
 
LOD2 Webinar Series FOX
LOD2 Webinar Series FOXLOD2 Webinar Series FOX
LOD2 Webinar Series FOX
 
guacamole: an Object Document Mapper for ArangoDB
guacamole: an Object Document Mapper for ArangoDBguacamole: an Object Document Mapper for ArangoDB
guacamole: an Object Document Mapper for ArangoDB
 
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
 
MuseoTorino, first italian project using a GraphDB, RDFa, Linked Open Data
MuseoTorino, first italian project using a GraphDB, RDFa, Linked Open DataMuseoTorino, first italian project using a GraphDB, RDFa, Linked Open Data
MuseoTorino, first italian project using a GraphDB, RDFa, Linked Open Data
 
Emerging technologies in academic libraries
Emerging technologies in academic librariesEmerging technologies in academic libraries
Emerging technologies in academic libraries
 
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
 
WG5: A data wrangling experiment
WG5: A data wrangling experimentWG5: A data wrangling experiment
WG5: A data wrangling experiment
 
Neo4j_allHands_04112013
Neo4j_allHands_04112013Neo4j_allHands_04112013
Neo4j_allHands_04112013
 
Introduction to OpenRefine
Introduction to OpenRefineIntroduction to OpenRefine
Introduction to OpenRefine
 
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
 
Graph Database
Graph DatabaseGraph Database
Graph Database
 
Cenitpede: Analyzing Webcrawl
Cenitpede: Analyzing WebcrawlCenitpede: Analyzing Webcrawl
Cenitpede: Analyzing Webcrawl
 

Destacado (7)

JSON-LD: Linked Data for Web Apps
JSON-LD: Linked Data for Web AppsJSON-LD: Linked Data for Web Apps
JSON-LD: Linked Data for Web Apps
 
Json
JsonJson
Json
 
JSON
JSONJSON
JSON
 
Json tutorial
Json tutorialJson tutorial
Json tutorial
 
Json
JsonJson
Json
 
JSON-LD: JSON for Linked Data
JSON-LD: JSON for Linked DataJSON-LD: JSON for Linked Data
JSON-LD: JSON for Linked Data
 
JSON: The Basics
JSON: The BasicsJSON: The Basics
JSON: The Basics
 

Similar a Linked data-tooling-xml

Wed roman tut_open_datapub
Wed roman tut_open_datapubWed roman tut_open_datapub
Wed roman tut_open_datapub
eswcsummerschool
 
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
scorlosquet
 
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
 
Linked data and rdf
Linked  data and rdfLinked  data and rdf
Linked data and rdf
Daniel Nüst
 

Similar a 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
 
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 ...
 
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
 
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
 
Linked Open Data Utrecht University Library
Linked Open Data Utrecht University LibraryLinked Open Data Utrecht University Library
Linked Open Data Utrecht University Library
 
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ö)
 
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
 
FAIR data: LOUD for all audiences
FAIR data: LOUD for all audiencesFAIR data: LOUD for all audiences
FAIR data: LOUD for all audiences
 
Metadata is back!
Metadata is back!Metadata is back!
Metadata is back!
 
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 ...
 
Introduction to linked data
Introduction to linked dataIntroduction to linked data
Introduction to linked data
 
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
 
Introduction to the Data Web, DBpedia and the Life-cycle of Linked Data
Introduction to the Data Web, DBpedia and the Life-cycle of Linked DataIntroduction to the Data Web, DBpedia and the Life-cycle of Linked Data
Introduction to the Data Web, DBpedia and the Life-cycle of 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
 
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 and rdf
Linked  data and rdfLinked  data and rdf
Linked data and rdf
 
Linked Data Tutorial
Linked Data TutorialLinked Data Tutorial
Linked Data Tutorial
 

Más de Felix Sasaki

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
Felix Sasaki
 
Sasaki ins-netz-gegangen-20111117
Sasaki ins-netz-gegangen-20111117Sasaki ins-netz-gegangen-20111117
Sasaki ins-netz-gegangen-20111117
Felix Sasaki
 
"Warum Metadaten? Ein Plädoyer und mehr …" - webtechcon 2011 Präsentation
"Warum Metadaten? Ein Plädoyer und mehr …" - webtechcon 2011 Präsentation"Warum Metadaten? Ein Plädoyer und mehr …" - webtechcon 2011 Präsentation
"Warum Metadaten? Ein Plädoyer und mehr …" - webtechcon 2011 Präsentation
Felix Sasaki
 
Sasaki markupforum2011
Sasaki markupforum2011Sasaki markupforum2011
Sasaki markupforum2011
Felix Sasaki
 
Sasaki webtechcon2010
Sasaki webtechcon2010Sasaki webtechcon2010
Sasaki webtechcon2010
Felix Sasaki
 
Mlw sasaki-20101027
Mlw sasaki-20101027Mlw sasaki-20101027
Mlw sasaki-20101027
Felix Sasaki
 

Más de Felix Sasaki (14)

Thb tag-des-offenen-fensters-2021-sasaki-graphdatenbanken
Thb tag-des-offenen-fensters-2021-sasaki-graphdatenbankenThb tag-des-offenen-fensters-2021-sasaki-graphdatenbanken
Thb tag-des-offenen-fensters-2021-sasaki-graphdatenbanken
 
XML Seminar
XML SeminarXML Seminar
XML Seminar
 
Sasaki Presentation at EVA 2016
Sasaki Presentation at EVA 2016Sasaki Presentation at EVA 2016
Sasaki Presentation at EVA 2016
 
Sasaki datathon-madrid-2015
Sasaki datathon-madrid-2015Sasaki datathon-madrid-2015
Sasaki datathon-madrid-2015
 
Freme at feisgiltt 2015 freme & linked data & localisers
Freme at feisgiltt 2015   freme & linked data & localisersFreme at feisgiltt 2015   freme & linked data & localisers
Freme at feisgiltt 2015 freme & linked data & localisers
 
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
 
1114 sasaki-metadata
1114 sasaki-metadata1114 sasaki-metadata
1114 sasaki-metadata
 
Its2 ontology-localization
Its2 ontology-localizationIts2 ontology-localization
Its2 ontology-localization
 
Sasaki ins-netz-gegangen-20111117
Sasaki ins-netz-gegangen-20111117Sasaki ins-netz-gegangen-20111117
Sasaki ins-netz-gegangen-20111117
 
"Warum Metadaten? Ein Plädoyer und mehr …" - webtechcon 2011 Präsentation
"Warum Metadaten? Ein Plädoyer und mehr …" - webtechcon 2011 Präsentation"Warum Metadaten? Ein Plädoyer und mehr …" - webtechcon 2011 Präsentation
"Warum Metadaten? Ein Plädoyer und mehr …" - webtechcon 2011 Präsentation
 
Sasaki markupforum2011
Sasaki markupforum2011Sasaki markupforum2011
Sasaki markupforum2011
 
Sasaki webtechcon2010
Sasaki webtechcon2010Sasaki webtechcon2010
Sasaki webtechcon2010
 
Mlw sasaki-20101027
Mlw sasaki-20101027Mlw sasaki-20101027
Mlw sasaki-20101027
 
HTML5 - presentation at W3C-Tag 2009
HTML5 - presentation at W3C-Tag 2009HTML5 - presentation at W3C-Tag 2009
HTML5 - presentation at W3C-Tag 2009
 

Último

( Pune ) VIP Baner Call Girls 🎗️ 9352988975 Sizzling | Escorts | Girls Are Re...
( Pune ) VIP Baner Call Girls 🎗️ 9352988975 Sizzling | Escorts | Girls Are Re...( Pune ) VIP Baner Call Girls 🎗️ 9352988975 Sizzling | Escorts | Girls Are Re...
( Pune ) VIP Baner Call Girls 🎗️ 9352988975 Sizzling | Escorts | Girls Are Re...
nilamkumrai
 
💚😋 Salem Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋
💚😋 Salem Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋💚😋 Salem Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋
💚😋 Salem Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋
nirzagarg
 
Low Sexy Call Girls In Mohali 9053900678 🥵Have Save And Good Place 🥵
Low Sexy Call Girls In Mohali 9053900678 🥵Have Save And Good Place 🥵Low Sexy Call Girls In Mohali 9053900678 🥵Have Save And Good Place 🥵
Low Sexy Call Girls In Mohali 9053900678 🥵Have Save And Good Place 🥵
Chandigarh Call girls 9053900678 Call girls in Chandigarh
 
💚😋 Bilaspur Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋
💚😋 Bilaspur Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋💚😋 Bilaspur Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋
💚😋 Bilaspur Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋
nirzagarg
 
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
@Chandigarh #call #Girls 9053900678 @Call #Girls in @Punjab 9053900678
 
📱Dehradun Call Girls Service 📱☎️ +91'905,3900,678 ☎️📱 Call Girls In Dehradun 📱
📱Dehradun Call Girls Service 📱☎️ +91'905,3900,678 ☎️📱 Call Girls In Dehradun 📱📱Dehradun Call Girls Service 📱☎️ +91'905,3900,678 ☎️📱 Call Girls In Dehradun 📱
📱Dehradun Call Girls Service 📱☎️ +91'905,3900,678 ☎️📱 Call Girls In Dehradun 📱
@Chandigarh #call #Girls 9053900678 @Call #Girls in @Punjab 9053900678
 

Último (20)

( Pune ) VIP Baner Call Girls 🎗️ 9352988975 Sizzling | Escorts | Girls Are Re...
( Pune ) VIP Baner Call Girls 🎗️ 9352988975 Sizzling | Escorts | Girls Are Re...( Pune ) VIP Baner Call Girls 🎗️ 9352988975 Sizzling | Escorts | Girls Are Re...
( Pune ) VIP Baner Call Girls 🎗️ 9352988975 Sizzling | Escorts | Girls Are Re...
 
Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...
Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...
Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...
 
Trump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts SweatshirtTrump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts Sweatshirt
 
APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53
 
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
 
Pirangut | Call Girls Pune Phone No 8005736733 Elite Escort Service Available...
Pirangut | Call Girls Pune Phone No 8005736733 Elite Escort Service Available...Pirangut | Call Girls Pune Phone No 8005736733 Elite Escort Service Available...
Pirangut | Call Girls Pune Phone No 8005736733 Elite Escort Service Available...
 
💚😋 Salem Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋
💚😋 Salem Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋💚😋 Salem Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋
💚😋 Salem Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋
 
Low Sexy Call Girls In Mohali 9053900678 🥵Have Save And Good Place 🥵
Low Sexy Call Girls In Mohali 9053900678 🥵Have Save And Good Place 🥵Low Sexy Call Girls In Mohali 9053900678 🥵Have Save And Good Place 🥵
Low Sexy Call Girls In Mohali 9053900678 🥵Have Save And Good Place 🥵
 
Wadgaon Sheri $ Call Girls Pune 10k @ I'm VIP Independent Escorts Girls 80057...
Wadgaon Sheri $ Call Girls Pune 10k @ I'm VIP Independent Escorts Girls 80057...Wadgaon Sheri $ Call Girls Pune 10k @ I'm VIP Independent Escorts Girls 80057...
Wadgaon Sheri $ Call Girls Pune 10k @ I'm VIP Independent Escorts Girls 80057...
 
💚😋 Bilaspur Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋
💚😋 Bilaspur Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋💚😋 Bilaspur Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋
💚😋 Bilaspur Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋
 
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
 
Dubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls Dubai
Dubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls DubaiDubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls Dubai
Dubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls Dubai
 
WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)
WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)
WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)
 
Microsoft Azure Arc Customer Deck Microsoft
Microsoft Azure Arc Customer Deck MicrosoftMicrosoft Azure Arc Customer Deck Microsoft
Microsoft Azure Arc Customer Deck Microsoft
 
Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...
Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...
Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...
 
20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
20240507 QFM013 Machine Intelligence Reading List April 2024.pdf20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
 
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
 
Real Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirtReal Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirt
 
📱Dehradun Call Girls Service 📱☎️ +91'905,3900,678 ☎️📱 Call Girls In Dehradun 📱
📱Dehradun Call Girls Service 📱☎️ +91'905,3900,678 ☎️📱 Call Girls In Dehradun 📱📱Dehradun Call Girls Service 📱☎️ +91'905,3900,678 ☎️📱 Call Girls In Dehradun 📱
📱Dehradun Call Girls Service 📱☎️ +91'905,3900,678 ☎️📱 Call Girls In Dehradun 📱
 
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
 

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 ◦ Example FREME project (see following reference slides)
  • 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

Notas del editor

  1. This slide probably needs no visualization.
  2. Back Page #1 Social network icons refer to speaker (he/she has to link his/her accounts)