Managing RDF data
with graph databases
!
Renzo Angles
Sergio Silva
Mauricio Orellana
Department of Computer Science - Universidad de Talca (Chile)
Chilean Center for Semantic Web Research
www.ciws.cl
!
3rd Workshop on Graph-based Technologies and Applications (Graph-TA)
Barcelona, March 18, 2015
Motivation
Triple Stores Graph Databases
Motivation
Triple Stores Graph DatabasesGraph-based
RDF database
Objectives and proposal
• Objective: to study methods for storing and querying RDF data
using graph databases
• Three storing methods:
• universal (simple and unique structure)
• rigid (schema-based)
• flexible (schema-adaptable)
Universal storing method
NodeType: Resource
——————————
id : String
isBlank : boolean
NodeType: Literal
——————————
value : String
EdgeType: Relation
————————-
uri : String
EdgeType: Attribute
————————-
uri : String
RDF Data
Data transformation
Rigid storing method
NodeType: Person
——————————
fname : String
NodeType: Webpage
——————————
url : String
EdgeType: like
sn:Person
rdfs:Class
sn:Webpagesn:like
rdfs:domain rdfs:range
rdf:type rdf:type
rdfs:Literalsn:fnamerdfs:domain
rdfs:range
Flexible storing method
Property Graph
Schema
RDF Data
Emergent RDF Schema
Schema discovery
Schema translation
Current prototype
Preliminary conclusions
• The flexible method works better than the universal
and rigid ones
• The prototype improves Jena TDB for some types of
queries
• Requirements
• A formal definition of the property graph data model
• A standard property graph query language
Managing RDF data
with graph databases
!
Renzo Angles
rangles@utalca.cl
Department of Computer Science - Universidad de Talca (Chile)
Chilean Center for Semantic Web Research
www.ciws.cl

Managing RDF data with graph databases

  • 1.
    Managing RDF data withgraph databases ! Renzo Angles Sergio Silva Mauricio Orellana Department of Computer Science - Universidad de Talca (Chile) Chilean Center for Semantic Web Research www.ciws.cl ! 3rd Workshop on Graph-based Technologies and Applications (Graph-TA) Barcelona, March 18, 2015
  • 2.
  • 3.
    Motivation Triple Stores GraphDatabasesGraph-based RDF database
  • 4.
    Objectives and proposal •Objective: to study methods for storing and querying RDF data using graph databases • Three storing methods: • universal (simple and unique structure) • rigid (schema-based) • flexible (schema-adaptable)
  • 5.
    Universal storing method NodeType:Resource —————————— id : String isBlank : boolean NodeType: Literal —————————— value : String EdgeType: Relation ————————- uri : String EdgeType: Attribute ————————- uri : String RDF Data Data transformation
  • 6.
    Rigid storing method NodeType:Person —————————— fname : String NodeType: Webpage —————————— url : String EdgeType: like sn:Person rdfs:Class sn:Webpagesn:like rdfs:domain rdfs:range rdf:type rdf:type rdfs:Literalsn:fnamerdfs:domain rdfs:range
  • 7.
    Flexible storing method PropertyGraph Schema RDF Data Emergent RDF Schema Schema discovery Schema translation
  • 8.
  • 9.
    Preliminary conclusions • Theflexible method works better than the universal and rigid ones • The prototype improves Jena TDB for some types of queries • Requirements • A formal definition of the property graph data model • A standard property graph query language
  • 10.
    Managing RDF data withgraph databases ! Renzo Angles [email protected] Department of Computer Science - Universidad de Talca (Chile) Chilean Center for Semantic Web Research www.ciws.cl