Rdf type should be a configurable option
AnsweredDefining rdf type on a pipe is considered best practise and is recommended to be done on every input pipe.
Based on this I wish this would be a configurable option on the pipe itself instead of having to define it in the dtl. They're generally named after the pipe name anyways, so I think a generated value would work just as fine. In some cases the only reason for adding dtl to the configuration is to add rdf type.
I would suggest both being able to define a rule for all input pipes in the node metadata config as well as in the pipe itself.
I believe it should be a hierarchy where dtl overrides pipe config and pipe config overrides node config. If nothing is defined, it should be determined by the node metadata. (There might be good reasons for not doing this that I haven't thought of so please comment)
-
Official comment
rdf:type is not a first class thing in Sesam currently. There are no plans for add this as it is typically just a single line of DTL.
Comment actions
Please sign in to leave a comment.
Comments
1 comment