Closed tpluscode closed 2 years ago
XRM version 1.2.0 now supports declaring target named graph(s)
Declaring graphs
is only supported for R2RML, RML and CARML output
. It's not supported for CSVW output.
Sample XRM:
output r2rml
map ThingIntoGraphmapsMapping from ThingIntoGraphmapsSource {
subject template "http://example.org/thing/{0}" with id;
graphs
constant "http://example.org/graph/omnigraph"; // constant IRI as string
template "http://example.org/graph/thing-{0}" with id; // templated IRI with variable(s)
constant thing.Thing; // IRI from Class
constant thing.color; // IRI from Property
constant employee.myDatatype; // IRI from Datatype
}
R2RML can output triples to specific named graph defined using
rr:graphMap
property.Either as template
or constant
I propose to add this as a language feature in the
map
block. Multiple should be allowed