You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Hello thank you for your quick answer. I tried to do it exactly like the provided example and my predicateObjectMap now looks like this:
With the corresponding JoinConfigMap:
Unfortunately, this didn't change anything in my output, everything else is mapped, but there is no output concerning the join. I tried it again with the "marker" join condition as well but still no change.
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.
The text was updated successfully, but these errors were encountered: