BHoM / RDF_Prototypes

Research project of the Cluster of Excellence "Integrative Computational Design and Construction for Architecture" (IntCDC) https://www.intcdc.uni-stuttgart.de/ **Project Name**: Knowledge Representation for Multi-Disciplinary Co-Design of Buildings. https://www.intcdc.uni-stuttgart.de/research/research-projects/rp-20/
GNU Lesser General Public License v3.0
9 stars 4 forks source link

Introduce and use a BHoM prefix bhom: #19

Open DiellzaElshani opened 2 years ago

DiellzaElshani commented 2 years ago

Description:

I propose to use a bhom prefix in the RDF graph, it makes it more readable and easier to differentiate classes from instances. The resulted RDF graph should look like this:


@base <http://bhom.org/> .
@prefix bhom: <> 

@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

### https://github.com/BHoM/BHoM/blob/main/Geometry_oM/Vector/Point.cs
bhom:BH.oM.Geometry.Point rdf:type owl:Class;
        rdfs:subClassOf bhom:BH.oM.Geometry.IGeometry;
        rdfs:subClassOf bhom:BH.oM.Base.IObject;
        rdfs:subClassOf bhom:BH.oM.Dimensional.IElement0D;
        rdfs:subClassOf bhom:BH.oM.Dimensional.IElement;
        rdfs:label"Point"@en .

Here is how it currently looks like:

### https://github.com/BHoM/BHoM/blob/main/Geometry_oM/Vector/Point.cs
:BH.oM.Geometry.Point rdf:type owl:Class;
        rdfs:subClassOf :BH.oM.Geometry.IGeometry;
        rdfs:subClassOf :BH.oM.Base.IObject;
        rdfs:subClassOf :BH.oM.Dimensional.IElement0D;
        rdfs:subClassOf :BH.oM.Dimensional.IElement;
        rdfs:label"Point"@en .