|
1 |
| -<?xml version="1.0" encoding="UTF-8"?> |
2 |
| -<metamorph-test version="1.0" |
3 |
| - xmlns="http://www.culturegraph.org/metamorph-test" xmlns:mm="http://www.culturegraph.org/metamorph"> |
4 |
| - |
5 |
| - |
6 |
| - |
7 |
| - <test-case name="add WebResource"> |
8 |
| - <input type="text/x-cg+xml"> |
9 |
| - <cgxml version="1.0" xmlns="http://www.culturegraph.org/cgxml"> |
10 |
| - <records> |
11 |
| - <record id="1"> |
12 |
| - <literal name="copyright" value="CC-0" /> |
13 |
| - <literal name="aggregation_id" value="hawaii_aggregation" /> |
14 |
| - <entity name="edm:WebResource"> |
15 |
| - <literal name="~rdf:about" value="hawaii" /> |
16 |
| - <literal name="hula" value="hula" /> |
17 |
| - </entity> |
18 |
| - </record> |
19 |
| - </records> |
20 |
| - </cgxml> |
21 |
| - </input> |
22 |
| - |
23 |
| - <transformation type="application/java" |
24 |
| - src="org.culturegraph.mf.stream.pipe.OreAggregationAdder" /> |
25 |
| - |
26 |
| - |
27 |
| - <result type="text/x-cg+xml" strict-key-order="false"> |
28 |
| - <cgxml version="1.0" xmlns="http://www.culturegraph.org/cgxml"> |
29 |
| - <records> |
30 |
| - <record id="1"> |
31 |
| - <entity name="edm:WebResource"> |
32 |
| - <literal name="~rdf:about" value="hawaii" /> |
33 |
| - <literal name="hula" value="hula" /> |
34 |
| - </entity> |
35 |
| - <entity name="ore:Aggregation"> |
36 |
| - <literal name="~rdf:about" value="hawaii_aggregation" /> |
37 |
| - <entity name="edm:isShownBy"> |
38 |
| - <literal name="~rdf:reference" value="hawaii" /> |
39 |
| - </entity> |
40 |
| - <literal name="copyright" value="CC-0" /> |
41 |
| - </entity> |
42 |
| - </record> |
43 |
| - </records> |
44 |
| - </cgxml> |
45 |
| - </result> |
46 |
| - </test-case> |
47 |
| - |
48 |
| -</metamorph-test> |
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<metamorph-test version="1.0" |
| 3 | + xmlns="http://www.culturegraph.org/metamorph-test" xmlns:mm="http://www.culturegraph.org/metamorph"> |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + <test-case name="add WebResource"> |
| 8 | + <input type="text/x-cg+xml"> |
| 9 | + <cgxml version="1.0" xmlns="http://www.culturegraph.org/cgxml"> |
| 10 | + <records> |
| 11 | + <record id="1"> |
| 12 | + <literal name="copyright" value="CC-0" /> |
| 13 | + <literal name="aggregation_id" value="hawaii_aggregation" /> |
| 14 | + <entity name="edm:WebResource"> |
| 15 | + <literal name="~rdf:about" value="hawaii" /> |
| 16 | + <literal name="hula" value="hula" /> |
| 17 | + </entity> |
| 18 | + </record> |
| 19 | + </records> |
| 20 | + </cgxml> |
| 21 | + </input> |
| 22 | + |
| 23 | + <transformation type="application/java" |
| 24 | + src="org.culturegraph.mf.stream.pipe.OreAggregationAdder" /> |
| 25 | + |
| 26 | + |
| 27 | + <result type="text/x-cg+xml" strict-key-order="false"> |
| 28 | + <cgxml version="1.0" xmlns="http://www.culturegraph.org/cgxml"> |
| 29 | + <records> |
| 30 | + <record id="1"> |
| 31 | + <entity name="edm:WebResource"> |
| 32 | + <literal name="~rdf:about" value="hawaii" /> |
| 33 | + <literal name="hula" value="hula" /> |
| 34 | + </entity> |
| 35 | + <entity name="ore:Aggregation"> |
| 36 | + <literal name="~rdf:about" value="hawaii_aggregation" /> |
| 37 | + <entity name="edm:isShownBy"> |
| 38 | + <literal name="~rdf:resource" value="hawaii" /> |
| 39 | + </entity> |
| 40 | + <literal name="copyright" value="CC-0" /> |
| 41 | + </entity> |
| 42 | + </record> |
| 43 | + </records> |
| 44 | + </cgxml> |
| 45 | + </result> |
| 46 | + </test-case> |
| 47 | + |
| 48 | +</metamorph-test> |
0 commit comments