BHoM / BHoM/RDF_Prototypes

Push to GraphDB with Custom objects

Open
#107 0 comments 0 reactions 1 assignee Claimed by @polnischfrosch View on GitHub
type:bug
Dominant language
C#
Stars
10
Forks
5
PR merge metrics
No merged PRs in 30d

Description

#### 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](https://github.com/BHoM/RDF_Prototypes/assets/104036071/63963330-46a7-431d-8704-d5237b675d32)

_Http response with warning_
![image](https://github.com/BHoM/RDF_Prototypes/assets/104036071/a07796c1-528e-4846-8874-815c0174aba0)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.