SlideShare a Scribd company logo
1 of 53
Download to read offline
Data Visualization with
GraphDB and Workbench
vladimir.alexiev@ontotext.com
Co-lead, Innovation and Consulting Group, Ontotext Corp
Outline
↗ Intro: Ontotext, GraphDB, Webinar
↗ Writing SPARQL
↗ Built-in SPARQL Result Visualizations
↗ Using SPARQL Results in Spreadsheets
↗ Invoking SPARQL Queries, Parameterization
↗ Tools that Help With Writing SPARQL Queries
↗ Tools for Statistical Visualizations
↗ Graph Visualizations: Built-in, Developing
↗ Visualization Toolkits
↗ Declarative Visualization
↗ JDBC Data Access API
↗ Q&A
Ontotext History and Essential Facts
↗ Started in 2000 as a Semantic Web pioneer
↗ As Innovation lab within Sirma Group (listed as SKK), the biggest Bulgarian software house
↗ Got spun-off and took VC investment in 2008
↗ 65 staff, HQ in Bulgaria, reps in Canada, UK, Germany and USA
↗ Over 400 person-years invested in R&D
↗ Multiple innovation & technology awards: Washington Post, BBC, FT, BAIT, etc.
↗ Member of multiple industry bodies:
↗ W3C, EDMC, ODI, LDBC, STI, DBPedia Foundation
Clients (selection)
GraphDB
↗ Scalable RDF 1.1 engine
↗ Platform independent
↗ W3C standards support
↗ Open source API
↗ Reasoning and consistency checking
↗ Main contributor to RDF4J project
↗ Excellent support
This webinar
• SPARQL editing and data visualization features available in GraphDB
Workbench (GDB WB)
• Using queries written by others: query URL, parameterization
• Data visualizations that can be added with little programming
• 3rd party SPARQL writing aids and visualization tools that can be
integrated to GraphDB (we'd be glad to do that for you)
• Full report: HTML, PDF
• Webinar: presentation, TODO recording
Outline
↗ Intro: Ontotext, GraphDB, Webinar
↗ Writing SPARQL
↗ Built-in SPARQL Result Visualizations
↗ Using SPARQL Results in Spreadsheets
↗ Invoking SPARQL Queries, Parameterization
↗ Tools that Help With Writing SPARQL Queries
↗ Tools for Statistical Visualizations
↗ Graph Visualizations: Built-in, Developing
↗ Visualization Toolkits
↗ Declarative Visualization
↗ JDBC Data Access API
↗ Q&A
SPARQL Editing
• GDB WB integrates the YASGUI editor
• Automatic prefix addition (best practice: load prefixes.ttl)
• Class autocompletion
• Property autocompletion
FactForge Saved Queries
FactForge
query F04
Outline↗ Intro: Ontotext, GraphDB, Webinar
↗ Writing SPARQL
↗ Built-in SPARQL Result Visualizations
↗ Using SPARQL Results in Spreadsheets
↗ Invoking SPARQL Queries, Parameterization
↗ Tools that Help With Writing SPARQL Queries
↗ Tools for Statistical Visualizations
↗ Graph Visualizations: Built-in, Developing
↗ Visualization Toolkits
↗ Declarative Visualization
↗ JDBC Data Access API
↗ Q&A
FactForge Charts: Bar
FactForge Charts: Pie
Outline↗ Intro: Ontotext, GraphDB, Webinar
↗ Writing SPARQL
↗ Built-in SPARQL Result Visualizations
↗ Using SPARQL Results in Spreadsheets
↗ Invoking SPARQL Queries, Parameterization
↗ Tools that Help With Writing SPARQL Queries
↗ Tools for Statistical Visualizations
↗ Graph Visualizations: Built-in, Developing
↗ Visualization Toolkits
↗ Declarative Visualization
↗ JDBC Data Access API
↗ Q&A
SPARQL Results in Google Sheet FactForge-Industries
Google Sheet Formulas
● Top left cell: get data (see next for the long ugly URL)
=importdata("http://factforge.net/repositories/ff-news?query=%23+F4%3A+Top-level+industries+by
+number+of+companies%0A%23+-+benefits+from+the+mapping+and+consolidation+of+industry+cl
assifications%0A%23+++and+predicates+in+DBPedia+done+in+the+FactForge%0A%23+-+benefits+fr
om+reasoning+-+transitive+and+symmetric+properties+across%0A%23+++the+industry+classificatio
n+taxonomy+of+FactForge%0A%0APREFIX+dbo%3A+%3Chttp%3A%2F%2Fdbpedia.org%2Fontology%
2F%3E%0APREFIX+ff-map%3A+%3Chttp%3A%2F%2Ffactforge.net%2Fff2016-mapping%2F%3E%0A%
0ASELECT+DISTINCT+%3Ftop_industry+(COUNT(*)+AS+%3Fcount)%0A%7B%0A+++%3Fcompany+dbo
%3Aindustry+%3Findustry+.%0A+++%3Findustry+%5Eff-map%3AindustryVariant+%2F+ff-map%3Aind
ustryCenter+%3Ftop_industry+.%0A%7D%0AGROUP+BY+%3Ftop_industry+ORDER+BY+DESC(%3Fcou
nt)+")
● Third col: extract industry name from industry URL
=regexreplace(A2,"http://dbpedia.org/resource/","")
Outline↗ Intro: Ontotext, GraphDB, Webinar
↗ Writing SPARQL
↗ Built-in SPARQL Result Visualizations
↗ Using SPARQL Results in Spreadsheets
↗ Invoking SPARQL Queries, Parameterization
↗ Tools that Help With Writing SPARQL Queries
↗ Tools for Statistical Visualizations
↗ Graph Visualizations: Built-in, Developing
↗ Visualization Toolkits
↗ Declarative Visualization
↗ JDBC Data Access API
↗ Q&A
Query URL
• Interactive endpoint: http://factforge.net/sparql
− versus programmatic endpoint: http://factforge.net/repositories/ff-news
• List of repos as JSON: http://factforge.net/rest/repositories
• Get query URL, then replace the endpoint
• If you dislike CSV, add Accept header, e.g.
curl -H Accept:text/tab-separated-values
Query Parameters
• E.g. find the industries of a given $company
PREFIX dbo: <http://dbpedia.org/ontology/>
SELECT ?industry {$company dbo:industry ?industry}
• Add parameter to query URL (value in NTriples format):
&$company=<http://dbpedia.org/resource/Google>
− URL: <http://dbpedia.org/resource/Google>
− plain string: "Google"
− string with language: "Google"@en
− date with XSD type: "2017-05-25"^^<http://www.w3.org/2001/XMLSchema#date>
• Try it, returns
?industry
<http://dbpedia.org/resource/Software>
<http://dbpedia.org/resource/Internet>
<http://dbpedia.org/resource/Mobile_device>
<http://dbpedia.org/resource/Cloud_computing>
Outline↗ Intro: Ontotext, GraphDB, Webinar
↗ Writing SPARQL
↗ Built-in SPARQL Result Visualizations
↗ Using SPARQL Results in Spreadsheets
↗ Invoking SPARQL Queries, Parameterization
↗ Tools that Help With Writing SPARQL Queries
↗ Tools for Statistical Visualizations
↗ Graph Visualizations: Built-in, Developing
↗ Visualization Toolkits
↗ Declarative Visualization
↗ JDBC Data Access API
↗ Q&A
IRISA SQUALL (CNL)
• SQUALL (Semantic Query and Update High-Level Language).
2011-2013. Paper 1, 2 , 3, examples.
• Example question
Which person is an author of at least 10 publication-s?
• Translates to
SELECT DISTINCT ?x1 WHERE {
?x1 a :person .
{SELECT DISTINCT ?x1 (COUNT(DISTINCT ?x3) AS ?x2) WHERE {
?x3 a :publication .
?x3 :author ?x1 .
IRISA SPARKLIS (Faceted SPARQL)
• Project
• Youtube
video
• Demo
• Examples
• Paper
GrammaticalFramework and MOLTO
• GrammaticalFramework: multilingual CNL
• MOLTO: EC FP project. Ontotext publications: 1, 2, 3, 4
• Define abstract grammar about a domain, with surface
grammars for several natural languages
• When one of the surface languages is SPARQL, this enables
CNL to/from SPARQL translation
MOLTO: CNL query to SPARQL
Question in English/Swedish is translated to SPARQL
MOLTO: RDF to NL Generation (Lexicalization)
painting description in a dozen languages
Outline↗ Intro: Ontotext, GraphDB, Webinar
↗ Writing SPARQL
↗ Built-in SPARQL Result Visualizations
↗ Using SPARQL Results in Spreadsheets
↗ Invoking SPARQL Queries, Parameterization
↗ Tools that Help With Writing SPARQL Queries
↗ Tools for Statistical Visualizations
↗ Graph Visualizations: Built-in, Developing
↗ Visualization Toolkits
↗ Declarative Visualization
↗ JDBC Data Access API
↗ Q&A
W3C Data Cube
W3C Data Cube ontology:
• OLAP data model
• Statistical classifications following SDMX
Many statistical datasets available as RDF, e.g.:
• Linked SDMX Data developed by Sarven Capadisli: International Monetary Fund IMF,
OECD, UN Food and Agriculture Organization FAO, Swiss Federal Statistical Office
BFS, European Central Bank ECB, World Bank, Transparency International.
• Eurostat developed by the LOD Around the Clock (LATC) project (static)
• Eurostat wrapper developed by Benedikt Kämpgen (updateable)
• US Securities and Exchange Commission SEC Edgar Wrapper developed by Benedikt
Kämpgen
• UN ComTrade developed by the Multisensor project
AKSW CubeViz
CubeViz: faceted statistical browser, visualization charts.
● Original project: OntoWiki addon (dependency), PHP: demo, source , wiki, used at the EU Open Data Portal.
● Currently being rewritten to JavaScript: demo (doesn't quite work), source
AKSW CubeViz
Polar Chart (EU Digital Agenda Scoreboard)
OpenCube Toolkit
OpenCube Toolkit developed by OpenCube project. Tools for:
Data Creation (conversion)
• TARQL extension: CSV/TSV files
• D2RQ extension for data cubes: relational databases
• JSON-stat2qb extension: JSON-stat
• R2RML extension: relational databases, following W3C standard
Data Expanding
• OpenCube Compatibility Explorer: (a) search LOD and find cubes compatible to expand initial cube, (b) establish
typed links
• OpenCube Aggregator: (a) creates 2n−1 new cubes: all combinations of n dimensions. (b) new observations for all
attributes of a hierarchical dimension.
• OpenCube Expander: merge two compatible cubes.
Data Exploring
• Data catalogue management: user interface (UI) templates for managing metadata on RDF data cubes and
supporting search and discovery
• OpenCube Browser: table-based visualizations
• OpenCube OLAP Browser: OLAP operations: pivot, drill-down, and roll-up
• R statistical analysis: run R data analysis scripts
• Interactive chart visualization widgets: cube slices with charts
• OpenCube MapView: visualize geo-spatial dimension: chroplet, markers, bubbles
CubesViewer
• CubesViewer: excellent OLAP visualization tool: demo,
CubesViewer Studio demo, source, documentation.
• Based on DataBrewery Cubes framework: source, documentation.
• Unfortunately does not yet support W3C Cubes
− We'd love to develop such feature for you (tracking issue)
CubesViewer
Outline↗ Intro: Ontotext, GraphDB, Webinar
↗ Writing SPARQL
↗ Built-in SPARQL Result Visualizations
↗ Using SPARQL Results in Spreadsheets
↗ Invoking SPARQL Queries, Parameterization
↗ Tools that Help With Writing SPARQL Queries
↗ Tools for Statistical Visualizations
↗ Graph Visualizations: Built-in, Developing
↗ Visualization Toolkits
↗ Declarative Visualization
↗ JDBC Data Access API
↗ Q&A
GDB WB Builtin Overview: Class Relations
GDB WB Builtin: Class Instances & Hierarchy
GDB WB Builtin: Domain/Range Graph
GDB WB Builtin Detail: Visual Graph
GDB WB Visual Graph: Relations of Google
GDB Graph Viz Dev: Company Relations
GDB Dev Hub: Visualizing GraphDB data with Ogma JS (library developed by Linkurious)
GDB Graph Viz Dev: Flight Routes
Outline↗ Intro: Ontotext, GraphDB, Webinar
↗ Writing SPARQL
↗ Built-in SPARQL Result Visualizations
↗ Using SPARQL Results in Spreadsheets
↗ Invoking SPARQL Queries, Parameterization
↗ Tools that Help With Writing SPARQL Queries
↗ Tools for Statistical Visualizations
↗ Graph Visualizations: Built-in, Developing
↗ Visualization Toolkits
↗ Declarative Visualization
↗ JDBC Data Access API
↗ Q&A
Visualization Toolkits
Numerous powerful and popular visualization tools, creating an amazing
variety of graphs and charts, e.g.:
● d3.js, with addons (e.g. interactive selection of chart type)
● Tableau Public edition
● Microsoft PowerBI
● GoJS
● Google Charts
● Linkurious
Specialized tools, e.g.
● CrossFilter for "faceting" of multidimensional data,
● Cubism for viewing time series
● CubeViz and OpenCube Toolkit for statistical data
● Histropedia for making advanced timelines
Example with GDB and Tableau
Public procurement spending through last 5 Bulgarian cabinets
(2011-2016). Sofia Datathon, March 2017. Slides, Visualization
Example with GDB and PowerBI
Procurements by one contracting authority in time. Filtering by government
cabinet, focusing by time interval. Sofia Hackathon, Apr 2017
Outline↗ Intro: Ontotext, GraphDB, Webinar
↗ Writing SPARQL
↗ Built-in SPARQL Result Visualizations
↗ Using SPARQL Results in Spreadsheets
↗ Invoking SPARQL Queries, Parameterization
↗ Tools that Help With Writing SPARQL Queries
↗ Tools for Statistical Visualizations
↗ Graph Visualizations: Built-in, Developing
↗ Visualization Toolkits
↗ Declarative Visualization
↗ JDBC Data Access API
↗ Q&A
RDF by Example
• ONTO tool for RDF instance visualization (rdfpuml) and R2RML generation (rdf2rml).
• E.g. mapping Dun & Bradstreet company data to Financial Industry Business Ontology (FIBO)
RDF by Example
• Dun & Bradstreet details (top-right): 3 "measures" (NetWorth, AnnualSales, ProfitLoss)
• Total of 152 fields grouped in 32 nodes: impossible to comprehend without such diagram
R2RML Generation
• Model of Museum Exhibitions (for J. Paul Getty Museum)
• Includes RDB joins and field names (Gallery TMS)
R2RML Generated From Model
• R2RML is verbose: 3 nodes, 15 statements for every model statement
• 1 model node (representing an Exhibition at a Venue) is expanded to
15 R2RML nodes: huge savings in complexity and maintainability
• R2RML requires semantic experts, whereas model diagrams can be
understood by subject-matter experts (museum curators, commodity
trade analysts, etc)
• Details in SWIB'16 presentation
R2RML Generated From Model: Detail
Outline↗ Intro: Ontotext, GraphDB, Webinar
↗ Writing SPARQL
↗ Built-in SPARQL Result Visualizations
↗ Using SPARQL Results in Spreadsheets
↗ Invoking SPARQL Queries, Parameterization
↗ Tools that Help With Writing SPARQL Queries
↗ Tools for Statistical Visualizations
↗ Graph Visualizations: Built-in, Developing
↗ Visualization Toolkits
↗ Declarative Visualization
↗ JDBC Data Access API
↗ Q&A
Why JDBC/ODBC?
• Many viz tools (e.g. Pentaho, Centrifuge, QlikView, Tableau) have ODBC/JDBC interfaces
• To save effort of constructing query URLs and saving results, we can provide a JDBC API
to GraphDB
• The user feeds SPARQL (not SQL queries) through JDBC, SPARQL tabular results are
returned to the tool
• We can reuse Jena JDBC or another open source library
• If the tool supports ODBC not JDBC, we can use the JDBC-ODBC bridge
(sun.jdbc.odbc.JdbcOdbcDriver).
• E.g. connecting from Java to Excel using ODBC and the JDBC-ODBC bridge
• Contact: vladimir.alexiev@ontotext.com
Lead, Innovation and Consulting Group, Ontotext Corp
• We'd be glad to deploy any 3rd party tools and integrate them to GraphDB for you!
Thanks for your attention.
Question time!
DOWNLOAD GRAPHDB FREE

More Related Content

More from Ontotext

Transforming Your Data with GraphDB: GraphDB Fundamentals, Jan 2018
Transforming Your Data with GraphDB: GraphDB Fundamentals, Jan 2018Transforming Your Data with GraphDB: GraphDB Fundamentals, Jan 2018
Transforming Your Data with GraphDB: GraphDB Fundamentals, Jan 2018Ontotext
 
Hercule: Journalist Platform to Find Breaking News and Fight Fake Ones
Hercule: Journalist Platform to Find Breaking News and Fight Fake OnesHercule: Journalist Platform to Find Breaking News and Fight Fake Ones
Hercule: Journalist Platform to Find Breaking News and Fight Fake OnesOntotext
 
How to migrate to GraphDB in 10 easy to follow steps
How to migrate to GraphDB in 10 easy to follow steps How to migrate to GraphDB in 10 easy to follow steps
How to migrate to GraphDB in 10 easy to follow steps Ontotext
 
GraphDB Cloud: Enterprise Ready RDF Database on Demand
GraphDB Cloud: Enterprise Ready RDF Database on DemandGraphDB Cloud: Enterprise Ready RDF Database on Demand
GraphDB Cloud: Enterprise Ready RDF Database on DemandOntotext
 
[Webinar] FactForge Debuts: Trump World Data and Instant Ranking of Industry ...
[Webinar] FactForge Debuts: Trump World Data and Instant Ranking of Industry ...[Webinar] FactForge Debuts: Trump World Data and Instant Ranking of Industry ...
[Webinar] FactForge Debuts: Trump World Data and Instant Ranking of Industry ...Ontotext
 
Smarter content with a Dynamic Semantic Publishing Platform
Smarter content with a Dynamic Semantic Publishing PlatformSmarter content with a Dynamic Semantic Publishing Platform
Smarter content with a Dynamic Semantic Publishing PlatformOntotext
 
How is smart data cooked?
How is smart data cooked?How is smart data cooked?
How is smart data cooked?Ontotext
 
Efficient Practices for Large Scale Text Mining Process
Efficient Practices for Large Scale Text Mining ProcessEfficient Practices for Large Scale Text Mining Process
Efficient Practices for Large Scale Text Mining ProcessOntotext
 
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
 
First Steps in Semantic Data Modelling and Search & Analytics in the Cloud
First Steps in Semantic Data Modelling and Search & Analytics in the CloudFirst Steps in Semantic Data Modelling and Search & Analytics in the Cloud
First Steps in Semantic Data Modelling and Search & Analytics in the CloudOntotext
 
The Knowledge Discovery Quest
The Knowledge Discovery Quest The Knowledge Discovery Quest
The Knowledge Discovery Quest Ontotext
 
Best Practices for Large Scale Text Mining Processing
Best Practices for Large Scale Text Mining ProcessingBest Practices for Large Scale Text Mining Processing
Best Practices for Large Scale Text Mining ProcessingOntotext
 
Build Narratives, Connect Artifacts: Linked Open Data for Cultural Heritage
Build Narratives, Connect Artifacts: Linked Open Data for Cultural HeritageBuild Narratives, Connect Artifacts: Linked Open Data for Cultural Heritage
Build Narratives, Connect Artifacts: Linked Open Data for Cultural HeritageOntotext
 
Semantic Data Normalization For Efficient Clinical Trial Research
Semantic Data Normalization For Efficient Clinical Trial ResearchSemantic Data Normalization For Efficient Clinical Trial Research
Semantic Data Normalization For Efficient Clinical Trial ResearchOntotext
 
Gain Super Powers in Data Science: Relationship Discovery Across Public Data
Gain Super Powers in Data Science: Relationship Discovery Across Public DataGain Super Powers in Data Science: Relationship Discovery Across Public Data
Gain Super Powers in Data Science: Relationship Discovery Across Public DataOntotext
 
Gaining Advantage in e-Learning with Semantic Adaptive Technology
Gaining Advantage in e-Learning with Semantic Adaptive TechnologyGaining Advantage in e-Learning with Semantic Adaptive Technology
Gaining Advantage in e-Learning with Semantic Adaptive TechnologyOntotext
 
Cooking up the Semantic Web
Cooking up the Semantic WebCooking up the Semantic Web
Cooking up the Semantic WebOntotext
 
Diving in Panama Papers and Open Data to Discover Emerging News
Diving in Panama Papers and Open Data to Discover Emerging NewsDiving in Panama Papers and Open Data to Discover Emerging News
Diving in Panama Papers and Open Data to Discover Emerging NewsOntotext
 
How to Reveal Hidden Relationships in Data and Risk Analytics
How to Reveal Hidden Relationships in Data and Risk AnalyticsHow to Reveal Hidden Relationships in Data and Risk Analytics
How to Reveal Hidden Relationships in Data and Risk AnalyticsOntotext
 
Why Semantics Matter? Adding the semantic edge to your content, right from au...
Why Semantics Matter? Adding the semantic edge to your content,right from au...Why Semantics Matter? Adding the semantic edge to your content,right from au...
Why Semantics Matter? Adding the semantic edge to your content, right from au...Ontotext
 

More from Ontotext (20)

Transforming Your Data with GraphDB: GraphDB Fundamentals, Jan 2018
Transforming Your Data with GraphDB: GraphDB Fundamentals, Jan 2018Transforming Your Data with GraphDB: GraphDB Fundamentals, Jan 2018
Transforming Your Data with GraphDB: GraphDB Fundamentals, Jan 2018
 
Hercule: Journalist Platform to Find Breaking News and Fight Fake Ones
Hercule: Journalist Platform to Find Breaking News and Fight Fake OnesHercule: Journalist Platform to Find Breaking News and Fight Fake Ones
Hercule: Journalist Platform to Find Breaking News and Fight Fake Ones
 
How to migrate to GraphDB in 10 easy to follow steps
How to migrate to GraphDB in 10 easy to follow steps How to migrate to GraphDB in 10 easy to follow steps
How to migrate to GraphDB in 10 easy to follow steps
 
GraphDB Cloud: Enterprise Ready RDF Database on Demand
GraphDB Cloud: Enterprise Ready RDF Database on DemandGraphDB Cloud: Enterprise Ready RDF Database on Demand
GraphDB Cloud: Enterprise Ready RDF Database on Demand
 
[Webinar] FactForge Debuts: Trump World Data and Instant Ranking of Industry ...
[Webinar] FactForge Debuts: Trump World Data and Instant Ranking of Industry ...[Webinar] FactForge Debuts: Trump World Data and Instant Ranking of Industry ...
[Webinar] FactForge Debuts: Trump World Data and Instant Ranking of Industry ...
 
Smarter content with a Dynamic Semantic Publishing Platform
Smarter content with a Dynamic Semantic Publishing PlatformSmarter content with a Dynamic Semantic Publishing Platform
Smarter content with a Dynamic Semantic Publishing Platform
 
How is smart data cooked?
How is smart data cooked?How is smart data cooked?
How is smart data cooked?
 
Efficient Practices for Large Scale Text Mining Process
Efficient Practices for Large Scale Text Mining ProcessEfficient Practices for Large Scale Text Mining Process
Efficient Practices for Large Scale Text Mining Process
 
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
 
First Steps in Semantic Data Modelling and Search & Analytics in the Cloud
First Steps in Semantic Data Modelling and Search & Analytics in the CloudFirst Steps in Semantic Data Modelling and Search & Analytics in the Cloud
First Steps in Semantic Data Modelling and Search & Analytics in the Cloud
 
The Knowledge Discovery Quest
The Knowledge Discovery Quest The Knowledge Discovery Quest
The Knowledge Discovery Quest
 
Best Practices for Large Scale Text Mining Processing
Best Practices for Large Scale Text Mining ProcessingBest Practices for Large Scale Text Mining Processing
Best Practices for Large Scale Text Mining Processing
 
Build Narratives, Connect Artifacts: Linked Open Data for Cultural Heritage
Build Narratives, Connect Artifacts: Linked Open Data for Cultural HeritageBuild Narratives, Connect Artifacts: Linked Open Data for Cultural Heritage
Build Narratives, Connect Artifacts: Linked Open Data for Cultural Heritage
 
Semantic Data Normalization For Efficient Clinical Trial Research
Semantic Data Normalization For Efficient Clinical Trial ResearchSemantic Data Normalization For Efficient Clinical Trial Research
Semantic Data Normalization For Efficient Clinical Trial Research
 
Gain Super Powers in Data Science: Relationship Discovery Across Public Data
Gain Super Powers in Data Science: Relationship Discovery Across Public DataGain Super Powers in Data Science: Relationship Discovery Across Public Data
Gain Super Powers in Data Science: Relationship Discovery Across Public Data
 
Gaining Advantage in e-Learning with Semantic Adaptive Technology
Gaining Advantage in e-Learning with Semantic Adaptive TechnologyGaining Advantage in e-Learning with Semantic Adaptive Technology
Gaining Advantage in e-Learning with Semantic Adaptive Technology
 
Cooking up the Semantic Web
Cooking up the Semantic WebCooking up the Semantic Web
Cooking up the Semantic Web
 
Diving in Panama Papers and Open Data to Discover Emerging News
Diving in Panama Papers and Open Data to Discover Emerging NewsDiving in Panama Papers and Open Data to Discover Emerging News
Diving in Panama Papers and Open Data to Discover Emerging News
 
How to Reveal Hidden Relationships in Data and Risk Analytics
How to Reveal Hidden Relationships in Data and Risk AnalyticsHow to Reveal Hidden Relationships in Data and Risk Analytics
How to Reveal Hidden Relationships in Data and Risk Analytics
 
Why Semantics Matter? Adding the semantic edge to your content, right from au...
Why Semantics Matter? Adding the semantic edge to your content,right from au...Why Semantics Matter? Adding the semantic edge to your content,right from au...
Why Semantics Matter? Adding the semantic edge to your content, right from au...
 

Recently uploaded

08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 

Recently uploaded (20)

08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 

[Webinar]Building Knowledge through Data Visualization

  • 1. Data Visualization with GraphDB and Workbench vladimir.alexiev@ontotext.com Co-lead, Innovation and Consulting Group, Ontotext Corp
  • 2. Outline ↗ Intro: Ontotext, GraphDB, Webinar ↗ Writing SPARQL ↗ Built-in SPARQL Result Visualizations ↗ Using SPARQL Results in Spreadsheets ↗ Invoking SPARQL Queries, Parameterization ↗ Tools that Help With Writing SPARQL Queries ↗ Tools for Statistical Visualizations ↗ Graph Visualizations: Built-in, Developing ↗ Visualization Toolkits ↗ Declarative Visualization ↗ JDBC Data Access API ↗ Q&A
  • 3. Ontotext History and Essential Facts ↗ Started in 2000 as a Semantic Web pioneer ↗ As Innovation lab within Sirma Group (listed as SKK), the biggest Bulgarian software house ↗ Got spun-off and took VC investment in 2008 ↗ 65 staff, HQ in Bulgaria, reps in Canada, UK, Germany and USA ↗ Over 400 person-years invested in R&D ↗ Multiple innovation & technology awards: Washington Post, BBC, FT, BAIT, etc. ↗ Member of multiple industry bodies: ↗ W3C, EDMC, ODI, LDBC, STI, DBPedia Foundation
  • 5. GraphDB ↗ Scalable RDF 1.1 engine ↗ Platform independent ↗ W3C standards support ↗ Open source API ↗ Reasoning and consistency checking ↗ Main contributor to RDF4J project ↗ Excellent support
  • 6. This webinar • SPARQL editing and data visualization features available in GraphDB Workbench (GDB WB) • Using queries written by others: query URL, parameterization • Data visualizations that can be added with little programming • 3rd party SPARQL writing aids and visualization tools that can be integrated to GraphDB (we'd be glad to do that for you) • Full report: HTML, PDF • Webinar: presentation, TODO recording
  • 7. Outline ↗ Intro: Ontotext, GraphDB, Webinar ↗ Writing SPARQL ↗ Built-in SPARQL Result Visualizations ↗ Using SPARQL Results in Spreadsheets ↗ Invoking SPARQL Queries, Parameterization ↗ Tools that Help With Writing SPARQL Queries ↗ Tools for Statistical Visualizations ↗ Graph Visualizations: Built-in, Developing ↗ Visualization Toolkits ↗ Declarative Visualization ↗ JDBC Data Access API ↗ Q&A
  • 8. SPARQL Editing • GDB WB integrates the YASGUI editor • Automatic prefix addition (best practice: load prefixes.ttl) • Class autocompletion • Property autocompletion
  • 10. Outline↗ Intro: Ontotext, GraphDB, Webinar ↗ Writing SPARQL ↗ Built-in SPARQL Result Visualizations ↗ Using SPARQL Results in Spreadsheets ↗ Invoking SPARQL Queries, Parameterization ↗ Tools that Help With Writing SPARQL Queries ↗ Tools for Statistical Visualizations ↗ Graph Visualizations: Built-in, Developing ↗ Visualization Toolkits ↗ Declarative Visualization ↗ JDBC Data Access API ↗ Q&A
  • 13. Outline↗ Intro: Ontotext, GraphDB, Webinar ↗ Writing SPARQL ↗ Built-in SPARQL Result Visualizations ↗ Using SPARQL Results in Spreadsheets ↗ Invoking SPARQL Queries, Parameterization ↗ Tools that Help With Writing SPARQL Queries ↗ Tools for Statistical Visualizations ↗ Graph Visualizations: Built-in, Developing ↗ Visualization Toolkits ↗ Declarative Visualization ↗ JDBC Data Access API ↗ Q&A
  • 14. SPARQL Results in Google Sheet FactForge-Industries
  • 15. Google Sheet Formulas ● Top left cell: get data (see next for the long ugly URL) =importdata("http://factforge.net/repositories/ff-news?query=%23+F4%3A+Top-level+industries+by +number+of+companies%0A%23+-+benefits+from+the+mapping+and+consolidation+of+industry+cl assifications%0A%23+++and+predicates+in+DBPedia+done+in+the+FactForge%0A%23+-+benefits+fr om+reasoning+-+transitive+and+symmetric+properties+across%0A%23+++the+industry+classificatio n+taxonomy+of+FactForge%0A%0APREFIX+dbo%3A+%3Chttp%3A%2F%2Fdbpedia.org%2Fontology% 2F%3E%0APREFIX+ff-map%3A+%3Chttp%3A%2F%2Ffactforge.net%2Fff2016-mapping%2F%3E%0A% 0ASELECT+DISTINCT+%3Ftop_industry+(COUNT(*)+AS+%3Fcount)%0A%7B%0A+++%3Fcompany+dbo %3Aindustry+%3Findustry+.%0A+++%3Findustry+%5Eff-map%3AindustryVariant+%2F+ff-map%3Aind ustryCenter+%3Ftop_industry+.%0A%7D%0AGROUP+BY+%3Ftop_industry+ORDER+BY+DESC(%3Fcou nt)+") ● Third col: extract industry name from industry URL =regexreplace(A2,"http://dbpedia.org/resource/","")
  • 16. Outline↗ Intro: Ontotext, GraphDB, Webinar ↗ Writing SPARQL ↗ Built-in SPARQL Result Visualizations ↗ Using SPARQL Results in Spreadsheets ↗ Invoking SPARQL Queries, Parameterization ↗ Tools that Help With Writing SPARQL Queries ↗ Tools for Statistical Visualizations ↗ Graph Visualizations: Built-in, Developing ↗ Visualization Toolkits ↗ Declarative Visualization ↗ JDBC Data Access API ↗ Q&A
  • 17. Query URL • Interactive endpoint: http://factforge.net/sparql − versus programmatic endpoint: http://factforge.net/repositories/ff-news • List of repos as JSON: http://factforge.net/rest/repositories • Get query URL, then replace the endpoint • If you dislike CSV, add Accept header, e.g. curl -H Accept:text/tab-separated-values
  • 18. Query Parameters • E.g. find the industries of a given $company PREFIX dbo: <http://dbpedia.org/ontology/> SELECT ?industry {$company dbo:industry ?industry} • Add parameter to query URL (value in NTriples format): &$company=<http://dbpedia.org/resource/Google> − URL: <http://dbpedia.org/resource/Google> − plain string: "Google" − string with language: "Google"@en − date with XSD type: "2017-05-25"^^<http://www.w3.org/2001/XMLSchema#date> • Try it, returns ?industry <http://dbpedia.org/resource/Software> <http://dbpedia.org/resource/Internet> <http://dbpedia.org/resource/Mobile_device> <http://dbpedia.org/resource/Cloud_computing>
  • 19. Outline↗ Intro: Ontotext, GraphDB, Webinar ↗ Writing SPARQL ↗ Built-in SPARQL Result Visualizations ↗ Using SPARQL Results in Spreadsheets ↗ Invoking SPARQL Queries, Parameterization ↗ Tools that Help With Writing SPARQL Queries ↗ Tools for Statistical Visualizations ↗ Graph Visualizations: Built-in, Developing ↗ Visualization Toolkits ↗ Declarative Visualization ↗ JDBC Data Access API ↗ Q&A
  • 20. IRISA SQUALL (CNL) • SQUALL (Semantic Query and Update High-Level Language). 2011-2013. Paper 1, 2 , 3, examples. • Example question Which person is an author of at least 10 publication-s? • Translates to SELECT DISTINCT ?x1 WHERE { ?x1 a :person . {SELECT DISTINCT ?x1 (COUNT(DISTINCT ?x3) AS ?x2) WHERE { ?x3 a :publication . ?x3 :author ?x1 .
  • 21. IRISA SPARKLIS (Faceted SPARQL) • Project • Youtube video • Demo • Examples • Paper
  • 22. GrammaticalFramework and MOLTO • GrammaticalFramework: multilingual CNL • MOLTO: EC FP project. Ontotext publications: 1, 2, 3, 4 • Define abstract grammar about a domain, with surface grammars for several natural languages • When one of the surface languages is SPARQL, this enables CNL to/from SPARQL translation
  • 23. MOLTO: CNL query to SPARQL Question in English/Swedish is translated to SPARQL
  • 24. MOLTO: RDF to NL Generation (Lexicalization) painting description in a dozen languages
  • 25. Outline↗ Intro: Ontotext, GraphDB, Webinar ↗ Writing SPARQL ↗ Built-in SPARQL Result Visualizations ↗ Using SPARQL Results in Spreadsheets ↗ Invoking SPARQL Queries, Parameterization ↗ Tools that Help With Writing SPARQL Queries ↗ Tools for Statistical Visualizations ↗ Graph Visualizations: Built-in, Developing ↗ Visualization Toolkits ↗ Declarative Visualization ↗ JDBC Data Access API ↗ Q&A
  • 26. W3C Data Cube W3C Data Cube ontology: • OLAP data model • Statistical classifications following SDMX Many statistical datasets available as RDF, e.g.: • Linked SDMX Data developed by Sarven Capadisli: International Monetary Fund IMF, OECD, UN Food and Agriculture Organization FAO, Swiss Federal Statistical Office BFS, European Central Bank ECB, World Bank, Transparency International. • Eurostat developed by the LOD Around the Clock (LATC) project (static) • Eurostat wrapper developed by Benedikt Kämpgen (updateable) • US Securities and Exchange Commission SEC Edgar Wrapper developed by Benedikt Kämpgen • UN ComTrade developed by the Multisensor project
  • 27. AKSW CubeViz CubeViz: faceted statistical browser, visualization charts. ● Original project: OntoWiki addon (dependency), PHP: demo, source , wiki, used at the EU Open Data Portal. ● Currently being rewritten to JavaScript: demo (doesn't quite work), source
  • 28. AKSW CubeViz Polar Chart (EU Digital Agenda Scoreboard)
  • 29. OpenCube Toolkit OpenCube Toolkit developed by OpenCube project. Tools for: Data Creation (conversion) • TARQL extension: CSV/TSV files • D2RQ extension for data cubes: relational databases • JSON-stat2qb extension: JSON-stat • R2RML extension: relational databases, following W3C standard Data Expanding • OpenCube Compatibility Explorer: (a) search LOD and find cubes compatible to expand initial cube, (b) establish typed links • OpenCube Aggregator: (a) creates 2n−1 new cubes: all combinations of n dimensions. (b) new observations for all attributes of a hierarchical dimension. • OpenCube Expander: merge two compatible cubes. Data Exploring • Data catalogue management: user interface (UI) templates for managing metadata on RDF data cubes and supporting search and discovery • OpenCube Browser: table-based visualizations • OpenCube OLAP Browser: OLAP operations: pivot, drill-down, and roll-up • R statistical analysis: run R data analysis scripts • Interactive chart visualization widgets: cube slices with charts • OpenCube MapView: visualize geo-spatial dimension: chroplet, markers, bubbles
  • 30. CubesViewer • CubesViewer: excellent OLAP visualization tool: demo, CubesViewer Studio demo, source, documentation. • Based on DataBrewery Cubes framework: source, documentation. • Unfortunately does not yet support W3C Cubes − We'd love to develop such feature for you (tracking issue)
  • 32. Outline↗ Intro: Ontotext, GraphDB, Webinar ↗ Writing SPARQL ↗ Built-in SPARQL Result Visualizations ↗ Using SPARQL Results in Spreadsheets ↗ Invoking SPARQL Queries, Parameterization ↗ Tools that Help With Writing SPARQL Queries ↗ Tools for Statistical Visualizations ↗ Graph Visualizations: Built-in, Developing ↗ Visualization Toolkits ↗ Declarative Visualization ↗ JDBC Data Access API ↗ Q&A
  • 33. GDB WB Builtin Overview: Class Relations
  • 34. GDB WB Builtin: Class Instances & Hierarchy
  • 35. GDB WB Builtin: Domain/Range Graph
  • 36. GDB WB Builtin Detail: Visual Graph
  • 37. GDB WB Visual Graph: Relations of Google
  • 38. GDB Graph Viz Dev: Company Relations GDB Dev Hub: Visualizing GraphDB data with Ogma JS (library developed by Linkurious)
  • 39. GDB Graph Viz Dev: Flight Routes
  • 40. Outline↗ Intro: Ontotext, GraphDB, Webinar ↗ Writing SPARQL ↗ Built-in SPARQL Result Visualizations ↗ Using SPARQL Results in Spreadsheets ↗ Invoking SPARQL Queries, Parameterization ↗ Tools that Help With Writing SPARQL Queries ↗ Tools for Statistical Visualizations ↗ Graph Visualizations: Built-in, Developing ↗ Visualization Toolkits ↗ Declarative Visualization ↗ JDBC Data Access API ↗ Q&A
  • 41. Visualization Toolkits Numerous powerful and popular visualization tools, creating an amazing variety of graphs and charts, e.g.: ● d3.js, with addons (e.g. interactive selection of chart type) ● Tableau Public edition ● Microsoft PowerBI ● GoJS ● Google Charts ● Linkurious Specialized tools, e.g. ● CrossFilter for "faceting" of multidimensional data, ● Cubism for viewing time series ● CubeViz and OpenCube Toolkit for statistical data ● Histropedia for making advanced timelines
  • 42. Example with GDB and Tableau Public procurement spending through last 5 Bulgarian cabinets (2011-2016). Sofia Datathon, March 2017. Slides, Visualization
  • 43. Example with GDB and PowerBI Procurements by one contracting authority in time. Filtering by government cabinet, focusing by time interval. Sofia Hackathon, Apr 2017
  • 44. Outline↗ Intro: Ontotext, GraphDB, Webinar ↗ Writing SPARQL ↗ Built-in SPARQL Result Visualizations ↗ Using SPARQL Results in Spreadsheets ↗ Invoking SPARQL Queries, Parameterization ↗ Tools that Help With Writing SPARQL Queries ↗ Tools for Statistical Visualizations ↗ Graph Visualizations: Built-in, Developing ↗ Visualization Toolkits ↗ Declarative Visualization ↗ JDBC Data Access API ↗ Q&A
  • 45. RDF by Example • ONTO tool for RDF instance visualization (rdfpuml) and R2RML generation (rdf2rml). • E.g. mapping Dun & Bradstreet company data to Financial Industry Business Ontology (FIBO)
  • 46. RDF by Example • Dun & Bradstreet details (top-right): 3 "measures" (NetWorth, AnnualSales, ProfitLoss) • Total of 152 fields grouped in 32 nodes: impossible to comprehend without such diagram
  • 47. R2RML Generation • Model of Museum Exhibitions (for J. Paul Getty Museum) • Includes RDB joins and field names (Gallery TMS)
  • 48. R2RML Generated From Model • R2RML is verbose: 3 nodes, 15 statements for every model statement • 1 model node (representing an Exhibition at a Venue) is expanded to 15 R2RML nodes: huge savings in complexity and maintainability • R2RML requires semantic experts, whereas model diagrams can be understood by subject-matter experts (museum curators, commodity trade analysts, etc) • Details in SWIB'16 presentation
  • 49. R2RML Generated From Model: Detail
  • 50. Outline↗ Intro: Ontotext, GraphDB, Webinar ↗ Writing SPARQL ↗ Built-in SPARQL Result Visualizations ↗ Using SPARQL Results in Spreadsheets ↗ Invoking SPARQL Queries, Parameterization ↗ Tools that Help With Writing SPARQL Queries ↗ Tools for Statistical Visualizations ↗ Graph Visualizations: Built-in, Developing ↗ Visualization Toolkits ↗ Declarative Visualization ↗ JDBC Data Access API ↗ Q&A
  • 51. Why JDBC/ODBC? • Many viz tools (e.g. Pentaho, Centrifuge, QlikView, Tableau) have ODBC/JDBC interfaces • To save effort of constructing query URLs and saving results, we can provide a JDBC API to GraphDB • The user feeds SPARQL (not SQL queries) through JDBC, SPARQL tabular results are returned to the tool • We can reuse Jena JDBC or another open source library • If the tool supports ODBC not JDBC, we can use the JDBC-ODBC bridge (sun.jdbc.odbc.JdbcOdbcDriver). • E.g. connecting from Java to Excel using ODBC and the JDBC-ODBC bridge
  • 52.
  • 53. • Contact: vladimir.alexiev@ontotext.com Lead, Innovation and Consulting Group, Ontotext Corp • We'd be glad to deploy any 3rd party tools and integrate them to GraphDB for you! Thanks for your attention. Question time! DOWNLOAD GRAPHDB FREE