Giter Club home page Giter Club logo

foodkg.github.io's Introduction

HEALS Food Knowledge Graph

USDA Food Mappings

This dataset includes mappings to some of the concepts found in:

  • DBpedia
  • schema.org
  • FoodOn
  • Units Ontology
  • ChEBI

USDA Knowledge Graph in nanopublications (trig) format

Reproduction

To reproduce the knowledge graph described in the paper, you will require the following:

Specific instructions for creating and transforming the data are found in /src/README.md. A high level overview:

  1. Download the data required by /src/prep-scripts/README.md
  2. Build the source data with make
  3. Move to /src/recipe-handler
  4. Create the linked data with make (placed into the out directory)
  5. Move to /src/verify
  6. Create statistics with make

Usage

You will need the following:

  • Blazegraph or any equivalent knowledge graph database software

The .trig data can be imported into a database of your choice. This may take some time, due to the volume of data involved.

If you are using Blazegraph, then you can load the data with the following procedure:

  1. Start the Blazegraph server and navigate to the web interface (typically localhost:9999)
  2. Switch to the UPDATE tab
  3. In the dropdown menu below the input field, change from "SPARQL Update" to "File path or URL"
  4. In the input field, enter the absolute path to the generated .trig file, prefixed by file://. For example, you might load the USDA links with a path of fiel:///home/alice/foodkg.github.io/src/recipe-handler/out/iswc/usda-links.trig, replacing usda-links.trig with the other file names in the output directory to load everything

foodkg.github.io's People

Contributors

hugochan avatar oshanis avatar neemay avatar etherealflux avatar zakimjz avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.