Giter Club home page Giter Club logo

Comments (5)

anaigmo avatar anaigmo commented on June 26, 2024 3

Oki, then summing up the proposed changes in this issue:

  • Add two subclasses of :ExpressionMap: :ParentMap and :ChildMap
  • Add two new properties: :parentMap and :childMap; adjusting :parent and :child to be the shortcuts

Then instead of:

ex:po rml:joincondition [
  rml:child [
    rml:reference "foreignId"
  ] ;
  rml:parent [
    rml:reference "Id"
  ]
] .

We would have without shortcuts:

ex:po rml:joincondition [
  rml:childMap [
    rml:reference "foreignId"
  ] ;
  rml:parentMap [
    rml:reference "Id"
  ]
] .

And with shortcuts:

ex:po rml:joincondition [
  rml:child "foreignId";
  rml:parent "Id"
] .

from rml-core.

bjdmeest avatar bjdmeest commented on June 26, 2024 2

To fully match with #53, I'd suggest to use the names rml:parentMap and rml:childMap to refer to parent expression and child expression, and maybe have rml:parent and rml:child as their reference shortcut property (so they actually refer to parent reference and child reference).

If we don't do that I assume the most simple join will be of form below, as an expression means that the object should be an ExpressionMap?

ex:po rml:joincondition [
  rml:child [
    rml:reference "foreignId"
  ] ;
  rml:parent [
    rml:reference "Id"
  ]
] .

from rml-core.

pmaria avatar pmaria commented on June 26, 2024 1

I believe it's called parent column and child column right now. I think we should change this to parent expression and child expression. I think this matches well with the proposal in #53

from rml-core.

andimou avatar andimou commented on June 26, 2024

If I combine #59 and #53 I would think that there is no problem if we call them ParentMap and ChildMap as long as we clarify that they inherit from the ExpressionMap and not the TermMap. Namely that would allow us to use references, templates and constants but not termtype, language and datatype which feels reasonable.

cc/ @anaigmo

from rml-core.

DylanVanAssche avatar DylanVanAssche commented on June 26, 2024

This issue had a proposal and is done. Closing.

from rml-core.

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.