kbss-cvut / s-pipes

Tool for execution of RDF-based pipelines.
GNU Lesser General Public License v3.0
4 stars 5 forks source link

Tabular module should accept minimalistic file format #100

Open blcham opened 2 years ago

blcham commented 2 years ago

There is a need to specify and implement minimalistic versions of schema file definitions, i.e. different use-cases how to use schema e.g.:

In case the user does not specify any of the minimalistic definitions we should notify him.

An example that does not work now:

:input-table-schema a csvw:TableSchema ;                                                             
                    csvw:column                                                                      
                        [ csvw:name "bookingno_i" ;                                                
                            kbss-csvw:property  :bookingno_i ;                                       
                            csvw:title "bookingno_i" ] .

In order for tabular module to accept this schema, user needs to specify a csvw:Column type as follows:

:input-table-schema a csvw:TableSchema ;                                                             
                    csvw:column                                                                      
                        [ a csvw:Column;                                                             
                            csvw:name "bookingno_i" ;                                                
                            kbss-csvw:property  :bookingno_i ;                                       
                            csvw:title "bookingno_i" ] . 
blcham commented 2 years ago

We should consider SHACL validation here / inference.