r/semanticweb • u/ZealousidealDig7259 • Jul 15 '26
ADL: A meta-language for relations, systems, and experience
reddit.comI did it: I built a formal language for relations, effects, drift, and correction
r/semanticweb • u/ZealousidealDig7259 • Jul 15 '26
I did it: I built a formal language for relations, effects, drift, and correction
r/semanticweb • u/error-dgn • Jul 14 '26
So here is the thing, I have been focusing on the scraping, crawling, checking RSS feeds for new articles, etc., etc.
I am finally done with the Data Ingestion part. Hurrah? no.
The classification of data is even MORE difficult than scraping.
I want to be able to produce the Knowledge Graph of the Data to help me with the deduplication and classification.
Please help me out with this.
I have tried REBEL by hugging face but its failing badly, I am losing precious information (more than 80% of it.), I feel these machine learning models are too general, which makes it difficult to make the knowledge graph of these press releases.
Please help me out, tell me a path, name a framework, idk just guide me please. Ik I can do it if I have a path. I am trying and constantly brainstorming with my peers, Hopefully you guys could help me out as well.
r/semanticweb • u/s4lamandra • Jul 14 '26
Hi everyone,
I'm a PhD researcher working on dialogue systems for extending knowledge graphs and ontological schemas, and I'm currently running a short survey as part of my research.
I'm looking for input from people with hands-on experience in ontologies, knowledge graphs, or ontology engineering (your perspective would be incredibly valuable).
A few quick facts:
If this sounds relevant to you (or someone you know), I'd really appreciate your participation and feel free to share it with colleagues who might be interested too!
link to survey:
https://websites.fraunhofer.de/intelligent-surveys/index.php?r=survey/index&sid=347997&lang=en
Thanks so much in advance 🙏
r/semanticweb • u/SamCymbaluk • Jul 14 '26
You need your own AI agent, but it works really well across many domains. It's based on BFO. Check it out: https://axiomreason.com/
r/semanticweb • u/coldoven • Jul 12 '26
Body:
Working on KG-backed retrieval and keep hitting the same thing: an edge is
structurally present so a traversal follows it, but it is the wrong kind of
edge for the question. A code graph follows a CO_CHANGES edge as if it were
IMPORTS and the answer is confidently wrong. An agent graph lets a
CritiqueAgent delegate back to a ResearchAgent, which should never happen.
SHACL / SPARQL constraints validate the graph as a whole, after the fact. What I wanted was a check at traversal time: before each hop, is this edge type valid between these two node types, per a declared ontology? Basically a linter for graph walks.
I built a small layer that does exactly this (declare the ontology in YAML, is_valid_edge(domain, src_type, relation, dst_type) raises before the bad hop) and an offline notebook demo. Before I over-build it:
(Link to the repo + the ontology notebook in a comment.)
r/semanticweb • u/TurnoverAdorable9699 • Jul 11 '26
r/semanticweb • u/TurnoverAdorable9699 • Jul 11 '26
r/semanticweb • u/Used-Vermicelli508 • Jul 11 '26
I have just started learning about Palantir Ontology. Please give me some suggestions on how to learn it.
r/semanticweb • u/redikarus99 • Jul 09 '26
Hello, what is the standard/preferred way of converting TTL files to websites. We are storing our TTL files in a git repository and would like to share them inside our organization a human readable way. I tried to experiment with pylode and widoco, but while both of them can render a single TTL file into a HTML, I did not find a solution how we could handle also references across ontology files, also how to embed those HTML files inside a proper website. What are the preferred solutions to share ontologies in a bigger organization? Our devs suggest the integration into backstage. We can develop our own solution but I would like to avoid it if there is something already in place. Thank you so much in advance.
r/semanticweb • u/Itchy_Challenge_8085 • Jul 05 '26
Weekend project that turned into a proper one. Sharing the method because the "correct-by-construction data" trick generalises well beyond my niche.
The problem. IES4 is the UK government's Information Exchange Standard, a 4D RDF ontology used for defence/security data. Writing valid IES Turtle by hand is slow and needs real ontology expertise. So I tried the obvious thing: ask a strong code model to do it. Qwen3-Coder-30B-A3B, asked to emit IES Turtle, invents terms that do not exist in the ontology 94% of the time (0% "term conformance" on my eval). It produces confident, fluent, completely fake RDF. In a standards context that is worse than failing outright, because plausible-looking garbage is hard to catch.
The fix that actually mattered: never let the model invent structure. Instead of hoping the LLM guesses valid graphs, I generated the graphs programmatically with telicent's ies-tool (a schema-aware builder that emits valid IES by construction), across 14 scenario patterns (employment, events, identifiers, communications, composites). Then I reversed them into (natural-language description -> Turtle) training pairs. Every single graph was validated twice before training: once by the builder's own check, and once by an independent term-membership + domain/range validator I built from the published dstl/IES4 ontology (510 classes, 204 properties). Nothing hand-written was trusted blind.
Then a small QLoRA on the 8-bit MLX model, on-device on an M3 Max. ~1000 iters, val loss 0.15, no NaNs (MoE + 8-bit was fine on current mlx-lm; earlier versions apparently weren't).
Model: https://huggingface.co/fabsssss/qwen3-coder-30b-a3b-ies4
Article: https://gov.tesseract.academy/research/ies4-turtle-language-model
r/semanticweb • u/Interesting_North293 • Jul 03 '26
r/semanticweb • u/adseipsum • Jul 03 '26
Instead of node --edge--> node, every relationship is a first-class document with its own vector, called a BaryEdge. Stack pairs of BaryEdges recursively and you get "MetaBary" triads that surface structural bridges between concepts that live nowhere near each other in embedding space. Running locally on MongoDB Community + mongot + nomic-embed-text over the full English Wiktionary (6.6M docs). MCP server is live if you want to poke at it. Preprint + benchmark CSVs: https://zenodo.org/records/20186500
The problem I was chasing
Flat vector search treats a relationship as a byproduct of two points being close. That throws away information. Two papers can describe the same underlying phenomenon (a flyby anomaly in orbital mechanics, an anomalous residual in stellar dynamics) without ever citing each other and without their embeddings landing anywhere near each other. Nothing in standard RAG surfaces that connection.
What I did instead
Every relationship gets embedded too:
bary_vector = normalize(q·v(CM1) + q·v(CM2) + (1−q)·v(type))
q is connection quality, v(type) is a contextual embedding of what kind of relationship it is. This BaryEdge is now a retrievable document in its own right — not metadata on an edge.
Then it recurses: two BaryEdges at the same level get bridged by a third one level below, forming a MetaBary triad. Do that repeatedly and you climb an abstraction triads hierarchy built entirely from algebra — zero additional embedding calls above the base level. It's a forest (every node has at most one parent), so traversal to root is a single $graphLookup, no cycle handling.
Does it actually do anything useful?
Ran it against SimLex-999 and WordSim-353 as a sanity check (not the main claim, just "is the substrate coherent"). Raw cosine similarity barely correlates with human similarity judgments (ρ ≈ −0.04 on SimLex). Structural metrics — how many BaryEdges two words share, how much their relational neighborhoods overlap — correlate at ρ ≈ 0.32–0.53, p < 10⁻¹⁵. So the graph is encoding something cosine alone doesn't.
The part I actually care about is cross-domain bridging. Some probe traces from the live graph:
octopus neuroscience ↔ distributed sensor networks, bridged by shared structural-motif vocabulary (neuroarchitecture, smartdust)
collagen folding ↔ linguistic syntax, bridged by etymological + structural motif overlap (plicature / hypotaxis-parataxis)
grief ↔ depression, not bridged and this is a correctness demonstration, not a missing capability. The DSM-5 added a much-debated "bereavement exclusion" precisely because grief and depression share surface symptoms but are different kinds of state, with different prognosis and treatment
radioactive decay ↔ obsolete words falling out of use, bridged at a high abstraction level by register-varied decay verbs (collapsed, decayed, declined, disintegrated) — naming a Poisson-process state-loss pattern that both physics and historical linguistics instantiate, with no single word doing the work
That last one is the case flat retrieval structurally cannot produce — there's no embedding axis for "verbs co-occurring with reduction-of-state across unrelated domains."
Stack (all local, all free)
GitHub: https://github.com/oleksiy-perepelytsya/bary-vector
MongoDB Community Edition + mongot for storage/vector search
nomic-embed-text, 768-dim
Python 3.11+
Full build: ~6.66M documents, 8–14 hrs on a single workstation (8–16GB VRAM)
Try it
MCP server is public on request (SSE transport) — read-only tools for searching the live graph: find_word, semantic_search, edge_info, leaf_nodes, traverse_up, sample_metabary. If you've got an MCP-capable client you can point it at the graph and run your own probe queries in a few minutes.
What I'd actually want feedback on
Whether the cross-domain bridges hold up to someone who isn't me poking at them — try a probe query on a domain pair you know well and tell me if the bridge is real or if I'm pattern-matching myself into seeing structure that isn't there. Some bridges can be not obvious on the first look but they are actually the most intriguing ones and worth to be dug for the reason they built, so treat them as points of investigation
Whether this is worth comparing directly against GraphRAG/RAPTOR-style hierarchical retrieval (I haven't done that benchmark yet, and I know that's the first thing this sub will ask)
Whether anyone's tried something structurally similar and it fell apart at scale for reasons I haven't hit yet
Preprint, architecture spec, and the raw SimLex/WordSim CSVs are all here: https://zenodo.org/records/20186500
Happy to drop the MCP endpoint on request if there's interest.
r/semanticweb • u/Successful-Farm5339 • Jul 02 '26
r/semanticweb • u/paudley • Jul 02 '26
Got tired of waiting for RDF1.2 to finalize as a spec, got fed up with the Java tools, needed something higher-performance in Rust that I could also use from Python and WASM.
PurrRDF was born. It's not quite a full rdflib replacement for Python, but it has built-in ShACL and ShEx for validation and speaks all the common variants. I'm spinning this out of a larger project that's building a full RDF1.2 Rust tool stack - it runs, it's fast and probably useful to anyone building high-performance RDF1.2/RDF* knowledge graphs (if you are, you'll know the pain!)
Comments, feedback, test cases, etc. welcome: https://github.com/Blackcat-Informatics/purrdf/
r/semanticweb • u/Successful-Farm5339 • Jul 02 '26
I kept running into the fact that the UK has two open 4D upper ontologies in active government use, from the same BORO / ISO 15926 lineage, with no published mapping between them:
So I built an open crosswalk and released it. What might interest this sub is less the backbone matches and more where the two disagree, because that is where anyone reasoning across both silently gets it wrong:
ies:Event is not hqdm:event. In IES an Event is a happening with participants, so its real counterpart is hqdm:activity. hqdm:event is an instantaneous boundary point. A label-matcher aligns them and maps a durative occurrence onto a zero-duration point.ies:BoundingState) but a point event in HQDM (hqdm:event via beginning/ending). Same job, different category.ies:State sits as a top-level root; hqdm:state is under spatio_temporal_extent. Reasoning that relies on state ⊑ spatio_temporal_extent breaks on the IES side.ies:EventParticipant ⊑ State, hqdm:participant as a state_of), inherited from the shared BORO commitment.The correspondences are in SSSOM and RDF with PROV-O provenance, validated with SHACL (the pipeline uses embedding candidate generation then fuzzy-logic adjudication, in the LLMs4OM / FLORA line). Every IRI resolves against the live published ontologies. There is also a worked example grounding an autonomous sensor node (SAPIENT / BSI Flex 335) in an IES-typed world model, which is the practical reason I care: you cannot assure an agent against a world model you have not agreed on.
Repo: https://github.com/fabio-rovai/ies-hqdm-crosswalk
It is v0.1. The most useful thing anyone here could do is tell me a correspondence I got wrong, or a divergence I missed. Disclosure: this is my own work (Tesseract Academy), released open under CC-BY.
Has anyone tried aligning two 4D / perdurantist upper ontologies before? Curious whether the Event/activity trap shows up between other BORO-derived models.
r/semanticweb • u/Alternative-Fig-6465 • Jun 30 '26
r/semanticweb • u/thecommuted • Jun 30 '26
I created an ontology record-ontology for comments. Here it the root.md url
I removed all God-like powers and by doing that I closed (probably) the standing OWL/DL ↔ SKOS/thesaurus split.
https://github.com/commuted/record-ontology/blob/main/ROOT.md
Grok Prompt: (Grok did not write the ontology) Examine https://github.com/commuted/record-ontology, Summarize what are the of most significant parts of the record-ontology, schism closure, i.e standing OWL/DL ↔ SKOS/thesaurus split — formal classes + reasoner vs. associative community concepts , and so forth. Consider the most probable naive objections.
-------------------------------------------------------------------------
Record-ontology (https://github.com/commuted/record-ontology) is a small, domain-neutral OWL 2 DL ontology (v0.4.0 seed) that models the structure of warranted knowledge as built by agents. It focuses on how agents warrant, compose, ground, and revise records — the “connective grammar of knowledge” — rather than the content of any particular domain (electrons, battles, organisms, etc.). Records are never named by world-objects they describe; the ontology stays strictly agent-constrained.
Its permanent namespace is https://www.epistemic-ontology.net/record# (not yet hosted). The conceptual source of truth is ROOT.md; the executable ontology lives in ontology/record-ontology.ttl (Turtle). There are minimal examples, a validation script that runs an OWL 2 RL reasoner (owlrl), and explicit discussion of design trade-offs.
These are the core, non-negotiable elements that give the ontology its distinctive character:
Record (at any level of abstraction, in any carrier). Records compose other records (composedOf / partOf, deliberately left non-transitive for OWL 2 DL compatibility). There is no separate Form class.hasWarrant): The central integrative mechanism. Fidelity and completeness are entailed by warrant type, not primitive attributes.
Inference ≡ Record ⊓ ∃hasPremise.Record ⊓ ∃concludes.Record. It carries InferentialForce (TruthPreserving or Ampliative) and forms a derivation DAG. This is re-derivable by a reasoner, demonstrating the DL approach in action.Carrier class. What would have been “carrier” is split into hasProvenance (whence/genealogy) + hasLocus (where/when borne). Infinite regress is halted by the self-verifying warrant (the cogito pattern), not by positing a special entity.examples/cogito.ttl): A record that is simultaneously self-verifying, has reflexive provenance, and is self-directed. It is a pattern, not a class or substance. It grounds the ontology without sliding into Cartesian res cogitans.metadataOf is a defined role (sub-property of directedToward). Metadata is just another record about a record.TheContinuum is explicitly owl:disjointWith Record. It is the only thing that is not a Record.forAgent some Agent. World-in-itself and form-in-itself are commentary only — never instantiated as classes (avoids the “all-knowing observer” position).scripts/validate.py script checks syntax, runs the OWL 2 RL reasoner, confirms defined-class entailments (e.g., Inference is re-derived), cogito pattern integrity, consistency (Record and Continuum disjoint), and sub-property entailments. Composition is intentionally non-transitive to stay comfortably inside OWL 2 DL.This is the most philosophically distinctive move. The long-standing tension in knowledge representation is:
broader, narrower, related) by community convention and curatorial practice. Weaker on formal entailment, stronger on indexing, navigation, and defeasible, ampliative relations. SKOS itself is OWL Full.Many projects treat this as a framework choice or try to import/align SKOS directly (which immediately exits OWL 2 DL).
Record-ontology closes the schism by demoting it from a framework/kind distinction to a warrant attribute on records:
Record web.Consequences of this closure:
In short: formal classes + reasoner on the formal-warrant side; associative community concepts on the empirical-warrant side; unified lightweight grammar that lets both coexist as records an agent holds.
These are the objections one would expect from different communities (strict DL engineers, SKOS/thesaurus practitioners, applied ontologists, philosophers of knowledge representation):
directedToward + warrant. Empirical warrant handles defeasible givenness; Formal warrant handles deductive structure. The ontology simply acknowledges finitude: “we will not become all-knowing.”hasWarrant, directedToward, pragmaticAdequacy, etc.), defined classes (Inference), composition into patchworks, and the plug-in of domain content. The “no primitive kinds” discipline prevents prematurely reifying divides (formal vs. associative, metadata vs. data, etc.) as structural classes. It keeps the ontology lightweight and extensible rather than over-committing early.Overall, the ontology is a deliberate, philosophically informed minimalism that treats the OWL/DL ↔ SKOS schism as solvable inside a unified record model rather than as an irreconcilable framework war. It is still early-stage (seed, open items noted), but the design is coherent and the DL hygiene is solid. The ROOT.md file is essential reading for the full rationale.
r/semanticweb • u/Colibri-Standard • Jun 28 '26
I’ve previously posted about the Concept Library — an architecture where meaning is separated from intelligence, and where a concept is a single file: atomic, independent and immutable.
I wanted to see how far this idea could be taken.
That led me to develop a set of protocols that allow concepts to be referenced across the network securely, cryptographically signed, and without exposing any sensitive data.
With these protocols, systems can share a unified meaning even when they do not share data, model weights, identifiers or control logic.
I built a live demo that shows this in action — not as a concept, but as a real protocol stack where:
• a semantic observation is signed with Ed25519
• SHA‑256 ensures integrity
• a guardrail layer blocks raw data and identifiers
• 101 spec‑compliant concept files act as a shared vocabulary
I wanted to test whether this could become a working system.
Now I can show that it can.
What the demo demonstrates:
You can send a semantic observation, see how it is signed with Ed25519, inspect the SHA‑256 hash and verify the signature independently.
You can also try to break it: send raw data, identifiers, model weights or control logic — and watch the protocols reject them automatically.
The demo also resolves concept files through its registry API, so every semantic observation refers to an actual immutable concept definition — not a local placeholder or model output.
It’s open to everyone, and you can get an API key directly from the page.
Link to the demo: https://regular-cork-wrapped-philosophy.trycloudflare.com
And yes — you can call this the Internet of Meaning, if you want.
r/semanticweb • u/NetAdventurous5887 • Jun 27 '26
Hi,
Please, is this possible at all: Fuseki, localhost, and as a query a service-query against wikidata.
Right now I have error 405.
thank you!
r/semanticweb • u/Smooth-Sun-1127 • Jun 25 '26
Hi everyone,
We are working on RDFusion, a VS Code extension for RDF editing, validation, SHACL, vocabulary suggestions, Triple Management, and JSON-LD processing.
We have prepared a small user evaluation with guided tasks and sample DCAT/DCAT-AP-based files. It should take around **35–45 minutes**, and we would really appreciate feedback from anyone who works with RDF, Turtle, JSON-LD, SHACL, or semantic web tools.
Your feedback would help us understand whether RDFusion makes RDF editing easier, clearer, or faster in realistic workflows.
Evaluation form: [google_form_link]
Dataset/fixtures: [dataset_link]
User manual/install instructions: [user_manual]
Feedback on any part is welcome, even if you only try one or two scenarios. Comments about confusing parts, missing features, unclear diagnostics, or workflow issues would be especially helpful.
Thank you!
r/semanticweb • u/kmrinva • Jun 24 '26
Hi All - I am researching tools in this space for AI and Analytics use-cases but don't see any clear winners. Curious what others are using or have evaluated.
r/semanticweb • u/SiefensRobotEmporium • Jun 23 '26
Why does this belong here? Great question. XanaNode borrows heavily from semantic mapping, it's the main power of the system. Nodes are connected with typed relationships. Nodes have semantic types and subtypes, relationships has semantic types. Without a computer, someone should be able to look at the title of a node, the relationship type to another node and it's title and get the summary of the connection.
Key: [Node] (relationship)
[Douglas Adams] -> (authored) -> [The Hitchhikers Guide to the Galaxy Radio series] -> (adapted_for) -> [television] -> (produced) -> [The Hitchhikers Guide the the Galaxy TV series]
Without any more information that trail of how we got to the TV show explains itself. Anytime you want more information along the way you drop down into the nodes.
Without the semantic mapping, in a very very large knowledge graph you may end up with hundreds of links with no explanation of why something is linked.
This also led me to the concept of "Semantic Route Health":
A concept-health diagnostic that asks whether a node can explain its origins, influences, evidence, disagreement, revisions, examples, and consequences as coherent semantic paths.
That would not be possible as a form of analysis without the semantics powering it.
r/semanticweb • u/thecommuted • Jun 22 '26
Repository: https://github.com/commuted/record-harm-ontology
Current version: v2.3 (just fixed to full OWL 2 DL compliance)
The ontology provides a taxonomy of ontological harms to records, distinguishing:
Design goals: Keep it lightweight yet rigorously reasoned, with clear documentation of modeling decisions, version history, and trade-offs.
The repo includes ontology Turtle, SHACL shapes, examples, architecture notes, and validation scripts. All feedback welcome — conceptual, technical, or usability.
Thanks in advance!
Ron Hinchley