New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update tool-analysis.md re SOML #1982
Comments
That is the case where you have an object but the information model doesn't define what they should be. In TDs, you have properties, actions and events objects but each TD picks the terms that suits them. So in the example below, "properties": {
"status": {
"type": "string",
"forms": [{"href": "https://mylamp.example.com/status"}]
}
}, |
@egekorkan then SOML supports this: https://platform.ontotext.com/semantic-objects/soml/properties.html
As an example, you can have this: objects:
Thing:
props:
status:
MyThing:
inherits: Thing
props:
status: {rdfProp: https://mything.example.com/status}
YourThing:
inherits: Thing
props:
status: {rdfProp: https://yourthing.example.com/status} Then you can use this GraphQL query query ThingsWithStatus {
thing {status}
} |
I think we are not in the same scope. The different tools we have analyzed will be only used by the specification group and the TD writers (people, tools, etc.) will still use plain JSON or JSON-LD. So we need to specify our information model with something like SOML, LinkML etc. and generate a bunch of stuff (Ontology, HTML spec, JSON Schema) to give to different communities. |
What I'm saying is that SOML supports the 5 bullets in the issue description.
|
Thanks :) I will check with @mahdanoura when she is available again in a couple of weeks |
Hi @mahdanoura!
I was pointed to https://github.com/w3c/wot-thing-description/blob/main/toolchain/tool-analysis.md by egekorkan.
I guess your tool selection is completed (I see elsewhere "STTL" and that's a nice tool; I use its newer incarnation SPARLQ Generate).
So this issue is probably unimportant and petty.
But I have a couple of clarifications about SOML (that's https://platform.ontotext.com/semantic-objects/soml/index.html, right?)
Type/Type[]
support": we have it, that'smax: 1
(which is default) vs any biggermax
. This distinction is crucial for GraphQLThe text was updated successfully, but these errors were encountered: