Giter Club home page Giter Club logo

Comments (4)

arenas-guerrero-julian avatar arenas-guerrero-julian commented on June 16, 2024

uuid is a non-deterministic function, so this is the expected behaviour.

What data source (e.g. relational database, CSV, JSON) are you working with?

from morph-kgc.

MaFi2000 avatar MaFi2000 commented on June 16, 2024

uuid is a non-deterministic function, so this is the expected behaviour.

What data source (e.g. relational database, CSV, JSON) are you working with?

I am using Json and CSV. At the moment I am using a workaround and transforming my sons and csv before starting the transformation, but I don't like this solution. Do you know how to dress this issue?

from morph-kgc.

arenas-guerrero-julian avatar arenas-guerrero-julian commented on June 16, 2024

You can check #102 where this is being discussed.

For CSVs you can use RML Views using the row number (row_number()), which is deterministic:

<TriplesMap1>
 	rml:logicalSource [
                     rml:query """
                       SELECT COL1, row_number() over () AS ID
                       FROM 'path/to/my/file.csv'  """ ];
	rr:subjectMap [ rr:template "http://example.com/{ID}" ];
	rr:predicateObjectMap [
                       rr:predicate ex:col;
                       rr:objectMap [ rml:reference "COL1" ];
        ];

For JSON, if it not very complicated, you can do something similar, check this blog post

from morph-kgc.

arenas-guerrero-julian avatar arenas-guerrero-julian commented on June 16, 2024

I close this issue, discussion can continue in #102

from morph-kgc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.