if (this.uriColumn != null) {
return new Column(SQL.parseAttribute(this.uriColumn));
}
if (this.uriPattern != null) {
Pattern p = new Pattern(this.uriPattern);
if (!p.literalPartsMatchRegex(MapParser.IRI_CHAR_REGEX)) {
throw new D2RQException("d2rq:uriPattern '"
+ this.uriPattern + "' contains characters not allowed in URIs",
D2RQException.RESOURCEMAP_ILLEGAL_URIPATTERN);
}
return p;