1 / 7

Triple Stores

Triple Stores. What is a triple store?. A specialized database for RDF triples Supports a query language SPARQL is the W3C recommendation Other RDF query languages exist (e.g., RDQL) Might or might not do inferencing Most query languages don’t handle inserts

ulema
Download Presentation

Triple Stores

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Triple Stores

  2. What is a triple store? • A specialized database for RDF triples • Supports a query language • SPARQL is the W3C recommendation • Other RDF query languages exist (e.g., RDQL) • Might or might not do inferencing • Most query languages don’t handle inserts • Triple stores might be in memory or provide a persistent backend • Presistence provided by a relational DBMS (e.g., mySQL) or a custom DB for efficiency.

  3. Example: HP’s Jena Framework • An OS Java system developed by HP • http://jena.sourceforge.net/ • Has internal reasoners and can work with DIG compliant reasoners or Pellet. • Supports SPARQL • Joseki is an add-on that provides a SPARQL endpoint via an HTTP interface

  4. SPARQL Example BASE <http://example.org/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX foaf: <http://xmlns.com/foaf/0.1/> PREFIX ex: <properties/1.0#> SELECT DISTINCT $person ?name $age FROM <http://rdf.example.org/people.rdf> WHERE { $person a foaf:Person ; foaf:name ?name. OPTIONAL { $person ex:age $age } . FILTER ! REGEX(?name, "Bob") } LIMIT 3 ORDER BY ASC[?name]

  5. Example: Kowari • http://kowari.org/ • “An Open Source, massively scalable, transaction-safe, purpose-built database for the storage, retrieval and analysis of metadata” • Implemented in Java, not built on a conventional RDBMS • Developed by Tucana, which also had a commercial version • Tucana closed down in Fall 2005, Northrop Grumman purchased the rights to the commercial system

  6. Example: Sesame • Sesame is an open source RDF framework with support for RDFS inferencing and querying • http://www.openrdf.org/ • Implemented in Java • Query languages: SeRQL, RQL, RDQL • Triples can be stored in memory, on disk, or in a RDBMS

  7. Issues • Can we build efficient triple stores around conventional RDBMS technology? • What are the performance issues? • Load time? • Interfencing? • How well does is scale?

More Related