You are here:  Home  >  Education Resources For Use & Management of Data  >  Data Daily | Data News  >  Current Article

Bringing Semantic Web Features to MongoDB

By   /  December 5, 2011  /  No Comments

by Angela Guess

In a recent interview Jans Aasman discussed AllegroGraph’s efforts to bring semantic web features to MongoDB developers through a new project called MongoGraph. According to the article, the AllegroGraph team “implemented a MongoDB interface to AllegroGraph database to give Javascript programmers both JSON and semantic web capabilities. Using this approach JSON objects are automatically translated into triples and both the MongoDB query language and SPARQL work against these objects. Another goal of MongoGraph is to make the freetext engine of their graph database easy to search as Solr/Lucene.”

When asked about the advantages of representing JSON objects as RDF triples in a graph database, Aasman replied, “The most direct answer is that you can use JSON to model complex schemas and then perform complicated joins over your data without writing map-reduce queries. One can approach the JSON objects stored in MongoGraph both as JSON objects (using the MongoDB query language) or as more fine grained RDF triples that allow for complex models and complex joins (using the SPARQL query language). Also you can use all the other advanced features of an RDF Database (aka – TripleStore). One can apply the query language SPARQL or apply rules using mechanisms like SWRL, RIF, or Prolog.”

Read more here.

photo credit: MongoDB

You might also like...

The Future of Machine Learning and Artificial Intelligence

Read More →