Skip to content

benjaminhocking/sparqlapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SPARQL-like API

A simple sparql-like api written in Go. Users can build their own directed graph to explain relationships between things. Two examples are provided: a friends and family dataset, and the ODRL information model.

demo.mp4

How To Use

Setup

Clone the repo and either:

  • run on your local machine at localhost
  • deploy to an aws instance (t2.micro recommended)

Functionality

Build your own dataset by creating new triples of the syntax:

<subject> <predicate> <object> .

Query your database by using this SPARQL-like syntax:

SELECT ?var1 ?var2
WHERE { ?var1 <predicate> <object> }

Roadmap:

  • Generate and Update .ttl file given new triple
  • SPARQL Querying:
    • SELECT
    • CONSTRUCT
    • ASK
    • DESCRIBE
  • SPARQL Update:
    • Single Operation
    • Multi-Operation
  • Build directed graph with node and edge labels
  • Host on aws
  • Daemonize hosting service with file support
  • Demo Datasets:
    • Friends & Family
    • ODRL information model
  • Improve site design
  • Create API endpoints
  • Host central site allowing users to spin off their own sparql request handlers

There's still a lot of features to add, but this is where I managed to get in one day.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published