Closed ktk closed 1 year ago
I haven't seen explicit rr:TriplesMap
type declaration in any of the examples in neither R2RML nor RML spec.
TriplesMap could actually be inferred by the mapping processor, as the domain of rml:logicalSource
is rr:TriplesMap
(http://semweb.mmlab.be/ns/rml#logicalSource).
Anyhow, it won't hurt to add explicit rr:TriplesMap
type declarations to the generated mapping files
Yes the inference was also mentioned in the comment. But I agree, adding it does not hurt.
With XRM version 1.2.0, the generated (R2)RML mappings are now explicitly typed with rr:TriplesMap
. This should improve the compatibility with more mapping processors.
When executing the XML example from https://github.com/zazuko/expressive-rdf-mapper/pull/11 on RML Mapper it yields an error:
And indeed there is no class assignment to the logical source. It is also not in the official examples of the spec so I raised an issue in RML Mapper as well.