File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed
Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change 4949 rml:iterator " /dataroot/_x0038_0_Persons"
5050 ].
5151
52+ # Logical source and TriplesMap for ActivityMethods join table
53+ :TriplesMapActivityMethods a rr:TriplesMap;
54+ rml:logicalSource [
55+ rml:source " data/xml/03m_ActivityMethods.xml" ;
56+ rml:referenceFormulation ql:XPath;
57+ rml:iterator " /dataroot/_x0030_3m_ActivityMethods"
58+ ];
59+ rr:subjectMap [
60+ rr:template " http://purl.org/twc/poem/individual/methodType/{MethodID}"
61+ ].
62+
5263:TriplesMap rr:subjectMap [
5364 rr:template " http://purl.org/twc/poem/individual/activity/{ActivityID}"
5465].
119130 rr:objectMap [
120131 rml:reference " ActivityDate"
121132 ]
133+ ].
134+
135+ # Link each activity to its method type(s) using rdf:type and the join table
136+ :TriplesMap rr:predicateObjectMap [
137+ rr:predicate rdf:type;
138+ rr:objectMap [
139+ rr:parentTriplesMap :TriplesMapActivityMethods;
140+ rr:joinCondition [
141+ rr:child " ActivityID" ;
142+ rr:parent " ActivityID"
143+ ]
144+ ];
122145].
You can’t perform that action at this time.
0 commit comments