r/semanticweb

▲ 33 r/semanticweb+1 crossposts

I put together a beginner's guide on Ontologies and Turtle syntax for knowledge modeling.

Hey everyone,

A lot of introductory material on RDF and Turtle syntax is either strictly academic or jumps straight into heavy tooling without explaining the underlying domain modeling mindset.

I put together a free guide aimed at newcomers: Ontology and Turtle for Beginners. It covers:

  • How ontologies define shared meaning across scattered enterprise data
  • The core mental model behind RDF triples and practical Turtle notation
  • Foundations for moving toward knowledge graphs, digital twins, and reasoning engines

You can view the page and download the PDF directly here:

https://www.swatantra.ai/resource-ontology-turtle.html

Would love to get your thoughts, constructive feedback, or hear how your teams introduce semantic concepts to non-experts!

reddit.com
u/Silent-Librarian12 — 2 days ago

What are the best ways to create Knowledge graph for structured data like SAP?

  1. I have created a graph using database schema and using that KG as a schematic layer --> traverse the layer for initial context and generate a SQL query for a given user query.

  2. Creating whole structure data into KG.

Please prove best practices for the KG graph building, do we have any pipeline for knowledge graph building.

reddit.com
u/venkat_206 — 1 day ago

Transforming unstructured text into organized knowledge

I'm working on a project involving Augmentation Intelligence. Actually trying to transform unstructured text into organized knowledge format.

LLMs could work, but the hard part is handling language nuances.

Example problem: "It's been much warmer in recent years"

How we can handle text like this? Like Fuzzy Logic?

reddit.com
u/freemind03__ — 5 days ago

Building a local, lightweight RAG system for structured data extraction—need advice on small models & architectures

Hey everyone,

I’m working on a personal project to build a completely local, lightweight system (codename: Orin) that can process messy unstructured information and segregate/clean it into highly structured, tabular formats (CSV files). Essentially, it's meant to be a better, fully offline version of Atlas.

Here is the exact data structure and the pipeline I am trying to build:

1. The Target Data Schema

The model needs to take raw info and divide it into clear subtopics:

  • Columns: Topic | Subtopic1 | Subtopic2 | Subtopic3 | Info
  • Example Output:
    • Topic: Flying machine
    • Subtopic1: Airplane
    • Subtopic2: Passenger plane
    • Example Scenario: If incoming news data says "Qatar Airways wins starring award again", the model should automatically categorize it under the correct subtopic hierarchies and store the relevant data in the final Info column.

2. Proposed Pipeline & Architecture

I am planning a Retrieval-Augmented Generation (RAG) approach using a combination of specialized, local agents:

  • A Fact Searcher / Main Topic Searcher: To find missing points and gather core data from the dataset.
  • A Local Summarizer / Keyword Generator: Acting as a text quantizer to condense the given prompt or raw context.
  • A Joke Generator (Optional Component): To add humor or personality to the generated answer output.
  • The Core Logic Flow: PromptGathers data for itFinds missing pointsFills the spots (to Phrase)Final Answer.

3. The Big Bottleneck: Hardware Constraints & Failed Attempts

Since this system must run locally, finding the right LLM engine and model has been incredibly difficult. Here is what I’ve attempted so far:

  • llama.cpp: Would technically work, but performance is a massive issue (it took over 2 hours just to compile 8%).
  • TinyStories: Super fast at stitching sentences together, but it only tells stories; it cannot handle this specific data formatting task.
  • TinyLlama (llama.co): Unable to get it to work properly / wouldn't run.
  • Ollama: Cannot use it seamlessly because it isn't properly optimized or built for my hardware (ARM chips).

I would like to ask the community how to make the better and how to develop it to efficient RAG model For my Project.

reddit.com
u/player0497 — 8 days ago

Any open source alternative to https://timbr.ai/ ?

I am trying to build something, and I need a semantic ontology layer for my app, and I want to use something open source instead of https://timbr.ai/ , is there anything as robust ?

u/jiii95 — 9 days ago
▲ 3 r/semanticweb+1 crossposts

Hyper-Markdown, an early extended Markdown language specification

I'm working on Hyper-Markdown (.hmd): ordinary Markdown plus rich visuals plus wiki links into a knowledge graph. Every .md file is already valid .hmd.

