Comments (3)
The whole 'functions on top of joins' is specifically about functions on top of (regular) join conditions.
However, for this to be actually useful, I believe we need kg-construct/mapping-challenges#29 tackled first (and how to specifically tackle this for values, is discussed in #4)
from rml-fnml.
An example would be, in YARRRML, based on https://rml.io/yarrrml/matey/ Advanced example:
prefixes:
ex: "http://example.com/"
mappings:
person:
sources:
- ['persons.json~jsonpath', '$.persons[*]']
s: http://example.com/person/$(firstname)
po:
- [a, foaf:Person]
- [ex:name, $(firstname)]
- p: ex:likes
o:
- function: ex:getAfterHash
parameters:
- parameter: ex:param1
value:
mapping: movie
condition:
function: equal
parameters:
- [str1, $(movie)]
- [str2, $(slug)]
movie:
sources:
- ['movies.csv~csv']
s: http://example.com/movie#$(slug)
po:
- [a, schema:Movie]
@dachafra did you have something like this in mind?
from rml-fnml.
let's see how join conditions will evolve in RML before we go too far with this ;)
from rml-fnml.
Related Issues (20)
- What should an engine do with the generated FnO execution triples (from the function triples map)? HOT 5
- Mismatch in naming of `fnml:outputMap` vs its target `fnml:ReturnMap`
- Typo in Example 6: use nested function? HOT 1
- fnml:ReturnMap HOT 2
- Visual overview of connections FNML HOT 9
- Why does a valueMap not have a specific termMap subclass? HOT 7
- Use newly introduced ExpressionMap as domain for execution, return, and returnMap HOT 11
- naming of properties in light of single namespace HOT 3
- Testcases: add tests HOT 1
- Re-structure the repo and change name HOT 1
- Use correct prefix for test-cases
- Adjust test-cases to match ontology changes
- Use the correct references for the RML Core parts
- Function definition with SPARQL to be considered in the future
- test cases and fno definitions
- Issues with test cases HOT 8
- Issues with shapes and ontology
- Special handling of RDF term types in used software library (e.g. from RDFJS, JENA, etc)? HOT 4
- Add a diagram aligned with the rest of the specs HOT 2
- Is the class `fnml:OutputTermMap` necessary? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rml-fnml.