foodkg / foodkg.github.io Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
According to this report, we should update our current urllib version:
https://github.com/foodkg/foodkg.github.io/network/alert/src/prep-scripts/requirements.txt/urllib3/open
Can you offer the Knowledge Graph data, such as foodon-links.trig and foodkg-core.trig
There is registration problem on website which blocks registration process.
I use https://github.com/foodkg/foodkg.github.io/blob/master/src/prep-scripts/ontofox/configs/foodon.txt this file on http://ontofox.hegroup.org/
an error has occured during the retrieval process. Have any suggestion for me.
Thanks
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.
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
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
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?
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
make: *** No rule to make target 'in/layer1.json', needed by 'out/recipe1m-ex-limited.json'. Stop.
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
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.16python3 --version
= Python 3.9.2pip3 --version
= pip 21.0.1 from /usr/local/lib/python3.9/site-packages/pip (python 3.9)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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.