Giter Club home page Giter Club logo

Comments (8)

andimou avatar andimou commented on June 21, 2024 1

detail but in the case of RML (given that FnO is aligned with RML but not R2RML),
it should be reference-based term map (instead of column-based) or function map

before reaching the point of voting, should we perhaps look into our use cases or call for use cases?

The use cases might give us insights regarding what might be the most commonly intuitive.

from rml-fnml.

bjdmeest avatar bjdmeest commented on June 21, 2024 1

You're right, added definition for a function map and used that one where relevant, see change at 506737a2c9f952d9aebcb651176f8e00dc801057

from rml-fnml.

bjdmeest avatar bjdmeest commented on June 21, 2024

Ah yes, and right now the default term type depends on whether the term map is an object map or not is (implicitly) extended into

If the term map does not have a rr:termType property, then its term type is:

  • rr:Literal, if it is an object map and at least one of the following conditions is true:
    • It is a column-based term map or a also fnml:FunctionMap
    • It has a rr:language property (and thus a specified language tag).
    • It has a rr:datatype property (and thus a specified datatype).
  • rr:IRI, otherwise.

I have no real opinion for what should be the default case. I'll clarify in the spec what the current situation is, but I don't want to force that as solution. Maybe we should just vote or smth?

from rml-fnml.

bjdmeest avatar bjdmeest commented on June 21, 2024

detail but in the case of RML (given that FnO is aligned with RML but not R2RML),
it should be reference-based term map (instead of column-based) or function map

You're right and I also had that insight before changing the spec, it's now as below, in accordance with the current RML spec

If the term map does not have a rr:termType property, then its term type is:

👍 on the use cases :)

from rml-fnml.

andimou avatar andimou commented on June 21, 2024

It is a reference-based term map, or also a fnml:FunctionMap

getting picky with details now but the one is in a human readable format, ie reference-based term map and the other in machine-readable format, ie fnml:FunctionMap.

Better keep both human-readable: reference-based term map and function map

or both in machine-readable format: rr:TermMap with rml:reference and fnml:FunctionMap

or a hybrid :)

(I'm personally in favor of the former)

from rml-fnml.

andimou avatar andimou commented on June 21, 2024

similar question here, do we have use cases in the end for this? If not, maybe we need to consider having a collective call for issues that we want to work on and we don't have use cases?

from rml-fnml.

samiscoding avatar samiscoding commented on June 21, 2024

Considering this definition (and for now fnml:FunctionMap as a term map), if the FunctionMap is a rr:subjectMap and no rr:termType is provided then the default type is rr:IRI, did I understand it correctly?

Ah yes, and right now the default term type depends on whether the term map is an object map or not is (implicitly) extended into

If the term map does not have a rr:termType property, then its term type is:

  • rr:Literal, if it is an object map and at least one of the following conditions is true:

    • It is a column-based term map or a also fnml:FunctionMap
    • It has a rr:language property (and thus a specified language tag).
    • It has a rr:datatype property (and thus a specified datatype).
  • rr:IRI, otherwise.

I have no real opinion for what should be the default case. I'll clarify in the spec what the current situation is, but I don't want to force that as solution. Maybe we should just vote or smth?

from rml-fnml.

bjdmeest avatar bjdmeest commented on June 21, 2024

Given the text at https://kg-construct.github.io/fnml-spec/#fnml-outputtermmap, I close this issue with commit 257a79f, feel free to reopen

from rml-fnml.

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.