-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
The 1.3.0 snapshot has a new data type name Datatype#list_uri, see the Token type for an example. Until now, the type listed for the values of properties were things like String, Integer, String or URI, List of URI, List of IDs,Set of IDs, List of Strings, and maybe a few I missed. The new Datatype#list_uri is a datatype defined in the vocabulary and is associated with a URI which is printed here since the link is broken (this is somewhat simplified):
<xs:schema
xmlns:xs="http://www.w3.org/2001/XMLSchema"
attributeFormDefault="unqualified"
elementFormDefault="qualified">
<xs:simpleType name="list_uri" id="list_uri">
<xs:restriction>
<xs:simpleType>
<xs:list itemType="xs:anyURI"/>
</xs:simpleType>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="string_list" id="string_list">
<xs:restriction>
<xs:simpleType>
<xs:list itemType="xs:string"/>
</xs:simpleType>
</xs:restriction>
</xs:simpleType>
</xs:schema>The reason appears to be that this is needed for generating RDF schema. Some general remarks and questions on this for discussion:
- Do we really want to use
Datatype#list_uriinstead ofList of URI(which may be should beList of URIsso it is consistent withList of IDs. I do not find it very user-friendly. - If we do use something like http://vocab.lappsgrid.org/Datatype#list_uri we could still call it
List of URIsbut use the link as well. This way we have the explicit definition but it the vocabulary will still show a more friendly name. - If we have one for http://vocab.lappsgrid.org/Datatype#list_uri don't we then also need URIs for all others (http://vocab.lappsgrid.org/Datatype#string etcetera)?
- With or without those datatypes, it would perhaps be nice to associate some explicit meaning to the types, perhaps a list defined somewhere.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels