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

Create examples for 4 objects #8

Closed alelom closed 2 years ago

alelom commented 2 years ago

Description:

Actual data BHoM Objects - RDF

Review how the IRelations are made.

We only have HasProperty -> We need to have, for each property, a specific relation.

The range of a property: is it a Node or a Literal/Datatypes?

Ontology of 4 object - RDF

Next steps

Connecting with BOT - use BOT as RDF + alignment module bot element = oM Make one RDF Jena Fuseki Server - Diellza

DiellzaElshani commented 2 years ago

The range of a property might be literal. Eg. If we want to set a name to a Column and Curve, which are both subclasses of BhomObject, We might do the following (I use bhom: as a prefix of our ontology):

bhom:Name rdf:type owl:datatypeProperty
bhom:Name rdfs:domain bhom:BhomObject

bhom:Column rdfs :SubClassOf bhom:BhomObject
bhom:Curve rdfs:SubClassOf bhom:BhomObject

bhom:Name rdfs:range xsd:string
DiellzaElshani commented 2 years ago

image

Whereas the relation "location" can be modeled like this:

bhom:location a owl:ObjectProperty
bhom:location rdfs:domain bhom:Column
bhom:location rdfs:range bhom:Curve