Replies: 2 comments
-
|
I believe that support for rdf:Property references is a useful enough capability that I have experimented with allowing more flexibility in In one of these discussions, there was a question of what should take priority if there is a disconnect between I would flag this sort of disconnect with a warning if I could detect it. |
Beta Was this translation helpful? Give feedback.
-
|
I don't think recasting rdfType (or rdfProp) as the defaul type for unspecified fields[].rdfType is particularly useful. Instead, consider using table level rdfType property to define the type of the row object (aligning with CSVW tableschema datatype). IFF a table-level type and format default is deemed useful, that structure should duplicate the field descriptor, sans name, title, and deacription, to include type, format, rdfType and rdfProp et al. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
This issue is a proposal for adopt hierarchical principle in the
rdfTypeinterpretation, and for add its complementar field-descriptor,rdfProp. Its to enhance flexibility and expressiveness power of the Frictionlessdata specs.Summary
The proposal is:
Stay with
rdfTypeas "semantic Class" of a field description (its value is an URL of a vocabulary item), see Proper semantic type support #343 and "Semantic" type (datatype) field in JSON Table Schema #217.By hierarchical principle (see Adopt hierarchical principle frictionlessdata.io#852 and Adopt precedence rules in baptism and interpretation frictionlessdata.io#866), adopt
rdfTypeas optional descriptor at resources.It will be interpreted as "default
rdfType" in all fields.PS: when a field have other
rdfType, will overridden by it (? or interpreted as a specialization).Add descriptor
rdfPropas "semantic Property", to express the semantic (in the context ofrdfTypewhen it exists) of a field value.Example
HTML5-RDFa 1.1 Lite equivalent:
CSV and datapackage files:
{ "name": "movies", "...": "...", "resources": [{ "name": "movies.csv", "mediatype": "text/csv", "rdfType": "http://schema.org/Movie", "schema": { "fields": [ { "name": "Movie name", "rdfProp": "http://schema.org/name", "type": "string" }, { "name": "Director", "rdfProp": "http://schema.org/director", "type": "string" }, { "name": "Price", "rdfType": "http://schema.org/Offer", "rdfProp": "http://schema.org/price", "type": "currency" } ] } }Other example: datasets-br/state-codes (see
br-state-codes.csv).Beta Was this translation helpful? Give feedback.
All reactions