Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rml:Field needs some properties of rml:Source #34

Open
elsdvlee opened this issue Jul 18, 2024 · 1 comment
Open

rml:Field needs some properties of rml:Source #34

elsdvlee opened this issue Jul 18, 2024 · 1 comment

Comments

@elsdvlee
Copy link
Collaborator

rml:Field needs some properties of rml:Source, especially when switching reference formulation, e.g. rml:null and the seperator specification for CSVW.

@elsdvlee elsdvlee mentioned this issue Jul 18, 2024
4 tasks
@pmaria
Copy link
Collaborator

pmaria commented Jul 18, 2024

Discussed with @elsdvlee and @DylanVanAssche .

We can solve this by introducing more specific descriptions for reference formulations, like is also done for namespaces and rml:XPathReferenceFormulation.

An example of what this could look like

[]
  rml:logicalSource [
    rml:source [
      rml:root rml:MappingDirectory
      rml:path "data.csv" ;
    ] ;
    rml:referenceFormulation [
      a rml:CsvReferenceFormulation ;
      rml:option [
        rml:null "" ; 
      ] ;
      rml:csvwTableSchema [
        a csvw:TableSchema ;
        csvw:columns ( "id" "name" "age" ) ;
      ] ;
      rml:csvwDialect [
        a csvw:Dialect ;
        csvw:delimiter ";" ;
        csvw:quoteChar "\"" ;
        csvw:escapeChar "\\" ;
        csvw:commentChar "#" ;
        csvw:header false ;
        csvw:skipRows 1 ;
      ] ;
    ] ;
  ] ;

We will raise an an issue for this at rml-io-registry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants