diff --git a/_modules/sssom/parsers.html b/_modules/sssom/parsers.html
index 845e6727..62ea361b 100644
--- a/_modules/sssom/parsers.html
+++ b/_modules/sssom/parsers.html
@@ -991,6 +991,16 @@
Source code for sssom.parsers
try:
m = Mapping(**mdict)
+ if m.subject_type == "rdfs literal":
+ if m.subject_label is None:
+ raise ValueError("Missing subject_label")
+ elif m.subject_id is None:
+ raise ValueError("Missing subject_id")
+ if m.object_type == "rdfs literal":
+ if m.object_label is None:
+ raise ValueError("Missing object_label")
+ elif m.object_id is None:
+ raise ValueError("Missing object_id")
except ValueError as e:
logging.warning(
f"One mapping in the mapping set is not well-formed, "
diff --git a/cli_usage.html b/cli_usage.html
index 7c00fcac..c2305905 100644
--- a/cli_usage.html
+++ b/cli_usage.html
@@ -372,7 +372,7 @@ convert