On-Demand RDF Graph Databases in
the Cloud
A webinar with
Marin Dimitrov, CTO of Ontotext
Jun 11th, 2015
On-Demand RDF Graph Databases in the Cloud #1Jun 2015
• The Self-Service Semantic Suite (S4)
• RDF graph databases
• On-demand RDF databases in the Cloud
• Demo
• Roadmap
• Q&A session
Today’s topics
#2On-Demand RDF Graph Databases in the Cloud Jun 2015
About Ontotext
• Provides products & solutions for content
enrichment, metadata management & information
discovery
– 70 employees, headquarters in Sofia (Bulgaria)
– Sales presence in London & New York
• Major clients and industries
– Media & Publishing
– Health Care & Life Sciences
– Cultural Heritage & Digital Libraries
– Government
– Education
#3On-Demand RDF Graph Databases in the Cloud Jun 2015
Some of our clients
#4On-Demand RDF Graph Databases in the Cloud Jun 2015
Our vision for Smart Data management
Graph Database
• Flexible RDF graph
data model
• Ontology based
metadata layer
Semantic Search
• Semantic,
exploratory search
• Metadata driven
content
Text Mining & Interlinking
• Interlink people,
locations, organisations,
topics
• Discover implicit relations
• Reuse open knowledge
graphs
#5On-Demand RDF Graph Databases in the Cloud Jun 2015
Ontotext and AstraZeneca
Profile
• Global, Bio-pharma company
• $28 billion in sales in 2012
• $4 billion in R&D across three continents
Goals
• Efficient design of new clinical studies
• Quick access to all of the data
• Improved evidence based decision-making
• Strengthen the knowledge feedback loop
• Enable predictive science
Challenges
• Over 7,000 studies and 23,000 documents
are difficult to obtain
• Searches returning 1,000 – 10,000 results
• Document repositories not designed for
reuse
• Tedious process to arrive at evidence
based decisions
#6On-Demand RDF Graph Databases in the Cloud Jun 2015
Ontotext and the Financial Times
Profile
• Top 3 business media
• Focused both on B2C publishing and B2B
services
Goals
• Create a horizontal platform for content
enrichment and recommendation based on
semantics
Challenges
• Critical part of the entire workflow
• Move fast from inception to production
deployment
• GraphDB used not only for data, but for
content storage as well
• Horizontal platform with focus on
organizations, people and relations between
them
• Automatic extraction of all these concepts
and relationships
• Personalised recommendations of relevant
content across the entire media
#7On-Demand RDF Graph Databases in the Cloud Jun 2015
Ontotext and LMI
Profile
• Established in 1961 to enable federal
agencies
• Specializes in logistics, financial,
infrastructure & information management
Goals
• Unlock large collections of complex
documents
• Improve analyst productivity
• Create an application they can sell to US
Federal agencies
Challenges
• Analysts taking hours to find, download
and search documents, using inaccurate
keyword searches
• Needed a knowledge base to search
quickly and guide the analysts – highly
relevant searches
• Extracts knowledge from collection of
documents
• Uses GraphDB to intuitively search and filter
• More than 90% savings in analyst time
• Accurate results
#8On-Demand RDF Graph Databases in the Cloud Jun 2015
The Self-Service Semantic Suite
(S4)
#9On-Demand RDF Graph Databases in the Cloud Jun 2015
• Capabilities for text analytics, content enrichment
and smart data management
– Text analytics for news, life sciences and social media
– RDF graph database as-a-service
– Access to large open knowledge graphs
• Available on-demand, anytime, anywhere
– Simple RESTful services
• Simple pay-per-use pricing
– No upfront commitments
What is S4?
#10On-Demand RDF Graph Databases in the Cloud Jun 2015
What is S4?
#11On-Demand RDF Graph Databases in the Cloud Jun 2015
Today’s
webinar
focus
• Enables quick prototyping
– Instantly available, no provisioning & operations
required
– Focus on building applications, don’t worry about
infrastructure
• Free tier!
• Easy to start, shorter learning curve
– Various add-ons, SDKs and demo code
• Based on enterprise semantic technology by
Ontotext
Benefits
#12On-Demand RDF Graph Databases in the Cloud Jun 2015
Getting started in minutes
#13
1. Register a personal
account at s4.ontotext.com
2. Generate an
API key pair
3. Check out the docs,
demos & code at
docs.s4.ontotext.com
4. Contact us
with questions!
On-Demand RDF Graph Databases in the Cloud Jun 2015
• Text analytics services
– News annotation
– News categorisation
– Biomedical
– Twitter
• Entity linking & disambiguation
– Mappings to DBpedia & GeoNames instances
– Mappings to biomedical data sources (LinkedLifeData)
• HTML, MS Word, XML, plain text input
• Simple JSON output
Text analytics with S4
#14On-Demand RDF Graph Databases in the Cloud Jun 2015
News analytics example
#15
S4 result
On-Demand RDF Graph Databases in the Cloud Jun 2015
• SPARQL query endpoint to the FactForge semantic
data warehouse
– 500 million entities / 5 billion triples
• Key LOD datasets integrated
– DBpedia, Freebase/WikiData, GeoNames, WordNet
– Dublin Core, SKOS, PROTON ontologies and
vocabularies
Knowledge graphs with S4
#16On-Demand RDF Graph Databases in the Cloud Jun 2015
Knowledge graph query example
#17
SPARQL query
using DBpedia
data
On-Demand RDF Graph Databases in the Cloud Jun 2015
RDF Graph Data Management
#18On-Demand RDF Graph Databases in the Cloud Jun 2015
• Schema-less data integration, easy querying of
diverse data
• Standards compliance
– Based on a mature set of W3C standards: RDF/S, OWL,
SPARQL
– Portability & interoperability across vendors
• Complex & exploratory queries
• Infer implicit relations in the graph
• Reuse open knowledge graphs (Linked Open Data)
RDF for smart data management
#19On-Demand RDF Graph Databases in the Cloud Jun 2015
A visual view of RDF data
#20
Sub-properties
Sub-classes
Transitive relations
Inference
On-Demand RDF Graph Databases in the Cloud Jun 2015
• High performance RDF database, 10s of billions of
triples
• Full SPARQL 1.1 support
• Various reasoning profiles, including custom rules
• Efficient data integration (“sameAs” optimisations)
and deletion of statements & their inferences
• Geo-spatial indexing & querying with SPARQL
• RDF Rank, full-text search, 3rd party plugins
• Connectors to Solr, ElasticSearch, NoSQL DBs
• GraphDB Workbench
GraphDB by Ontotext
#21On-Demand RDF Graph Databases in the Cloud Jun 2015
“Despite all of this attention the
market is dominated by Neo4J
and Ontotext (GraphDB), which
are graph and RDF database
providers respectively. These are
the longest established vendors
in this space (both founded in
2000) so they have a longevity
and experience that other
suppliers cannot yet match.
How long this will remain the
case remains to be seen.”
Graph databases report by Bloor
Bloor Group whitepaper
Graph Databases, April 2015
http://www.bloorresearch.com/technology/graph-databases/
#22On-Demand RDF Graph Databases in the Cloud Jun 2015
On-demand RDF Databases in
the Cloud
#23On-Demand RDF Graph Databases in the Cloud Jun 2015
• Ideal for customers who are…
– still evaluating and testing RDF technology
– In the early phase of adoption / PoC
• Enterprise grade RDF database in the Cloud
– No need for upfront payments for licenses & hardware
– Pay only for what you use, when you use it
– Instantly operational within minutes
– No need for complex planning - use as many DB
instances for as long as needed
– Timely upgrades to the latest version
• Self-managed and fully managed options
RDF database in the Cloud with S4
#24On-Demand RDF Graph Databases in the Cloud Jun 2015
• Available from AWS Marketplace, “1-Click”
purchasing
• Variety of hardware configurations
– 2 to 8 CPU cores / 8 to 61 GB RAM
– IOPS performance & encryption (EBS)
• Manage large data volumes
• Pay-per-hour pricing
• Users take care of operations
– Backups, restores
Self-managed RDF DB in the Cloud
#25On-Demand RDF Graph Databases in the Cloud Jun 2015
Self-managed RDF DB in the Cloud
#26On-Demand RDF Graph Databases in the Cloud Jun 2015
• Low-cost graph DBaaS available 24/7
• Ideal for small & moderate data & query volumes
– database options: 1M, 10M, 50M, 250M & 1B triples
• Instantly deploy new databases when needed
• Zero administration
– automated operations, maintenance & upgrades
• Users pay only for the actual database utilisation
• Standard OpenRDF REST API
Fully managed RDF DB in the Cloud
#27On-Demand RDF Graph Databases in the Cloud Jun 2015
Fully managed RDF DB in the Cloud
#28
Database type Max triples
micro 1 million
XS 10 million
S 50 million
M 250 million
L 1 billion
On-Demand RDF Graph Databases in the Cloud Jun 2015
FREE!
Fully managed RDF DB in the Cloud
#29On-Demand RDF Graph Databases in the Cloud Jun 2015
• Evaluate the technology
• Instant deployment, faster experimentation
• Faster application development
• Data services / Open Data publishing
• Reducing TCO & risk
Use cases for an RDF DBaaS
#30On-Demand RDF Graph Databases in the Cloud Jun 2015
• Cloud native architecture, running on AWS
• Designed for elasticity & high availability
– More resources added whenever needed
– Failed nodes replaced immediately
• GraphDB is the RDF DB engine
– OpenRDF REST API
• Isolation of the multi-tenant databases
– Docker containers
– Private NAS volumes (EBS) for data storage
Fully managed RDF DB in the Cloud
#31On-Demand RDF Graph Databases in the Cloud Jun 2015
OpenRDF REST API
#32
resource operations comments
/repositories GET Get info on DB repos
/repositories/<REPOSITORY> GET, POST, PUT, DELETE Create*, delete, query a
repository
/repositories/<REPOSITORY>/size GET Gets the number of triples in a
repository
/repositories/<REPOSITORY>/statements GET, POST, PUT, DELETE Add, read, update, delete
statements
repositories/<REPOSITORY>/rdf-graphs/<GRAPH> GET, POST, PUT, DELETE Same as above
/settings GET, PUT Configure the DBaaS*
On-Demand RDF Graph Databases in the Cloud Jun 2015
Uploading data (OpenRDF Workbench)
#33On-Demand RDF Graph Databases in the Cloud Jun 2015
Uploading data (OpenRDF Workbench)
#34On-Demand RDF Graph Databases in the Cloud Jun 2015
Uploading data (curl)
#35
API_KEY=…
KEY_SECRET=…
USER=…
DATABASE=…
REPOSITORY=…
SERVICE_ENDPOINT="https://$API_KEY:$KEY_SECRET@rdf.s4.ontotext.com/$USER/$DATABASE"
curl -X POST -H "Content-Type:application/rdf+xml;charset=UTF-8" -T example.rdf
$SERVICE_ENDPOINT/repositories/$REPOSITORY/statements
On-Demand RDF Graph Databases in the Cloud Jun 2015
Uploading data (Java / OpenRDF SDK)
#36
String dbaasURL = "<dbaas URL>";
String repositoryId="<repository ID>";
String pathToTheFile="<pathToTheFile>";
String ApiKey = "<api-key>";
String ApiPass = "<api-pass>";
//The base URI to resolve any relative URIs that are in the data against. String
baseURI="http://www.example.org";
// Create a RemoteRepositoryManager
RemoteRepositoryManager manager = RemoteRepositoryManager.getInstance(dbaasURL, ApiKey,
ApiPass);
// Open a connection to the repository
Repository repository = manager.getRepository(repositoryId);
RepositoryConnection repositoryConnection = repository.getConnection();
// upload RDF data
File fileToUpload=new File(pathToTheFile);
repositoryConnection.add(fileToUpload, baseURI, RDFFormat.RDFXML);
// close the connection
repositoryConnection.close();
On-Demand RDF Graph Databases in the Cloud Jun 2015
Querying data (OpenRDF Workbench)
#37On-Demand RDF Graph Databases in the Cloud Jun 2015
Querying data (OpenRDF Workbench)
#38On-Demand RDF Graph Databases in the Cloud Jun 2015
Querying data (curl)
#39
API_KEY=…
KEY_SECRET=…
USER=…
DATABASE=…
REPOSITORY=…
SERVICE_ENDPOINT="https://$API_KEY:$KEY_SECRET@rdf.s4.ontotext.com/$USER/$DATABASE"
SPARQL_QUERY="…"
curl -X POST -H "Accept:application/sparql-results+xml" -d "query=$SPARQL_QUERY"
$SERVICE_ENDPOINT/repositories/$REPOSITORY
On-Demand RDF Graph Databases in the Cloud Jun 2015
Demo
#40On-Demand RDF Graph Databases in the Cloud Jun 2015
• (Create a database)
• Create a repository
• Upload sample data
• Query the data
• Explore data with a 3rd party tool
Demo scenario
#41On-Demand RDF Graph Databases in the Cloud Jun 2015
Create a database
#42On-Demand RDF Graph Databases in the Cloud Jun 2015
Micro, XS, S, M, or L
R/O access to Open
Data services or
open knowledge
graphs
Create a repository
#43On-Demand RDF Graph Databases in the Cloud Jun 2015
Inference ruleset
Cache distribution
Uploading data (OpenRDF Workbench)
#44On-Demand RDF Graph Databases in the Cloud Jun 2015
Sample data (European country
populations)
#45On-Demand RDF Graph Databases in the Cloud Jun 2015
Uploading data (OpenRDF Workbench)
#46On-Demand RDF Graph Databases in the Cloud Jun 2015
Uploading data (OpenRDF Workbench)
#47On-Demand RDF Graph Databases in the Cloud Jun 2015
Querying data (OpenRDF Workbench)
#48On-Demand RDF Graph Databases in the Cloud Jun 2015
Querying data (OpenRDF Workbench)
#49On-Demand RDF Graph Databases in the Cloud Jun 2015
Exploring data (Metreeca Graph Rover)
#50On-Demand RDF Graph Databases in the Cloud Jun 2015
Exploring data (Metreeca Graph Rover)
#51On-Demand RDF Graph Databases in the Cloud Jun 2015
Exploring data (Metreeca Graph Rover)
#52On-Demand RDF Graph Databases in the Cloud Jun 2015
Exploring data (Metreeca Graph Rover)
#53On-Demand RDF Graph Databases in the Cloud Jun 2015
Roadmap
#54On-Demand RDF Graph Databases in the Cloud Jun 2015
• Various improvements (backup & export)
• Gradually introduce XS, S, M and L databases
• Increased availability
– Cross-datacenter replication
• Integration with the GraphDB Workbench
Work in progress
#55On-Demand RDF Graph Databases in the Cloud Jun 2015
GraphDB Workbench
#56On-Demand RDF Graph Databases in the Cloud Jun 2015
Key Takeaways
#57On-Demand RDF Graph Databases in the Cloud Jun 2015
• S4 provides an enterprise RDF DBaaS
• Free graph databases up to 1M triples
• Instantly available whenever needed
• Easy to use: OpenRDF REST services
• Zero administration: automated operations,
maintenance & upgrades
• Resilient design, high availability
• Check out http://s4.ontotext.com
Key Takeaways
#58On-Demand RDF Graph Databases in the Cloud Jun 2015
• Online documentation
– http://docs.s4.ontotext.com/
• Helpdesk
– http://support.s4.ontotext.com/
• Sample code & demos on GitHub
– https://github.com/Ontotext-AD/S4
• Twitter
– @Ontotext_S4
Additional S4 resources
#59On-Demand RDF Graph Databases in the Cloud Jun 2015
Thank you!
On-Demand RDF Graph Databases in the Cloud
A link to the recording will be sent out shortly
Jun 11th, 2015
#60On-Demand RDF Graph Databases in the Cloud Jun 2015
DBaaS architecture on AWS
#61On-Demand RDF Graph Databases in the Cloud Jun 2015

