Replies: 1 comment 6 replies
-
Hi @flomickl, For me it was mostly sufficient to have a single "domainProperty", but maybe there are cases where someone needs several of them. We should also change the terminology to semantic types. We have already changed this in the user interface, but not yet in the model. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I had a look at the domainProperty entry in the event schema.
It is stored as a ArrayList, but most methods creates it as a simple String URI entry.
In the required Stream process, you can only ask for single String domainProperty in the methods
https://cwiki.apache.org/confluence/x/i5NbDg
In the EventPropertyBuilder it is also just a single String
https://cwiki.apache.org/confluence/display/STREAMPIPES/01+Data+in+StreamPipes+%7C+Event+Properties#id-01DatainStreamPipes|EventProperties-EventPropertiyPrimitiveBuilder
But some methods in the EpProperty have a List Options
https://cwiki.apache.org/confluence/display/STREAMPIPES/01+Data+in+StreamPipes+%7C+Event+Properties#id-01DatainStreamPipes|EventProperties-EpProperty
It is intended to use multiple domainProperties?
An Example in the Geo Processors.
An Event can be a Geometry domain
but also be a Point
So I would like to add geometry and point as a vocabulary
If I have a processor, that asked for a geometry, I still can use it.
But if I have a processor that requires a Point, it is also valid
Although, you need then another method to read the ArrayList as well?
I think there are also some other examples not related to geo ;)
Beta Was this translation helpful? Give feedback.
All reactions