Giter Site home page Giter Site logo

Comments (2)

fils avatar fils commented on August 21, 2024

I just wanted to add a few thoughts in this issue. Moving from a collection of JSON-LD files to a RDF based KG is rather easy at this time. The biggest issue is to address the presence of similarly named blank nodes if you simply convert the JSON-LD to RDF (like N-quads). This is resolved if you feed the results into a triplestore since they will address the blank node on ingest to internally unique elements.

So you can, for example use Oxigraph at the the command line simply feed in the JSON-LD to it. A script like https://github.com/gleanerio/nabu/blob/df-dev/scripts/jsonldLoader.sh can do this. Note that script is for reading from an object store, but could easily be modified to work from a local directory.

The Nabu program ( https://github.com/gleanerio/nabu/blob/df-dev/docs/README.md ) is designed to generate complete graphs from JSON-LD taking into account the blank nodes and some other edge cases. The results of that program can then be fed into a triplestore or locally queried with jena or packages like Oxigraph or KuzuDB.

With respect to leveraging an LLM. It is possible to connect some of these LLM based RAG approaches. There are many examples of these. There is also the approach of leveraging the LLM to generate SPARQL or other query langauges. See https://python.langchain.com/v0.1/docs/integrations/graphs/ for some examples in LangChain.

If you are interested I'd be happy to share some more examples or work up a short document like I did for the UN Oceans community here: https://github.com/gleanerio/archetype/blob/master/networks/oceans/README.md

from gis.

jaygee-on-github avatar jaygee-on-github commented on August 21, 2024

@kzollove, @martyalvarez, @AEW0330: perhaps we need to save this discussion for another day. I would like this task be one which we used an augmented LLM in line with this article to explore the catalog instead of a query language.

This doesn't seem so far fetched now since this is exactly what APHRC and CODATA is planning to do in another project called Data Science Without Borders. Here we are building a catalog of research that "pathfinders" are engaged in. Each research project in the catalog is represented by a schema.org JSON-LD MedicalObservationalStudy. We are just now starting to explore how to augment an LLM and use it to query a collection of MedicalObservationalStudy knowledge graphs.

from gis.

Related Issues (20)

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.