-
Notifications
You must be signed in to change notification settings - Fork 19
Description
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:
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.