On-Demand RDF Graph Databases in the Cloud

  • 1.
    On-Demand RDF GraphDatabases in the Cloud A webinar with Marin Dimitrov, CTO of Ontotext Jun 11th, 2015 On-Demand RDF Graph Databases in the Cloud #1Jun 2015
  • 2.
    • The Self-ServiceSemantic Suite (S4) • RDF graph databases • On-demand RDF databases in the Cloud • Demo • Roadmap • Q&A session Today’s topics #2On-Demand RDF Graph Databases in the Cloud Jun 2015
  • 3.
    About Ontotext • Providesproducts & solutions for content enrichment, metadata management & information discovery – 70 employees, headquarters in Sofia (Bulgaria) – Sales presence in London & New York • Major clients and industries – Media & Publishing – Health Care & Life Sciences – Cultural Heritage & Digital Libraries – Government – Education #3On-Demand RDF Graph Databases in the Cloud Jun 2015
  • 4.
    Some of ourclients #4On-Demand RDF Graph Databases in the Cloud Jun 2015
  • 5.
    Our vision forSmart Data management Graph Database • Flexible RDF graph data model • Ontology based metadata layer Semantic Search • Semantic, exploratory search • Metadata driven content Text Mining & Interlinking • Interlink people, locations, organisations, topics • Discover implicit relations • Reuse open knowledge graphs #5On-Demand RDF Graph Databases in the Cloud Jun 2015
  • 6.
    Ontotext and AstraZeneca Profile •Global, Bio-pharma company • $28 billion in sales in 2012 • $4 billion in R&D across three continents Goals • Efficient design of new clinical studies • Quick access to all of the data • Improved evidence based decision-making • Strengthen the knowledge feedback loop • Enable predictive science Challenges • Over 7,000 studies and 23,000 documents are difficult to obtain • Searches returning 1,000 – 10,000 results • Document repositories not designed for reuse • Tedious process to arrive at evidence based decisions #6On-Demand RDF Graph Databases in the Cloud Jun 2015
  • 7.
    Ontotext and theFinancial Times Profile • Top 3 business media • Focused both on B2C publishing and B2B services Goals • Create a horizontal platform for content enrichment and recommendation based on semantics Challenges • Critical part of the entire workflow • Move fast from inception to production deployment • GraphDB used not only for data, but for content storage as well • Horizontal platform with focus on organizations, people and relations between them • Automatic extraction of all these concepts and relationships • Personalised recommendations of relevant content across the entire media #7On-Demand RDF Graph Databases in the Cloud Jun 2015
  • 8.
    Ontotext and LMI Profile •Established in 1961 to enable federal agencies • Specializes in logistics, financial, infrastructure & information management Goals • Unlock large collections of complex documents • Improve analyst productivity • Create an application they can sell to US Federal agencies Challenges • Analysts taking hours to find, download and search documents, using inaccurate keyword searches • Needed a knowledge base to search quickly and guide the analysts – highly relevant searches • Extracts knowledge from collection of documents • Uses GraphDB to intuitively search and filter • More than 90% savings in analyst time • Accurate results #8On-Demand RDF Graph Databases in the Cloud Jun 2015
  • 9.
    The Self-Service SemanticSuite (S4) #9On-Demand RDF Graph Databases in the Cloud Jun 2015
  • 10.
    • Capabilities fortext analytics, content enrichment and smart data management – Text analytics for news, life sciences and social media – RDF graph database as-a-service – Access to large open knowledge graphs • Available on-demand, anytime, anywhere – Simple RESTful services • Simple pay-per-use pricing – No upfront commitments What is S4? #10On-Demand RDF Graph Databases in the Cloud Jun 2015
  • 11.
    What is S4? #11On-DemandRDF Graph Databases in the Cloud Jun 2015 Today’s webinar focus
  • 12.
    • Enables quickprototyping – Instantly available, no provisioning & operations required – Focus on building applications, don’t worry about infrastructure • Free tier! • Easy to start, shorter learning curve – Various add-ons, SDKs and demo code • Based on enterprise semantic technology by Ontotext Benefits #12On-Demand RDF Graph Databases in the Cloud Jun 2015
  • 13.
    Getting started inminutes #13 1. Register a personal account at s4.ontotext.com 2. Generate an API key pair 3. Check out the docs, demos & code at docs.s4.ontotext.com 4. Contact us with questions! On-Demand RDF Graph Databases in the Cloud Jun 2015
  • 14.
    • Text analyticsservices – News annotation – News categorisation – Biomedical – Twitter • Entity linking & disambiguation – Mappings to DBpedia & GeoNames instances – Mappings to biomedical data sources (LinkedLifeData) • HTML, MS Word, XML, plain text input • Simple JSON output Text analytics with S4 #14On-Demand RDF Graph Databases in the Cloud Jun 2015
  • 15.
    News analytics example #15 S4result On-Demand RDF Graph Databases in the Cloud Jun 2015
  • 16.
    • SPARQL queryendpoint to the FactForge semantic data warehouse – 500 million entities / 5 billion triples • Key LOD datasets integrated – DBpedia, Freebase/WikiData, GeoNames, WordNet – Dublin Core, SKOS, PROTON ontologies and vocabularies Knowledge graphs with S4 #16On-Demand RDF Graph Databases in the Cloud Jun 2015
  • 17.
    Knowledge graph queryexample #17 SPARQL query using DBpedia data On-Demand RDF Graph Databases in the Cloud Jun 2015
  • 18.
    RDF Graph DataManagement #18On-Demand RDF Graph Databases in the Cloud Jun 2015
  • 19.
    • Schema-less dataintegration, easy querying of diverse data • Standards compliance – Based on a mature set of W3C standards: RDF/S, OWL, SPARQL – Portability & interoperability across vendors • Complex & exploratory queries • Infer implicit relations in the graph • Reuse open knowledge graphs (Linked Open Data) RDF for smart data management #19On-Demand RDF Graph Databases in the Cloud Jun 2015
  • 20.
    A visual viewof RDF data #20 Sub-properties Sub-classes Transitive relations Inference On-Demand RDF Graph Databases in the Cloud Jun 2015
  • 21.
    • High performanceRDF database, 10s of billions of triples • Full SPARQL 1.1 support • Various reasoning profiles, including custom rules • Efficient data integration (“sameAs” optimisations) and deletion of statements & their inferences • Geo-spatial indexing & querying with SPARQL • RDF Rank, full-text search, 3rd party plugins • Connectors to Solr, ElasticSearch, NoSQL DBs • GraphDB Workbench GraphDB by Ontotext #21On-Demand RDF Graph Databases in the Cloud Jun 2015
  • 22.
    “Despite all ofthis attention the market is dominated by Neo4J and Ontotext (GraphDB), which are graph and RDF database providers respectively. These are the longest established vendors in this space (both founded in 2000) so they have a longevity and experience that other suppliers cannot yet match. How long this will remain the case remains to be seen.” Graph databases report by Bloor Bloor Group whitepaper Graph Databases, April 2015 http://www.bloorresearch.com/technology/graph-databases/ #22On-Demand RDF Graph Databases in the Cloud Jun 2015
  • 23.
    On-demand RDF Databasesin the Cloud #23On-Demand RDF Graph Databases in the Cloud Jun 2015
  • 24.
    • Ideal forcustomers who are… – still evaluating and testing RDF technology – In the early phase of adoption / PoC • Enterprise grade RDF database in the Cloud – No need for upfront payments for licenses & hardware – Pay only for what you use, when you use it – Instantly operational within minutes – No need for complex planning - use as many DB instances for as long as needed – Timely upgrades to the latest version • Self-managed and fully managed options RDF database in the Cloud with S4 #24On-Demand RDF Graph Databases in the Cloud Jun 2015
  • 25.
    • Available fromAWS Marketplace, “1-Click” purchasing • Variety of hardware configurations – 2 to 8 CPU cores / 8 to 61 GB RAM – IOPS performance & encryption (EBS) • Manage large data volumes • Pay-per-hour pricing • Users take care of operations – Backups, restores Self-managed RDF DB in the Cloud #25On-Demand RDF Graph Databases in the Cloud Jun 2015
  • 26.
    Self-managed RDF DBin the Cloud #26On-Demand RDF Graph Databases in the Cloud Jun 2015
  • 27.
    • Low-cost graphDBaaS available 24/7 • Ideal for small & moderate data & query volumes – database options: 1M, 10M, 50M, 250M & 1B triples • Instantly deploy new databases when needed • Zero administration – automated operations, maintenance & upgrades • Users pay only for the actual database utilisation • Standard OpenRDF REST API Fully managed RDF DB in the Cloud #27On-Demand RDF Graph Databases in the Cloud Jun 2015
  • 28.
    Fully managed RDFDB in the Cloud #28 Database type Max triples micro 1 million XS 10 million S 50 million M 250 million L 1 billion On-Demand RDF Graph Databases in the Cloud Jun 2015 FREE!
  • 29.
    Fully managed RDFDB in the Cloud #29On-Demand RDF Graph Databases in the Cloud Jun 2015
  • 30.
    • Evaluate thetechnology • Instant deployment, faster experimentation • Faster application development • Data services / Open Data publishing • Reducing TCO & risk Use cases for an RDF DBaaS #30On-Demand RDF Graph Databases in the Cloud Jun 2015
  • 31.
    • Cloud nativearchitecture, running on AWS • Designed for elasticity & high availability – More resources added whenever needed – Failed nodes replaced immediately • GraphDB is the RDF DB engine – OpenRDF REST API • Isolation of the multi-tenant databases – Docker containers – Private NAS volumes (EBS) for data storage Fully managed RDF DB in the Cloud #31On-Demand RDF Graph Databases in the Cloud Jun 2015
  • 32.
    OpenRDF REST API #32 resourceoperations comments /repositories GET Get info on DB repos /repositories/<REPOSITORY> GET, POST, PUT, DELETE Create*, delete, query a repository /repositories/<REPOSITORY>/size GET Gets the number of triples in a repository /repositories/<REPOSITORY>/statements GET, POST, PUT, DELETE Add, read, update, delete statements repositories/<REPOSITORY>/rdf-graphs/<GRAPH> GET, POST, PUT, DELETE Same as above /settings GET, PUT Configure the DBaaS* On-Demand RDF Graph Databases in the Cloud Jun 2015
  • 33.
    Uploading data (OpenRDFWorkbench) #33On-Demand RDF Graph Databases in the Cloud Jun 2015
  • 34.
    Uploading data (OpenRDFWorkbench) #34On-Demand RDF Graph Databases in the Cloud Jun 2015
  • 35.
    Uploading data (curl) #35 API_KEY=… KEY_SECRET=… USER=… DATABASE=… REPOSITORY=… SERVICE_ENDPOINT="https://$API_KEY:$KEY_SECRET@rdf.s4.ontotext.com/$USER/$DATABASE" curl-X POST -H "Content-Type:application/rdf+xml;charset=UTF-8" -T example.rdf $SERVICE_ENDPOINT/repositories/$REPOSITORY/statements On-Demand RDF Graph Databases in the Cloud Jun 2015
  • 36.
    Uploading data (Java/ OpenRDF SDK) #36 String dbaasURL = "<dbaas URL>"; String repositoryId="<repository ID>"; String pathToTheFile="<pathToTheFile>"; String ApiKey = "<api-key>"; String ApiPass = "<api-pass>"; //The base URI to resolve any relative URIs that are in the data against. String baseURI="http://www.example.org"; // Create a RemoteRepositoryManager RemoteRepositoryManager manager = RemoteRepositoryManager.getInstance(dbaasURL, ApiKey, ApiPass); // Open a connection to the repository Repository repository = manager.getRepository(repositoryId); RepositoryConnection repositoryConnection = repository.getConnection(); // upload RDF data File fileToUpload=new File(pathToTheFile); repositoryConnection.add(fileToUpload, baseURI, RDFFormat.RDFXML); // close the connection repositoryConnection.close(); On-Demand RDF Graph Databases in the Cloud Jun 2015
  • 37.
    Querying data (OpenRDFWorkbench) #37On-Demand RDF Graph Databases in the Cloud Jun 2015
  • 38.
    Querying data (OpenRDFWorkbench) #38On-Demand RDF Graph Databases in the Cloud Jun 2015
  • 39.
    Querying data (curl) #39 API_KEY=… KEY_SECRET=… USER=… DATABASE=… REPOSITORY=… SERVICE_ENDPOINT="https://$API_KEY:$KEY_SECRET@rdf.s4.ontotext.com/$USER/$DATABASE" SPARQL_QUERY="…" curl-X POST -H "Accept:application/sparql-results+xml" -d "query=$SPARQL_QUERY" $SERVICE_ENDPOINT/repositories/$REPOSITORY On-Demand RDF Graph Databases in the Cloud Jun 2015
  • 40.
    Demo #40On-Demand RDF GraphDatabases in the Cloud Jun 2015
  • 41.
    • (Create adatabase) • Create a repository • Upload sample data • Query the data • Explore data with a 3rd party tool Demo scenario #41On-Demand RDF Graph Databases in the Cloud Jun 2015
  • 42.
    Create a database #42On-DemandRDF Graph Databases in the Cloud Jun 2015 Micro, XS, S, M, or L R/O access to Open Data services or open knowledge graphs
  • 43.
    Create a repository #43On-DemandRDF Graph Databases in the Cloud Jun 2015 Inference ruleset Cache distribution
  • 44.
    Uploading data (OpenRDFWorkbench) #44On-Demand RDF Graph Databases in the Cloud Jun 2015
  • 45.
    Sample data (Europeancountry populations) #45On-Demand RDF Graph Databases in the Cloud Jun 2015
  • 46.
    Uploading data (OpenRDFWorkbench) #46On-Demand RDF Graph Databases in the Cloud Jun 2015
  • 47.
    Uploading data (OpenRDFWorkbench) #47On-Demand RDF Graph Databases in the Cloud Jun 2015
  • 48.
    Querying data (OpenRDFWorkbench) #48On-Demand RDF Graph Databases in the Cloud Jun 2015
  • 49.
    Querying data (OpenRDFWorkbench) #49On-Demand RDF Graph Databases in the Cloud Jun 2015
  • 50.
    Exploring data (MetreecaGraph Rover) #50On-Demand RDF Graph Databases in the Cloud Jun 2015
  • 51.
    Exploring data (MetreecaGraph Rover) #51On-Demand RDF Graph Databases in the Cloud Jun 2015
  • 52.
    Exploring data (MetreecaGraph Rover) #52On-Demand RDF Graph Databases in the Cloud Jun 2015
  • 53.
    Exploring data (MetreecaGraph Rover) #53On-Demand RDF Graph Databases in the Cloud Jun 2015
  • 54.
    Roadmap #54On-Demand RDF GraphDatabases in the Cloud Jun 2015
  • 55.
    • Various improvements(backup & export) • Gradually introduce XS, S, M and L databases • Increased availability – Cross-datacenter replication • Integration with the GraphDB Workbench Work in progress #55On-Demand RDF Graph Databases in the Cloud Jun 2015
  • 56.
    GraphDB Workbench #56On-Demand RDFGraph Databases in the Cloud Jun 2015
  • 57.
    Key Takeaways #57On-Demand RDFGraph Databases in the Cloud Jun 2015
  • 58.
    • S4 providesan enterprise RDF DBaaS • Free graph databases up to 1M triples • Instantly available whenever needed • Easy to use: OpenRDF REST services • Zero administration: automated operations, maintenance & upgrades • Resilient design, high availability • Check out http://s4.ontotext.com Key Takeaways #58On-Demand RDF Graph Databases in the Cloud Jun 2015
  • 59.
    • Online documentation –http://docs.s4.ontotext.com/ • Helpdesk – http://support.s4.ontotext.com/ • Sample code & demos on GitHub – https://github.com/Ontotext-AD/S4 • Twitter – @Ontotext_S4 Additional S4 resources #59On-Demand RDF Graph Databases in the Cloud Jun 2015
  • 60.
    Thank you! On-Demand RDFGraph Databases in the Cloud A link to the recording will be sent out shortly Jun 11th, 2015 #60On-Demand RDF Graph Databases in the Cloud Jun 2015
  • 61.
    DBaaS architecture onAWS #61On-Demand RDF Graph Databases in the Cloud Jun 2015