Holger Knublauch

Removed company check as requested by Roar

......@@ -22,96 +22,6 @@ arg:kindRef
rdfs:label "kind ref"^^xsd:string ;
rdfs:subPropertyOf sp:arg ;
.
<http://www.epim.no/schemas/mprml/1#Cs_businessAssociate>
spin:constraint [
rdf:type sp:Construct ;
sp:templates (
[
sp:object spin:ConstraintViolation ;
sp:predicate rdf:type ;
sp:subject _:b46474 ;
]
[
sp:object [
sp:varName "message"^^xsd:string ;
] ;
sp:predicate rdfs:label ;
sp:subject _:b46474 ;
]
) ;
sp:where (
[
sp:object [
sp:varName "name"^^xsd:string ;
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#name> ;
sp:subject spin:_this ;
]
[
rdf:type sp:TriplePath ;
sp:object [
sp:varName "role"^^xsd:string ;
] ;
sp:path [
rdf:type sp:SeqPath ;
sp:path1 <http://www.epim.no/schemas/mprml/1#roleRef> ;
sp:path2 <http://www.linkedmodel.org/schema/dtype#value> ;
] ;
sp:subject spin:_this ;
]
[
rdf:type sp:Filter ;
sp:expression [
rdf:type sp:eq ;
sp:arg1 [
rdf:type spif:lowerCase ;
sp:arg1 [
sp:varName "role"^^xsd:string ;
] ;
] ;
sp:arg2 "operating company" ;
] ;
]
[
rdf:type sp:Bind ;
sp:expression [
rdf:type rhspin:companyWithName ;
arg:name [
sp:varName "name"^^xsd:string ;
] ;
] ;
sp:variable [
sp:varName "company"^^xsd:string ;
] ;
]
[
rdf:type sp:Filter ;
sp:expression [
rdf:type sp:not ;
sp:arg1 [
rdf:type sp:bound ;
sp:arg1 [
sp:varName "company"^^xsd:string ;
] ;
] ;
] ;
]
[
rdf:type sp:Bind ;
sp:expression [
rdf:type fn:concat ;
sp:arg1 "Invalid company name " ;
sp:arg2 [
sp:varName "name"^^xsd:string ;
] ;
] ;
sp:variable [
sp:varName "message"^^xsd:string ;
] ;
]
) ;
] ;
.
<http://www.epim.no/schemas/mprml/1#FacilityIdentifierStruct>
spin:constraint [
rdf:type mpr-proxy-constraints:CheckId ;
......