3DOnt

3DOnt · 3DGraph · 3DGraphExplorer

Point clouds that
know what they are.

A laser scan gives millions of coordinates. 3DOnt turns them into a knowledge graph: every point linked to the objects it constitutes, every object to its parts, its classes and the expert knowledge of its domain — so that a conservator, an urban planner or a forester can ask the cloud what they actually want to know.

No installation. The graphs, the queries and the segmentations run on your machine; natural-language questions too.

The problem

Rich data, poor use.

Point clouds are cheap, dense and everywhere — heritage documentation, smart cities, forestry. Yet outside of technical disciplines they are mostly looked at, not used.

Even a classified cloud knows, for each point, little more than where it is, its colour and a label. The questions of a conservator, a planner or a forester are about objects, their parts, what they are made of and how they behave — and none of that is in the data. Four gaps keep it there.

Move over the cloud: this is everything a point of a classified cloud carries — coordinates, colour, one label. The questions on the top right are about objects, parts and dimensions. Real data: 5,200 points sampled from the east front of the temple of Neptune at Paestum (the 3DGraph of this demo).
01

Heterogeneity

Thermal and multispectral rasters, sensors, archival documents, expert knowledge: all relevant, none tied to the geometry in a common structure.

02

Semantic poverty

At best, a label per point. No objects, no parts and wholes, no taxonomy — none of the structure through which experts reason.

03

Inspectability

Viewers colour a scalar field and threshold it. Domain questions (“which capitals are lower than…”, “which roofs are made of…”) are out of reach.

04

Technical barrier

The people who need the answers — conservators, architects, planners — should not have to write code or query languages.

Representing · semantic modelling

The 3DGraph: one graph, three levels.

The 3DGraph re-expresses a point cloud in RDF/OWL against 3DOntCore, a domain-agnostic backbone ontology that domain extensions (urban, heritage, forestry, Pompeii …) specialise. The data and the concepts that give them meaning live in the same graph, so one query can travel from a single point to an abstract class.

How it is generated. The input is a classified point cloud: every point has coordinates, a colour and a label, and nothing more. Four moves turn it into a graph:

  1. every labelled segment becomes an object individual, and every point an individual that Constitutes the objects it belongs to;
  2. parts and wholes are derived from how the points of the objects overlap;
  3. every object is typed by its class and by all the ancestors of that class;
  4. the properties that exist only at the level of the object — its emergent properties — are attached to it: dimensions and surfaces, but also qualities that are not geometric, such as a shaft being tapered or a column having a load-bearing role.

Follow the steps in the figure, on a real column of the temple of Neptune.

The generation of a 3DGraph, step by step, on the east front of the temple of Neptune: the objects, quotas, classes and dimensions shown are those of its 3DGraph. Click a step, or let it run.

Three levels of modelling. One is semantic: the T-box, the vocabulary of the domain. The other two model the physical scene in a dual-level way: the objects and the points that make them up. Objects and points are both individuals of the graph; neither is reduced to an attribute of the other.

  • Semantic level · T-box. Classes, their taxonomy, object and data properties, rules. An object is an instance of its class and of all its ancestors, so a question can be asked at any level of abstraction.
  • Objects · macro-entities. Linked by Is_part_of / Has_as_part and typed by the taxonomy.
  • Points. A point Constitutes every object it belongs to — the window, the facade, the building — so the multi-label nature of reality is kept, not flattened.
  • Between the two physical levels. Emergent properties belong to the object but come from its points and from what the graph knows about it: geometric ones (dimensions, surfaces) and non-geometric ones (a role, a shape quality), derived from geometry together with classes, relations and expert rules.
SEMANTIC LEVEL · T-BOX (classes) PHYSICAL SCENE · OBJECTS PHYSICAL SCENE · POINTS Immovable_Object Building Structural_Element Functional_Element Building #3 Facade #13 Window #7 Is_part_ofIs_part_of rdf:type Constitutes: one point → several objects
Three levels: the T-box (semantic) above, objects and points (the physical scene, dual-level) below. A point of a window constitutes the window, its facade and its building; objects are linked by mereology (green) and typed by the taxonomy (orange). Every link is explicit, so it can be travelled by a query.
The same five sources, twice. Without a common model, each keeps its own format, field names and units, and is tied to the scene by its own script: nothing can be queried together. With 3DOnt, each source becomes an acquisition, its fields are mapped onto properties of one ontology, and every acquisition is linked to the points or objects it describes by the same relation. Sensors describe objects (here a wall); in Santa Chiara, as a special case, they describe the whole scene. Native formats and field names are illustrative; classes and properties are those of 3DOntCore.

