Giter Club home page Giter Club logo

Comments (2)

andimou avatar andimou commented on June 18, 2024

Couldn't the same be achieved with 2 predicate object maps, each having a predicate map but a different graph map?
Wouldn't you achieve the same with the following?

  rml:subjectMap [
    rml:template "subject"
  ];

    rml:predicateObjectMap [
      rml:graph  ex:graphA; 
      rml:graph  ex:graphB;
      rml:predicateMap [
          rml:constant ex:predicateAB;    
     ];
           rml:object  <object>
      ];

   rml:predicateObjectMap [
      rml:graph ex:graphC; 
      rml:predicateMap [
          rml:constant  ex:predicateC; 
      ];
           rml:object  <object>
      ].

from rml-core.

s-minoo avatar s-minoo commented on June 18, 2024

It is indeed possible to do it as you proposed.
However, the complexity comes when I start using LogicalTargets and FnO functions.
According to the specs for LogicalTargets and RML-FnO, both of them could be defined at the TermMap level for SM, PM, and OM.

It is just a syntactic sugar at this point, however, as a user (especially a new RML user), I would expect to also be able to define GraphMaps at the level of PM, and OM too. Since it is in a sense a "grouping" operation on triples.
Furthermore, depending on the predicate or object, I would like to group the triples into a specific named graph.

Otherwise, as it stands, I have to think at POM level which makes it a little bit confusing when combining LogicalTargets and FnO functions.

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.