MaastrichtU-IDS / d2s-scripts-repository

📜 Transformation scripts to build Data2Services knowledge graphs (SPARQL insert queries, RML mappings, Shell commands).
2 stars 0 forks source link

Use row ID to avoid taking the first row #18

Closed vemonet closed 5 years ago

vemonet commented 5 years ago

To avoid taking the first row from TSV transformation, use the row ID instead of doing a string comparison of the value

For example in String at the moment we have:

# Avoid taking the first row with columns labels
FILTER( ?protA != "item_id_a")
vemonet commented 5 years ago

Now using OFFSET 1 in R2RML query to avoid raking the 1st row if used as header