Collecting · data integration

Many sources, one structure, over time.

Rasters, scalar fields, sensor streams and manual annotations come in different formats, with their own names and units, and describe different levels of the scene. Left as they are, they are a chaos of files and ad-hoc scripts. In the 3DGraph they are modelled homogeneously: every source becomes an acquisition (an individual of Data_Import), its fields are mapped onto the properties of one ontology, and it is linked to the points or objects it describes by the same relation. Data from any source can then be queried and reasoned on together.

  • Multi-source. In Ferrara every point carries the material it is made of and two thermal acquisitions, by day and by night; materials are individuals of the ontology, with their physical properties.
  • Multi-temporal. In Santa Chiara (Trento) three 6-hour data streams of temperature and relative humidity — 24 March, 15 May and 28 May 2024, one reading per minute — are individuals of the graph (Sensor_Datastream), linked to the scene they describe.
  • Dynamic. After each data stream, the temporal reasoning of the desktop explorer computes a new index for every point (Dew_Formation_Risk_Index_Stream_1 … 3): the graph follows the building through time.
Open Santa Chiara →

Reasoning · hybrid and temporal

Reasoning holds it all together.

Integrated data, expert knowledge and the geometry of points and objects enter the reasoning in parallel, through the same graph. What comes out is explainable: every value can be traced back to the rule, the data and the geometry it comes from. The reasoning is hybrid — rules that combine semantics, numerical measurements and geometry — and temporal — it runs again at each new acquisition, on top of the earlier results.

Example: the dew formation risk index of Santa Chiara (below). The data of a sensor stream, the knowledge written in the ontology and the geometry of every point are combined by one rule; the index is stored on every point, where the following reasoning can use it. Click to replay.

Hybrid: rules over geometry, data and ontology

A rule combines what comes from the acquisition (the colour of a point, its material) with what the ontology knows about it (the specific heat capacity of that material). The heating propension index of Ferrara is

2.5 × [ (5 − c) / 5 + (765 − (R+G+B)) / 765 ]

low heat capacity and dark colour, higher index (range 0–5). Choose a material of the Ferrara 3DGraph and a colour: the figure follows the same path in the graph and computes the same index.

The rule Heating_Propension_Index of the Ferrara ontology; material names and heat capacities are the individuals of that ontology.
Dew formation risk index of the 3,000,000 points of Santa Chiara after each data stream, as computed in the 3DGraph of the demo (mean, maximum, points above 5). Click to replay.

Temporal: the same rules, stream after stream

The dew formation risk index (Codiglione & Remondino 2026) is a weighted sum of partial indices: how close the surface comes to the dew point (Magnus–Tetens) and how long it stays there over the 6-hour stream — the highest weight —, the proximity to windows and to the floor, the verticality.

The third stream, the most humid (89.5 % mean relative humidity), is the only one that brings points above 5: 1,283,500 of 3,000,000.

Ferrara

Points carry their material and two thermal acquisitions; rules derive a heating-propension and a flooding-risk index. Open →

Semantic digital twins

Sensor streams as individuals of the graph, linked to the scene they describe; time-aware rules predict dew formation in a heritage building (Santa Chiara, Trento). Open →

What-if

Hypothesised conditions (temperature, humidity, presence of a pathogen) run through the same rules on a temporary copy of the graph — the forestry extension uses it for susceptibility indices.

Accessing

Easy access to complex data: explore, query, inspect.

Three ways into the same graph, none of which asks the expert to write code: change the segmentation, ask in plain language, click a point.

Try it: the same temple front, re-segmented by the two resolutions. The Explorer does the same on millions of real points.

Accessing · 1 · explore

Dynamic Semantic Segmentation S(Mr, Tr)

A classified cloud usually commits to one segmentation. A 3DGraph holds all of them at once: since every point knows every object it constitutes and every object knows all its classes, a segmentation is just a choice of two resolutions.

  • Mr, mereological resolution — from the finest parts (abacus, echinus) to the wholes (column, temple).
  • Tr, taxonomical resolution — from the most specific class (Echinus) to the most general (Building_Part, Object).
  • Targeted segmentation — keep only the lineages you care about.

Nothing is recomputed and no network is re-run: changing the segmentation is moving along structure already in the graph.

Try it on YTU3D →

Accessing · 2 · query

Ask in plain language: NL-2-SPARQL.

SPARQL can express any question about a 3DGraph — but few experts write SPARQL. NL-2-SPARQL is a neuro-symbolic translator: the language model does only what it is good at, the graph does the rest.

  1. Parse. A fine-tuned LLM turns the question into a structured parse: the words, how they relate, the logical operators, the filters, what to return. It never sees the graph and never writes SPARQL.
  2. Map. Each word is mapped on the ontology vocabulary (lexical, WordNet and embedding similarity), with the user confirming ambiguous cases.
  3. Explore and build. The Graph Exploration and Query Building step finds the paths between the mapped terms in the ontology graph and writes the query.
  4. Answer. The query runs on the 3DGraph and the answer lights up in 3D.

Because the LLM does not memorise the schema, the same translator works on any domain extension. Online, all of it runs in your browser: the parser on the GPU (WebGPU), the mapping and the query building in Python (Pyodide, the same library as the desktop explorer), the generated SPARQL in Oxigraph. No API key is involved.

“windows of the buildingswith a height greater than 20” LLM parserstructure only, no schema 3DOntCore + extensionthe vocabulary Graph exploration & query building window → Window · building → Building · height → Z_Length > 20 SELECT ?p WHERE { ?p base:Constitutes ?w . ?w a base:Window ; base:Is_part_of ?b . ?b a base:Building ; base:Z_Length ?h . FILTER(?h > 20) }
The division of labour of NL-2-SPARQL (Codiglione & Remondino, Digital Heritage 2025), on a question about the temple of Neptune: the mapping and the query shown (abbreviated) are the ones the online demo produces.
Click a point of the temple: its triples, as they are in the 3DGraph of the demo (point IRI, coordinates, the objects it constitutes, the class chain, the whole, the dimensions).

Accessing · 3 · inspect

Ask a point what it is.

In the Explorer, clicking a point in the 3D view shows every object it constitutes, from the finest part to the whole, with their classes and properties; each of them can be opened in turn and lit up in 3D.

  • Constitutes — the echinus, the capital, the column, the temple.
  • rdf:type — the class of each object and its ancestors in the taxonomy.
  • Is_part_of — the wholes the object belongs to.
  • Data properties — dimensions, surfaces, the indices computed by the rules.

The result

A semantic-geometric, expert-centred digital twin.

A format. The 3DGraph holds geometry and semantics in one graph: the points, the objects, their parts and classes, the data collected on them and the knowledge derived by the rules, all against the same ontology.

A framework. The 3DGraphExplorer builds 3DGraphs, integrates data into them, reasons over them and gives access to them — on the desktop, and in this online demo with the same semantics.

Expert-centred. Its vocabulary is the expert's — capitals and shafts, roofs and materials, dew and humidity — and so are its questions.

Open the Explorer →
The four parts of the framework, in order. Click one to go to its section.

Online demo

Four 3DGraphs, four things to see.

Each project is chosen for what it shows best. Open one, read its card, click “what this project can show”.

Under the hood

A desktop explorer, ported to the browser.

The 3DGraphExplorer is a Qt/C++ desktop application on top of a QLever triple store. The online demo keeps the same semantics with no server to pay for:

  • Points as arrays, objects as RDF. Each 3DGraph is split into compact typed arrays for the points and an RDF graph of the objects and the ontology, loaded into Oxigraph (WebAssembly) in your browser.
  • Point-aware SPARQL. Queries that talk about points are rewritten on the fly: the object part runs on the graph, the point part on the arrays.
  • Free hosting. Pages, data and parser models on Hugging Face, computation on your machine, including the NL-2-SPARQL parser (WebGPU) and its mapping and query building (Python in WebAssembly, Pyodide).
HF static Spacethis site + the app Hugging Face3DGraphs · parser models Your browser three.js viewerOxigraph (WASM) · SPARQLsegmentations · plotsNL parser (WebGPU) NL-2-SPARQL libraryPython · Pyodide (WASM) parse → SPARQL, in a worker
Static hosting, client-side computation.

Publications

Read more

Project page: 3dom.fbk.eu/projects/3DOnt · 3D Optical Metrology unit, Fondazione Bruno Kessler · University of Trento.