Skip to content

No output when using joins #60

@felixp23

Description

@felixp23

I am trying to map an xml mqtt stream to rdf using the followoing parent triples map and join condition:
rr:predicateObjectMap [
rr:predicate sosa:observes;
rr:objectMap [
rr:parentTriplesMap <#CapacitiveSensorObservationMap>;
rr:joinCondition [
rr:child "References/Reference[@ReferenceType='HasComponent' and not (@IsForward='false')]";
rr:parent "@ParentNodeId";
];
];
].
When using this join condition on a snapshot of the xml data stream I send via mqtt on RMLMapper it works. Also when I use this snapshot as xml-file input for RMLStreamer it works, but when I constantly send the xml data as a stream and I want to map it, all other predicateObjectMaps are being mapped, but the parentTriplesMaps don't. I also tried to use "marker" join conditions as mentioned in a previous issue, but that didn't work either. I don't know what could be the issue.

I have the used mapping file as .txt file attached together with a snapshot of the xml data.
Short_Mapping.txt
Snapshot.txt
This is the ouput I get from the streamer, every time a new xml instance is sent:
Output_streamer

Furthermore, I encountered the issue that when I use different TriplesMaps on the same stream, I have to use the same iterator in these maps, otherwise I don't get an output at all.
Thank you for your help.

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