Currently, a sc:Parameter placeholder can only describe its type via a single value which can be xsd:integer, xsd:string, ..., or rdf:List. It can also only handle literals or lists of literals.
In order to properly describe what a placeholder is for, we need to provide the possibility to describe the "inner" type, i.e. literals (xsd:string, xsd:integer, ...), as well as the "outer" type that explains the "cardinality" of the placeholder.
I suggest the following properties (and possible values) for sc:Parameter
-
sc:parameterType is removed
-
sc:parameterOuterType is added
sc:Scalar for single values (there doesn't seem to be a type for this in rdf: or rdfs:)
rdf:List, rdf:Seq, rdf:Bag, rdf:Alt for collections of values
-
sc:parameterInnerType is added
xsd:integer, xsd:float, xsd:string, ... for naive data types → the value from the config is parsed to a literal of the specified type
rdfs:Resource → the value from the config is interpreted as a reference to a more complex resource
-
sc:parameterConfigPath remains unchanged
-
sc:parameterDefaultValue remains unchanged
Currently, a
sc:Parameterplaceholder can only describe its type via a single value which can bexsd:integer,xsd:string, ..., orrdf:List. It can also only handle literals or lists of literals.In order to properly describe what a placeholder is for, we need to provide the possibility to describe the "inner" type, i.e. literals (
xsd:string,xsd:integer, ...), as well as the "outer" type that explains the "cardinality" of the placeholder.I suggest the following properties (and possible values) for
sc:Parametersc:parameterTypeis removedsc:parameterOuterTypeis addedsc:Scalarfor single values (there doesn't seem to be a type for this inrdf:orrdfs:)rdf:List,rdf:Seq,rdf:Bag,rdf:Altfor collections of valuessc:parameterInnerTypeis addedxsd:integer,xsd:float,xsd:string, ... for naive data types → the value from the config is parsed to a literal of the specified typerdfs:Resource→ the value from the config is interpreted as a reference to a more complex resourcesc:parameterConfigPathremains unchangedsc:parameterDefaultValueremains unchanged