The project is still at an early stage, which means the specification is very much open to change.

I'm looking for:

  • contributors
  • design/spec feedback
  • people willing to challenge the current ideas

There is already a lightweight proposal process for discussing language changes.

https://hyper-markdown.org/

If this sounds interesting, I'd be very happy to have people get involved early.

reddit.com
u/ewigerus — 11 days ago

Looking for an IT taxonomy

Hello,

I am looking for an IT taxonomy for software (and maybe hardware) to put concepts like desktop application, microservice, cloud, cicd pipeline, etc. into a structure.

reddit.com
u/redikarus99 — 14 days ago

Need guidance on building an AI knowledge graph / ontology system

And want to confirm it's on the right track

Hi everyone,

I have an idea for a personal project, and I want to know if I'm thinking in the right direction.

I don't want to build just another note-taking app or mind map. I want to build a knowledge graph where I can enter any word or concept, and the system automatically knows where it belongs.

My goal is to build a personal knowledge system that becomes smarter over time, rather than just storing notes.

For example:

- If I enter a new word, it should suggest the best place in the graph.

- If that word belongs in multiple places, it should connect it to all of them.

- If a new concept should come between two existing concepts, it should reorganise the graph instead of just adding another node.

- It should detect duplicates and synonyms.

- It should explain *why* it placed a concept there.

- If it isn't confident, it should ask me instead of guessing.

- It should also ask if I want to expand that concept further and generate the next level of the graph.

I'm building this only for myself, not as a commercial product, but I want to build it with commercial-level reliability.

While thinking about this, I came across topics like **knowledge graphs**, **ontology engineering**, and **semantic search**, and now I realise that the hardest part is probably designing the ontology, not writing the code.

I have a few questions:

- Has anyone built something similar, and what should I study before I go too far?

- What are the biggest challenges in building a system like this?

- How do companies like Google or researchers design and improve ontologies?

- If you were starting from scratch, what would you learn first?

- Are there any books, papers, courses, or open-source projects that you think are must-reads for this?

- Also, if you were designing this today, what architecture or tech stack would you choose?

I'm still learning, so even if you think my idea has flaws, I'd really appreciate honest feedback. I'd rather know what's difficult now than after spending months building it.

Thanks!

reddit.com
u/AfterAd9740 — 13 days ago
▲ 16 r/semanticweb+3 crossposts

I open-sourced a 3-layer ER middleware to stop LangChain from polluting Neo4j with duplicate nodes.

Been working on a Neo4j knowledge graph using LangChain and kept running into the classic issue: the LLM extracts "Apple", "Apple Inc.", and "Apple Incorporated" as three completely separate nodes.

The standard fix is using an LLM-as-a-judge to deduplicate every single entity before insertion, but the token cost scales horribly. I was burning cash just to keep the graph clean.

I ended up writing a small Python middleware that intercepts the entities before they actually hit Neo4j. It tries to short-circuit the resolution locally using RapidFuzz (for exact/alias matches) and numpy for vector similarity. It only falls back to an LLM via litellm if the match is actually ambiguous.

I ran some tests on about 200 enterprise docs. The middleware caught all 742 duplicate entities locally in layers 1 and 2, dropping the resolution API cost to exactly zero.
You just wrap your Neo4jGraph or LlamaIndex store with it and it handles the deduplication silently.

I open-sourced it here if anyone else is struggling with graph pollution: https://github.com/jules-gd-dev/autograft-lib

Would appreciate any thoughts on the architecture, especially if someone knows a better way to do the deterministic matching without pulling too much of the graph schema into memory at scale.

N.B.: The project is on a really early stage, i've been working on it for a week and published it on github just yesterday. You can find some "benchmarks" on GitHub too.

u/Sorry-Substance8283 — 11 days ago
▲ 16 r/semanticweb+2 crossposts

Pennant - Knowledge engineering studio MIT licence

Hey everyone, I built this niche tool to structure data for knowledge layer for agents, its a bit like an acoustic guitar for critical industries that demand heavy data reasoning … would love to hear your feedback, some small bugs like analyzers staying prompted to the template doc

https://github.com/galeluka/Pennant

u/maliarogantnez — 14 days ago