buildingSMART / buildingSMART/bSDD

Hierarchy missing in ttl output?

Open
#121 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
193
Forks
45
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**
A rest call, e.g. with "Accept" : "application/json" returns the class hierarchy while "Accept : "text/turtle" does not. Is there a particular reason that the response doesn't return the same content regardless of format?

**Describe the solution you'd like**
It seems as if the Dictionary schema allows for a "ParentClassCode". Eventhough a "ParentClassURI" would have been more useful (similar to rdfs:subClassOf), could "ParentClassCode" be a part of the response for a class URI? This way, at least the class hierarchy would be accessible in a linked data setting.

**Describe alternatives you've considered**
My knowledge of the API is limited right nowl, but I guess that one alternative would be to use the API, but, a simple access through URI:s is preferrable.

**Additional context**
application/json:
![Image](https://github.com/user-attachments/assets/bd25bcdb-7ce6-46c8-a839-f12ab88f5b52)

test/turtle:

![Image](https://github.com/user-attachments/assets/eab0972f-2d39-4ed5-b888-5ddd54f6ca87)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.