Questions tagged [rml-rdf]

For questions related to RML (RDF Mapping Language), an extension of the W3C-standardized mapping language R2RML (RDB to RDF Mapping Language). Please do not use the [r2rml] tag for questions about non-relational sources. Please do not use the [rml] tag which is for Report Markup Language.

Documentation

Tools

18 questions
2
votes
0 answers

Flink akka AskTimeoutException on AWS EMR when the input file size is large

I execute RMLStreamer on AWS EMR, when my file size (csv file) is small (30-50 rows) everything works fine and I receive the expected outcome. However, as I increase my file size from 30 rows to few thousand rows. I get the following error Exception…
2
votes
1 answer

RML and FnO fails to run together

I am trying to use FnO functions in RML mapper (I like to do a string_split like here). This is how my folder looks like: I am executing java -jar "rmlmapper.jar" -m mapping-cuisines.ttl -o output-cuisines.ttl -s turtle However, when I try…
Azrion
  • 117
  • 2
  • 14
2
votes
1 answer

RML Mapping with recursive traversal of nodes with parent attribute appended each time

I am trying to map an XML source to RDF and would like to know how to traverse recursively while keeping track of the parent's attributes each time. In the example shown, I want all Person nodes to be extracted with the name of each parent node…
swathis
  • 336
  • 5
  • 17
2
votes
0 answers

How can I generate a language tag from the source data

I am using RMLMapper and want to map patterns like <string language="en-US">Golf Explained</string> <string language="es">Explicó Golf</string> to schema:name "Golf Explained"@en-US, "Explicó Golf"@es I have…
2
votes
2 answers

Is there a solution in RML for multiple complex entities in one data element (cell) of the input without cleaning the input data?

I have a list of person names like, for example, this except (Person is the column name): Person "Wilson, Charles; Harris Arthur" "White, D. Arthur Harris" Note that the multiple persons are mentioned in different ways and are separated…
otaku
  • 27
  • 5
1
vote
1 answer

RMLStreamer Function grel:array_join produces inconsistent results

In RMLStreamer, grel:arra_join function does not produce the expected results. Mapping File (mapping.ttl) @prefix rr: . @prefix foaf: . @prefix ex: . @prefix xsd:…
1
vote
0 answers

Is there a way to automatically generate an ID/UUID in RML?

I am currently mapping a JSON file through RML, and the file I'm mapping doesn't have any ID's that I can use. Is there any way to generate an ID through RML, or is doing something like this impossible? Thanks in advance.
1
vote
0 answers

Common R2RML mapping file for all the tables

I am working on a project to help the user manually import their data sources in the format of CSV or JSON, then the data will be imported into the data warehouse, after that these data sources will be automate generate to RDF Data cubes with R2RML…
Rio Vo
  • 23
  • 3
1
vote
2 answers

Is there any way in rml / r2rml to take a value as an IRI?

I'm using RMLMapper to transfrom JSON to RDF. One of the values stored in the JSON is a URL. I would like to use this as the basis of an IRI for the object of RDF statements. The input is { "documentId": { "value": "http://example.org/345299" …
1
vote
0 answers

Joining multiple (2+) nodes / Multihop mappings in RML (RDF Mapping Language)

I am trying to map an XML source to RDF but cannot seem to get multi-hop mappings or multi-join conditions to work. After having gone through the documentation, examples, and test cases, I am not quite sure if this is even possible. I appreciate any…
swathis
  • 336
  • 5
  • 17
1
vote
0 answers

Nested XML to Turtle mapping using RMLMapper

I'm trying to create nested mappings between XML and Turtle. I'm using the RMLMapper v4.9.0 for this purpose. Here is a sample XML file that I would like to map:
1
vote
1 answer

How to map children element of an xml file using RML to create an RDF?

I'd like to create an RDF using RML mapping. The XML part is shown below. I have made a triple map for "Attribute" and "FB". One of the FB has a child "Attribute", but in the result, each "FB" Triples has "Attribute". Is there any solution for that…
Nili
  • 91
  • 8
1
vote
1 answer

RML Mapper for array of array in json

I'm trying to map this JSON file to RDF, but I probably can not iterate correctly to get the values ​​of "value", which are inside the measures array. JSON: { "status": 0, "body": { "updatetime": 1528904042, "timezone":…
0
votes
1 answer

Generating condition-based rdf:type triples using YARRRML mapping

I’m working on an implementation that requires assigning rdf:type based upon a value in the data. Example: ID,Species 1,Rat 2,Eagle ID-1 should be assigned type as "Animal" and ID-2 should be assigned type as "Bird". I’m stuck with the conditional…
0
votes
0 answers

Is it possible to use prefixes for template definition in RML/SPARQL mapping?

I'm trying to map tabular data into RDF using RML mapping. I've figured out how to define and use prefixes for rr:constant definitions as indicated with the <<--- arrows in the code below. I've also figured out how to map column values using…
gaspanic
  • 249
  • 1
  • 12
1
2