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

FromTTL: add support for Lists of primitives #37

Closed alelom closed 2 years ago

alelom commented 2 years ago

Description:

Currently, Lists of primitives are translated to TTL by using the short notation, e.g. a List<int> containing values 0, 1, 2 will be tranlsated to ("0"^^rdf:int, "1"^^rdf:int,"2"^^rdf:int).

When translating from TTL back to objects, we are using RDFDotNet to gather the values of triples, however for some reason the list translated with that shorthand format is not correctly picked.

We can either:

alelom commented 2 years ago

Note that this is the reason why we have some tests failing ATM:

image