Skip to content

epistemik-co/staple-api-kg-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Noble Connections - Staple API demo logo

Noble Connections is a knowledge graph app demo built using Staple API on top of MongoDB Atlas.

Live version

The live version of this demo is deployed at http://demo.staple-api.org.

Staple API

The full documentiation of Staple API is available at http://staple-api.org.

Running on REPL

  1. Go to https://repl.it/.
  2. Press + new repl to create a new Repl environment and choose Import From GitHub.
  3. Paste the URL of this repository and import it.
  4. Press the Run button and wait for the app to start at the automatically generated URL https://***--five-nine.repl.co.

The application exposes two graphical interfaces:

{
  Person(filter: { _id: "http://dbpedia.org/resource/Elizabeth_II" }) {
    _id
    _type
    label
    spouse {
      _id
      _type
      label
    }
    child {
      _id
      _type
      label
    }
    parent {
      _id
      _type
      label
    }
    birthYear
    deathYear
    birthCountry {
      _id
      _type
      label
    }
    deathCountry {
      _id
      _type
      label
    }
  }
  _CONTEXT {
    _id
    _type
    Person
    Country
    label
    description
    gender
    thumbnail
    birthYear
    deathYear
    birthCountry
    deathCountry
  }
}

Further reading

Knowledge Graph App in 15min. Prototyping a simple knowledge graph application with JSONs, MongoDB and automatically generated GraphQL API, S. Klarman, 2020.

About

A knowledge graph app demo built using Staple API on top of MongoDB.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published