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 have been trying to generate the predicate using a template. I have not found any documentation or examples, and have tried several ideas but nothing seems to be working.
given
[{ "aDevice":"123", "zDevice":"987","sourceName":"ARPCache"},{ "aDevice":"456", "zDevice":"654","sourceName":"STP"}]
I have been trying to generate the predicate using a template. I have not found any documentation or examples, and have tried several ideas but nothing seems to be working.
given
[{ "aDevice":"123", "zDevice":"987","sourceName":"ARPCache"},{ "aDevice":"456", "zDevice":"654","sourceName":"STP"}]
I want to generate:
http://example/Network/Device/123 http://example/Network/hasARPCacheNeighbor http://example/Network/Device/987 .
http://example/Network/Device/456 http://example/Network/hasSTPNeighbor http://example/Network/Device/654 .
I don't want to use multiple logicalsource definitions and hardcode the predicate.
I tried but doesn't seem to work:
rr:predicateObjectMap [
rr:predicateMap [ rml:template "has{$.sourceName}" ];
rr:objectMap [ rml:template "http://example/Network/Device/{$.zDevice}];
];
Is predicateMap even a key word? I see it reference in the rml spec, but never see it used in the way subject map or object map.
Thanks, Rick
The text was updated successfully, but these errors were encountered: