TEST_dpr-to-dpr2-runxslt.ttl
2.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# baseURI: http://www.reportinghub.no/test/dpr/testcase/dpr-to-dpr2-runxslt
# imports: http://topbraid.org/sparqlmotionfunctions
# imports: http://topbraid.org/sparqlmotionlib-tbc
@prefix : <http://www.reportinghub.no/test/dpr/testcase/dpr-to-dpr2-runxslt#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sm: <http://topbraid.org/sparqlmotion#> .
@prefix sml: <http://topbraid.org/sparqlmotionlib#> .
@prefix sp: <http://spinrdf.org/sp#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/test/dpr/testcase/dpr-to-dpr2-runxslt>
rdf:type owl:Ontology ;
owl:imports <http://topbraid.org/sparqlmotionfunctions> , <http://topbraid.org/sparqlmotionlib-tbc> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
:ConvertXMLByXSLT_1
rdf:type sml:ConvertXMLByXSLT ;
rdfs:label "Convert XMLBy XSLT 1"^^xsd:string ;
sm:next :SaveTransformResult ;
sm:nodeX 352 ;
sm:nodeY 82 ;
sm:outputVariable "xmlContent"^^xsd:string ;
sml:template
[ sp:varName "stylesheet"^^xsd:string
] ;
sml:xml [ sp:varName "input"^^xsd:string
] .
:ReadStylesheet
rdf:type sml:ImportTextFile ;
rdfs:label "Read stylesheet"^^xsd:string ;
sm:next :ConvertXMLByXSLT_1 ;
sm:nodeX 72 ;
sm:nodeY 19 ;
sm:outputVariable "stylesheet"^^xsd:string ;
sml:sourceFilePath "/www.reportinghub.no/xslt/TRANSFORM_dpr-to-dpr2-v1.0.xsl"^^xsd:string .
:ReadXMLInput
rdf:type sml:ImportTextFile ;
rdfs:label "Read XMLInput"^^xsd:string ;
sm:next :ConvertXMLByXSLT_1 ;
sm:nodeX 623 ;
sm:nodeY 9 ;
sm:outputVariable "input"^^xsd:string ;
sml:sourceFilePath "/www.reportinghub.no/test/dpr/testcase/Field Vega - BAA Vega/tqedits/Daily Production Vega Unit 2012-10-14-ONE-FLOW.xml"^^xsd:string .
:SaveTransformResult
rdf:type sml:ExportToTextFile ;
rdfs:label "Save transform result"^^xsd:string ;
sm:nodeX 354 ;
sm:nodeY 316 ;
sml:replace "true"^^xsd:boolean ;
sml:targetFilePath "/www.reportinghub.no/test/dpr/RESULT-generated-dpr2.xml"^^xsd:string ;
sml:text "{?xmlContent}"^^xsd:string .