dcmi / dctap

DC Tabular Application Profile
https://dcmi.github.io/dctap/
34 stars 10 forks source link

statement template with valueShape #75

Closed kcoyle closed 2 years ago

kcoyle commented 2 years ago

We haven't established the valueDateType (and valueNodeType) for a statement template with valueShape. Should these be left blank? Should either of them give a type of valueShape?

Example from SimpleBook

shapeID propertyID propertyLabel mandatory repeatable valueNodeType valueDataType valueShape
#BookShape dct:title Title TRUE FALSE Literal rdf:langString
#BookShape dct:creator Author FALSE TRUE IRI BNODE #AuthorShape

Shape as value type

shapeID propertyID propertyLabel mandatory repeatable valueNodeType valueDataType valueShape
#BookShape dct:title Title TRUE FALSE Literal rdf:langString
#BookShape dct:creator Author FALSE TRUE shape #AuthorShape

Shape as value type plus node type

shapeID propertyID propertyLabel mandatory repeatable valueNodeType valueDataType valueShape
#BookShape dct:title Title TRUE FALSE Literal rdf:langString
#BookShape dct:creator Author FALSE TRUE IRI BNODE shape #AuthorShape

Shape with no value or value node type

shapeID propertyID propertyLabel mandatory repeatable valueNodeType valueDataType valueShape
#BookShape dct:title Title TRUE FALSE Literal rdf:langString
#BookShape dct:creator Author FALSE TRUE #AuthorShape
kcoyle commented 2 years ago

At the July 21, 2022 meeting we decided that there would NOT be a valueDataType for shape, and that valueNodeType and valueDataType could be left blank when there is a valueShape. The use of a valueNodeType of IRI or BNODE or both is also ok when appropriate.