Skip to content

Conditional generation of triples #2

Closed
@fpompermaier

Description

@fpompermaier

Hi,
nice work! Do you think it could be possible to manage a condition for generation of triples?
For example, adding a rr:condition (expression) to a rr:subjectMap like:

<#DateTime>
rml:logicalSource [
rml:sourceName "example.xml";
rml:iterator "/notes/note";
rml:queryLanguage ql:XPath;
];
rr:subjectMap [
rr:template "http://www.example.com/DateTime/{@year}{@month}{@day}";
rr:class ex:DateTime;
rr:condition "{@month}.trim() != '' "
];

Thanks,
FP

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions