Michele Pasin / Quotes

Graph database vs relational database

The marketing manager is hypothesis-testing: she might use this data for a while and then realize that adding geographic information would be useful too since a marathon is going to take place in this town. This way, she can figure out which folks and their friends who live in proximity to each other and have purchased running shoes in the past. Adding this new information to the database would require yet another change to the schema. Anytime you decide to explore any additional “relationships,” you need to modify the schema. Changing a schema on a production system is a big deal; it can take several weeks and not something that database admins take lightly. There are better ways of analyzing data without modifying your database, but the point I’m trying to illustrate here is that tables are by design compact; while great for certain things, discovering patterns is not one of those things…

Hence the need and emergence of an alternative data representation format: graphs. Basically, a graph is made up of nodes that are connected to other nodes via an edge. In a graph database, the edge represents the relationship between the data entities represented by the nodes.

[...]

  • Relational databases are optimized for a compact representation, and do that very efficiently.
  • Graph databases on the other hand, are very flexible when it comes to adding new relationships
  • Graph database are further enhanced by facilities like ontologies, inferencing, and more expressive query languages like SPARQL.

Saved 20 August 2013 / yarcdata.com ↗

#graph-database #schema #nodes #database #graph #things

Different data types suit different databases

Despite the popularity and well understood nature of relational databases, it is not the case that they should always be the destination for data, even when…

What Is Big Data? An Introduction To The Big Data Landscape. #database #graph-database #relational-database

What is a graph database?

A graph database is one that stores data in terms of entities and the relationships between entities. A variant on this theme are RDF (resource description…

Graph Databases | Bloor #triple-stores #graph-database #RDF-databases #database #stores

Computational ontologies and knowledge bases

We take a computational ontology to be a directed acyclic graph where nodes represent concepts and the links between concepts represent the taxonomic “isa”…

From Encyclopedia To Ontology: Toward Dynamic Representation Of The Discipline Of Philosophy #computational-ontology #ontology #graph #nodes #concept

Static schemas versus flexible NoSQL

Even where there's not a radical data type mismatch, a disadvantage of the relational database is the static nature of its schemas. In an agile, exploratory…

What Is Big Data? An Introduction To The Big Data Landscape. #schema #relational-database #database

Vocabularies for types, properties and values

However, in addition to the basic techniques for describing things using RDF statements discussed so far, it should be clear that people or organizations also…

Rdf Primer #vocabulary #things #statements #schema #people

Blank node identifiers

Since a complex graph might contain more than one blank node, there also needs to be a way to differentiate between these different blank nodes in a triples…

Rdf Primer #nodes #identifiers #subjects #form #results