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

Push to GraphDB with Custom objects #107

Open polnischfrosch opened 1 year ago

polnischfrosch commented 1 year ago

Description:

When pushing data containing a custom object with a property name that contains a whitespace character, the result data from the http put request gives the warning below and data will not be overwritten in graphDB. This problem can be avoided by separating property names with underscores instead of whitespaces. A potential other fix would be to check the property names before converting them to TTL and replacing whitespaces.

Another fix might be to indicate a potential naming convention to the user. Currently the only sign of data not being updated is the amount of statements in the GraphDB repository, there are no warnings or errors being thrown in Grasshopper. The idea with this fix would be to display the response from the http request and prompt the user with a possible solution.

Grasshopper definition of the custom object with property (site location) containing the whitespace. image

Http response with warning image