GithubHelp home page GithubHelp logo

foodkg.github.io's People

Contributors

dependabot[bot] avatar etherealflux avatar hugochan avatar neemay avatar nidhirastogi avatar oshanis avatar solashirai avatar zakimjz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

foodkg.github.io's Issues

Logo Design Offer as Open Source Contribution

Hello Sir. I'm a Graphics Designer. I'm happy to see an open source project, So, I want provide a logo for you. Would you mind if I propose a new logo design to improve visualization of your project as my Open Source Contribution?

Thanks for the attention.

USDA_SPARQL_QUERY in app_kbqa returning no results

Hi,

I have successfully uploaded the USDA data, the ontologies and the three .Trig files to a Blazegraph instance and the example queries on this page: https://foodkg.github.io/whattomake.html work.

However, the fetch tag query in app_kbqa/data_builder/src/recipe.py and the USDA_SPARQL_QUERY in app_kbqa/data_builder/src/config/data_config.py both return no results. My url_endpoint is correct as the other queries are working. I am also able to explore both the USDA data and the Recipe data on the Blazegraph tool.

Kind Regards,
Josh

Incomplete FoodKG build. 63M triples instead of 67M

Hi,

I successfully was able to recreate the three .trig files and loading them into Blazegraph. However, when executing the example SPARQL query

PREFIX food: <http://purl.org/heals/food/>
PREFIX ingredient: <http://purl.org/heals/ingredient/>
SELECT DISTINCT ?recipe
WHERE {
?recipe food:hasIngredient ingredient:Beef .
} 

only an empty result list is issued. This happens for the full FoodKG (iswc) as well with the mini version.
Do you have any suggestion what I could have missed?

Kind regards,
Alex

Downloading the Recipe1M dataset issue

I am trying to download the Recipe1M dataset. I am not able to register on their website.
I contacted them 1 week ago, still no reply. Is there any way that you can send me the link to the 2 JSON files in that dataset so I can run your code?

Script (recipe-handler) does not terminate

Hello,

I encountered a problem I am not able to solve:
I tried to build the recipes (step: recipe-handler makefile), but the script does not terminate. To be more precise, the step "recipes" finishes successfully. However, the following step "serialization" does not terminate.
I tried to execute the script on both a desktop machine and also a remote server. Same issue for both. The server has sufficient disk space and >300GB RAM. On both systems, one core of the processor took 100% until I interrupted the process after sufficient time.
Unfortunately, I was not able to find any logs to debug it by myself.

Did you encounter a similar problem? Or is there a possibility to enable more detailed logs on the console, or stored in a file?

Best wishes,
Felix

No rule to make target

make: *** No rule to make target 'in/layer1.json', needed by 'out/recipe1m-ex-limited.json'. Stop.

FoodOn-pairs.csv missing

Hello I have an issue, the make file is not creating foodon-pairs.csv hence I am getting an error. Please suggest what should be done about it.

image

difficulty downloading files

Can you offer the Knowledge Graph data, such as usda-links.trig, foodon-links.trig, foodkg-core.trig or the Recipe1M raw dataset? because the original download link of the recipe1m dataset is invalid, resulting in the inability to continue generating knowledge graph data

Error when trying to replicate the data creation/transformation workflow.

Hi. I'm trying to follow the guide in /src for how to create and transform the data. I got through step 1 (/src/prep-scripts) fine, but at step 2 (/src/recipe-handler) when I run make (after running make copy in /prep-scripts) I encountered the following error:

  ERROR: Command errored out with exit status 1:
   command: /Users/elaine/Desktop/foodkg/src/recipe-handler/env/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/vh/kdd53ftx1wg2k8s80f9gq0240000gn/T/pip-install-9b6im3nc/numpy_186800a0816947e39de3a0b49429fde7/setup.py'"'"'; __file__='"'"'/private/var/folders/vh/kdd53ftx1wg2k8s80f9gq0240000gn/T/pip-install-9b6im3nc/numpy_186800a0816947e39de3a0b49429fde7/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/vh/kdd53ftx1wg2k8s80f9gq0240000gn/T/pip-wheel-75g20xrs
       cwd: /private/var/folders/vh/kdd53ftx1wg2k8s80f9gq0240000gn/T/pip-install-9b6im3nc/numpy_186800a0816947e39de3a0b49429fde7/
  Complete output (3745 lines):
  Running from numpy source directory.
  /private/var/folders/vh/kdd53ftx1wg2k8s80f9gq0240000gn/T/pip-install-9b6im3nc/numpy_186800a0816947e39de3a0b49429fde7/numpy/distutils/misc_util.py:476: SyntaxWarning: "is" with a literal. Did you mean "=="?
    return is_string(s) and ('*' in s or '?' is s)
  blas_opt_info:
  blas_mkl_info:
  customize UnixCCompiler
    libraries mkl_rt not found in ['/Users/elaine/Desktop/foodkg/src/recipe-handler/env/lib', '/usr/local/lib', '/usr/lib']
    NOT AVAILABLE
  
  blis_info:
  customize UnixCCompiler
    libraries blis not found in ['/Users/elaine/Desktop/foodkg/src/recipe-handler/env/lib', '/usr/local/lib', '/usr/lib']
    NOT AVAILABLE

The error occurs here:

Building wheels for collected packages: numpy
  Building wheel for numpy (setup.py) ... error

Some other info, if it helps:

  • python --version = Python 2.7.16
  • python3 --version = Python 3.9.2
  • pip3 --version = pip 21.0.1 from /usr/local/lib/python3.9/site-packages/pip (python 3.9)
  • OS: macOS 10.15.7 (Catalina)

no tags.json

Hi, I am running the makefile in prep-scripts. However, It is unable to run one part due to tags.json being missing. I'm not sure how and where it gets generated. Does anyone know how to solve this?

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.