rdfs:comment"A magic property that safely gets the name of a well (variable on the right) from a DDR SXML structure (resource on the left side). This is intentionally named similar to ddr:nameWell because it acts as replacement for it."^^xsd:string;
rdfs:label"name well"^^xsd:string;
rdfs:subClassOfspin:MagicProperties;
spin:body
[rdf:typesp:Select;
sp:resultVariables([sp:varName"name"^^xsd:string
]);
sp:where([sp:object
[sp:varName"ref"^^xsd:string
];
sp:predicateddr:wellAliasRef;
sp:subjectspin:_arg1
][sp:objectddr:WNS_NPDcode;
sp:predicateddr:namingSystemRef;
sp:subject
[sp:varName"ref"^^xsd:string
]
][sp:object
[sp:varName"name"^^xsd:string
];
sp:predicateddr:name;
sp:subject
[sp:varName"ref"^^xsd:string
]
])
];
spin:constraint
[rdf:typespl:Argument;
rdfs:comment"The drill report (left hand side)."^^xsd:string;
spl:predicatesp:arg1;
spl:valueTypeddr:Obj_drillReport
];
spin:returnTypexsd:string.
ep-spin-lib:nameWellbore
rdf:typespin:MagicProperty;
rdfs:comment"A magic property that safely gets the name of a well bore (variable on the right) from a DDR SXML structure (resource on the left side). This is intentionally named similar to ddr:nameWellbore because it acts as replacement for it."^^xsd:string;