David Price

replaced smf substring with fn substring function

......@@ -22,7 +22,7 @@
<http://www.reportinghub.no/ep/mpr/spin/1.1/lib>
rdf:type owl:Ontology ;
owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/production-equipment> , <http://www.reportinghub.no/ep/schema/1.0/production-activity> , <http://www.epim.no/schemas/mprml/1> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/production> ;
owl:imports <http://spinrdf.org/spin> , <http://www.epim.no/schemas/mprml/1> , <http://www.reportinghub.no/ep/schema/1.0/production> , <http://www.reportinghub.no/ep/schema/1.0/production-activity> , <http://www.reportinghub.no/ep/schema/1.0/production-equipment> , <http://www.reportinghub.no/ep/spin/1.1/lib> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
ep-mpr-spin-lib:Function
......@@ -2797,75 +2797,75 @@ At present checks only that the start is the first day of the month and that the
sp:expression
[ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 [ rdf:type smf:subString ;
arg:fromIndex 0 ;
arg:toIndex 7 ;
sp:arg1 spin:_arg1
sp:arg1 [ rdf:type fn:substring ;
sp:arg1 spin:_arg1 ;
sp:arg2 0 ;
sp:arg3 7
] ;
sp:arg2 [ rdf:type smf:subString ;
arg:fromIndex 0 ;
arg:toIndex 7 ;
sp:arg1 spin:_arg3
sp:arg2 [ rdf:type fn:substring ;
sp:arg1 spin:_arg3 ;
sp:arg2 0 ;
sp:arg3 7
]
] ;
sp:arg2 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 [ rdf:type smf:subString ;
arg:fromIndex 0 ;
arg:toIndex 7 ;
sp:arg1 spin:_arg2
sp:arg1 [ rdf:type fn:substring ;
sp:arg1 spin:_arg2 ;
sp:arg2 0 ;
sp:arg3 7
] ;
sp:arg2 [ rdf:type smf:subString ;
arg:fromIndex 0 ;
arg:toIndex 7 ;
sp:arg1 spin:_arg3
sp:arg2 [ rdf:type fn:substring ;
sp:arg1 spin:_arg3 ;
sp:arg2 0 ;
sp:arg3 7
]
] ;
sp:arg2 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 [ rdf:type smf:subString ;
arg:fromIndex 8 ;
arg:toIndex 10 ;
sp:arg1 spin:_arg1
sp:arg1 [ rdf:type fn:substring ;
sp:arg1 spin:_arg1 ;
sp:arg2 8 ;
sp:arg3 10
] ;
sp:arg2 "01"
] ;
sp:arg2 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 [ rdf:type smf:subString ;
arg:fromIndex 8 ;
arg:toIndex 10 ;
sp:arg1 spin:_arg2
sp:arg1 [ rdf:type fn:substring ;
sp:arg1 spin:_arg2 ;
sp:arg2 8 ;
sp:arg3 10
] ;
sp:arg2 "31"
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/activity#existsThroughout> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 [ rdf:type smf:subString ;
arg:fromIndex 8 ;
arg:toIndex 10 ;
sp:arg1 spin:_arg2
sp:arg1 [ rdf:type fn:substring ;
sp:arg1 spin:_arg2 ;
sp:arg2 8 ;
sp:arg3 10
] ;
sp:arg2 "30"
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/activity#existsThroughout> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 [ rdf:type smf:subString ;
arg:fromIndex 8 ;
arg:toIndex 10 ;
sp:arg1 spin:_arg2
sp:arg1 [ rdf:type fn:substring ;
sp:arg1 spin:_arg2 ;
sp:arg2 8 ;
sp:arg3 10
] ;
sp:arg2 "29"
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/activity#existsThroughout> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 [ rdf:type smf:subString ;
arg:fromIndex 8 ;
arg:toIndex 10 ;
sp:arg1 spin:_arg2
sp:arg1 [ rdf:type fn:substring ;
sp:arg1 spin:_arg2 ;
sp:arg2 8 ;
sp:arg3 10
] ;
sp:arg2 "28"
] ;
......